Quick Links:

bal | bbl | bdl | bsl

Public Types | Public Member Functions | Private Member Functions

bsl::basic_stringstream< CHAR_TYPE, CHAR_TRAITS, ALLOCATOR > Class Template Reference
[Component bslstl_stringstream]

#include <bslstl_stringstream.h>

Inheritance diagram for bsl::basic_stringstream< CHAR_TYPE, CHAR_TRAITS, ALLOCATOR >:
bsl::StringBufContainer< CHAR_TYPE, CHAR_TRAITS, ALLOCATOR >

List of all members.

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)
StreamBufTyperdbuf () 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)

Detailed Description

template<class CHAR_TYPE, class CHAR_TRAITS, class ALLOCATOR>
class bsl::basic_stringstream< CHAR_TYPE, CHAR_TRAITS, ALLOCATOR >

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


The documentation for this class was generated from the following file: