Quick Links: |
#include <bslstl_ostringstream.h>
Public Types | |
typedef CHAR_TYPE | char_type |
typedef CHAR_TRAITS | traits_type |
typedef ALLOCATOR | allocator_type |
typedef traits_type::int_type | int_type |
typedef traits_type::off_type | off_type |
typedef traits_type::pos_type | pos_type |
Public Member Functions | |
basic_ostringstream (const allocator_type &allocator=allocator_type()) | |
basic_ostringstream (ios_base::openmode modeBitMask, const allocator_type &allocator=allocator_type()) | |
basic_ostringstream (const StringType &initialString, const allocator_type &allocator=allocator_type()) | |
basic_ostringstream (const StringType &initialString, ios_base::openmode modeBitMask, const allocator_type &allocator=allocator_type()) | |
basic_ostringstream (BloombergLP::bslmf::MovableRef< StringType > initialString) | |
basic_ostringstream (BloombergLP::bslmf::MovableRef< StringType > initialString, const allocator_type &allocator) | |
basic_ostringstream (BloombergLP::bslmf::MovableRef< StringType > initialString, ios_base::openmode modeBitMask) | |
basic_ostringstream (BloombergLP::bslmf::MovableRef< StringType > initialString, ios_base::openmode modeBitMask, const allocator_type &allocator) | |
template<class SALLOC > | |
basic_ostringstream (const bsl::basic_string< CHAR_TYPE, CHAR_TRAITS, SALLOC > &initialString, const allocator_type &allocator=allocator_type(), typename bsl::enable_if< !bsl::is_same< ALLOCATOR, SALLOC >::value, void * >::type=0) | |
template<class SALLOC > | |
basic_ostringstream (const bsl::basic_string< CHAR_TYPE, CHAR_TRAITS, SALLOC > &initialString, ios_base::openmode modeBitMask, const allocator_type &allocator=allocator_type(), typename bsl::enable_if< !bsl::is_same< ALLOCATOR, SALLOC >::value, void * >::type=0) | |
~basic_ostringstream () | |
void | str (const StringType &value) |
void | str (BloombergLP::bslmf::MovableRef< StringType > value) |
template<class SALLOC > | |
bsl::enable_if<!bsl::is_same < ALLOCATOR, SALLOC >::value, void >::type | str (const basic_string< CHAR_TYPE, CHAR_TRAITS, SALLOC > &value) |
void | swap (basic_ostringstream &other) |
allocator_type | get_allocator () const BSLS_KEYWORD_NOEXCEPT |
StreamBufType * | rdbuf () const |
StringType | str () const |
template<class SALLOC > | |
bsl::enable_if < bsl::IsStdAllocator< SALLOC > ::value, basic_string < CHAR_TYPE, CHAR_TRAITS, SALLOC > >::type | str (const SALLOC &allocator) const |
ViewType | view () const BSLS_KEYWORD_NOEXCEPT |
Private Member Functions | |
void | swap (StringBufContainer &other) |
This class implements a standard output stream that provides an accessor for obtaining a bsl::basic_string
containing the sequence of characters that have been written to the stream.
See Component bslstl_ostringstream