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>
179 int d_initialIndentLevel;
183 int d_spacesPerLevel;
240 const int&
column()
const;
282 static void addCommentImpl(bsl::ostream& stream,
311 template <
class VALUE_TYPE>
313 bsl::ostream& stream,
316 const VALUE_TYPE& value,
317 int valueFormattingMode = 0,
339 bsl::ostream& stream,
342 bool forceNewline =
true);
365 template <
class VALUE_TYPE>
367 bsl::ostream& stream,
369 const VALUE_TYPE& value,
370 int formattingMode = 0,
380 template <
class TYPE>
382 bsl::ostream& stream,
386 int formattingMode = 0,
420 template <
class VALUE_TYPE>
422 bsl::ostream& stream,
424 const VALUE_TYPE& value,
425 int formattingMode = 0,
449 bsl::ostream& stream,
452 bool forceNewline =
true,
453 bool omitEnclosingWhitespace =
false);
473 static bsl::ostream&
flush(bsl::ostream& stream,
State *state);
509, d_initialIndentLevel()
519, d_indentLevel(indentLevel)
520, d_initialIndentLevel(indentLevel)
521, d_spacesPerLevel(spacesPerLevel)
530 int initialIndentLevel,
534, d_indentLevel(indentLevel)
535, d_initialIndentLevel(initialIndentLevel)
536, d_spacesPerLevel(spacesPerLevel)
557 return d_indentLevel;
563 return d_initialIndentLevel;
569 return d_spacesPerLevel;
589 return d_indentLevel;
595 return d_initialIndentLevel;
601 return d_spacesPerLevel;
609template <
class VALUE_TYPE>
611 bsl::ostream& stream,
614 const VALUE_TYPE& value,
619 stream <<
' ' << name <<
"=\"";
630template <
class VALUE_TYPE>
632 bsl::ostream& stream,
634 const VALUE_TYPE& value,
658 bsl::ostream& stream,
666 addData(stream, state, value, formattingMode, encoderOptions);
672template <
class VALUE_TYPE>
674 bsl::ostream& stream,
676 const VALUE_TYPE& value,
Definition balxml_encoderoptions.h:88
Definition bslstl_stringview.h:441
BSLS_KEYWORD_CONSTEXPR size_type length() const BSLS_KEYWORD_NOEXCEPT
Return the length of this view.
Definition bslstl_stringview.h:1685
#define BSLS_IDENT(str)
Definition bsls_ident.h:195
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:1161