Quick Links:

bal | bbl | bdl | bsl

Public Types | Public Member Functions | Private Member Functions

bsl::basic_ostringstream< CHAR_TYPE, CHAR_TRAITS, ALLOCATOR > Class Template Reference
[Component bslstl_ostringstream]

#include <bslstl_ostringstream.h>

Inheritance diagram for bsl::basic_ostringstream< 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_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
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_ostringstream< CHAR_TYPE, CHAR_TRAITS, ALLOCATOR >

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


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