8#ifndef INCLUDED_BALXML_FORMATTER_COMPACTIMPL
9#define INCLUDED_BALXML_FORMATTER_COMPACTIMPL
63#include <balscm_version.h>
69#include <bsl_ostream.h>
70#include <bsl_string_view.h>
183 int d_initialIndentLevel;
187 int d_spacesPerLevel;
244 const int&
column()
const;
289 static void addCommentImpl(bsl::ostream& stream,
319 template <
class VALUE_TYPE>
321 bsl::ostream& stream,
324 const VALUE_TYPE& value,
325 int valueFormattingMode = 0,
347 bsl::ostream& stream,
350 bool forceNewline =
true);
374 template <
class VALUE_TYPE>
376 bsl::ostream& stream,
378 const VALUE_TYPE& value,
379 int formattingMode = 0,
389 template <
class TYPE>
391 bsl::ostream& stream,
395 int formattingMode = 0,
431 template <
class VALUE_TYPE>
433 bsl::ostream& stream,
435 const VALUE_TYPE& value,
436 int formattingMode = 0,
461 bsl::ostream& stream,
464 bool forceNewline =
true,
465 bool omitEnclosingWhitespace =
false);
486 static bsl::ostream&
flush(bsl::ostream& stream,
State *state);
523, d_initialIndentLevel()
533, d_indentLevel(indentLevel)
534, d_initialIndentLevel(indentLevel)
535, d_spacesPerLevel(spacesPerLevel)
544 int initialIndentLevel,
548, d_indentLevel(indentLevel)
549, d_initialIndentLevel(initialIndentLevel)
550, d_spacesPerLevel(spacesPerLevel)
571 return d_indentLevel;
577 return d_initialIndentLevel;
583 return d_spacesPerLevel;
603 return d_indentLevel;
609 return d_initialIndentLevel;
615 return d_spacesPerLevel;
623template <
class VALUE_TYPE>
625 bsl::ostream& stream,
628 const VALUE_TYPE& value,
633 stream <<
' ' << name <<
"=\"";
644template <
class VALUE_TYPE>
646 bsl::ostream& stream,
648 const VALUE_TYPE& value,
672 bsl::ostream& stream,
680 addData(stream, state, value, formattingMode, encoderOptions);
686template <
class VALUE_TYPE>
688 bsl::ostream& stream,
690 const VALUE_TYPE& value,
Definition balxml_encoderoptions.h:89
Definition bslstl_stringview.h:471
BSLS_KEYWORD_CONSTEXPR size_type length() const BSLS_KEYWORD_NOEXCEPT
Return the length of this view.
Definition bslstl_stringview.h:1913
#define BSLS_IDENT(str)
BSLS_IDENT() - insert string into .comment binary segment (if supported)
Definition bsls_ident.h:238
Definition balxml_base64parser.h:150
static bsl::ostream & print(bsl::ostream &stream, const TYPE &object, int formattingMode, const EncoderOptions *encoderOptions=0)
Definition balxml_typesprintutil.h:1166