![]() |
VCCC
2024.05
VisualCamp Common C++ library
|
#include <vccc/__log/stream_wrapper.hpp>
| CharT | |
| String | |
| Stream |
Public Types | |
| using | stream_type = Stream |
| using | string_type = String |
| using | traits_type = typename stream_type::traits_type |
Public Member Functions | |
| const string_type & | separator () const |
| Get current separator. More... | |
| string_type | separator (string_type new_separator) |
| Set current separator. More... | |
| VCCC_NODISCARD bool | quote_string () const noexcept |
| void | quote_string (bool new_value) noexcept |
| VCCC_NODISCARD bool | expand_aggregate () const noexcept |
| void | expand_aggregate (bool new_value) noexcept |
| VCCC_NODISCARD bool | expand_array () |
| void | expand_array (bool new_value) |
Static Public Member Functions | |
| static string_type & | global_separator () |
| Get global separator. More... | |
Protected Attributes | |
| struct { | |
| string_type separator_ = global_separator() | |
| bool first_ = true | |
| bool quote_string_ = GlobalStreamWrapperSettings::quote_string() | |
| bool expand_aggregate_ = GlobalStreamWrapperSettings::expand_aggregate() | |
| bool expand_array_ = GlobalStreamWrapperSettings::expand_array() | |
| }; | |
| using stream_type = Stream |
| using string_type = String |
| using traits_type = typename stream_type::traits_type |
|
inlinenoexcept |
|
inlinenoexcept |
|
inline |
|
inline |
|
inlinestatic |
Default value is an empty string
|
inlinenoexcept |
|
inlinenoexcept |
|
inline |
Default-initialized with StreamWrapperBase::global_separator()
|
inline |
Set current separator with new value and return the previous one
| struct { ... } |
| bool expand_aggregate_ = GlobalStreamWrapperSettings::expand_aggregate() |
| bool expand_array_ = GlobalStreamWrapperSettings::expand_array() |
| bool first_ = true |
| bool quote_string_ = GlobalStreamWrapperSettings::quote_string() |
| string_type separator_ = global_separator() |