Quick Links: |
#include <bslstl_stringstream.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_stringstream (const allocator_type &allocator=allocator_type()) | |
basic_stringstream (ios_base::openmode modeBitMask, const allocator_type &allocator=allocator_type()) | |
basic_stringstream (const StringType &initialString, const allocator_type &allocator=allocator_type()) | |
basic_stringstream (const StringType &initialString, ios_base::openmode modeBitMask, const allocator_type &allocator=allocator_type()) | |
basic_stringstream (BloombergLP::bslmf::MovableRef< StringType > initialString) | |
basic_stringstream (BloombergLP::bslmf::MovableRef< StringType > initialString, const allocator_type &allocator) | |
basic_stringstream (BloombergLP::bslmf::MovableRef< StringType > initialString, ios_base::openmode modeBitMask) | |
basic_stringstream (BloombergLP::bslmf::MovableRef< StringType > initialString, ios_base::openmode modeBitMask, const allocator_type &allocator) | |
template<class SALLOC > | |
basic_stringstream (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_stringstream (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_stringstream () | |
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) |
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 stream providing operations using bsl::basic_string
for modifying or accessing the sequence of characters read from, or written to, the stream.
See Component bslstl_stringstream