|
| basic_istringstream (const allocator_type &allocator=allocator_type()) |
|
| basic_istringstream (ios_base::openmode modeBitMask, const allocator_type &allocator=allocator_type()) |
|
| basic_istringstream (const StringType &initialString, const allocator_type &allocator=allocator_type()) |
|
| basic_istringstream (const StringType &initialString, ios_base::openmode modeBitMask, const allocator_type &allocator=allocator_type()) |
|
| basic_istringstream (BloombergLP::bslmf::MovableRef< StringType > initialString) |
|
| basic_istringstream (BloombergLP::bslmf::MovableRef< StringType > initialString, const allocator_type &allocator) |
|
| basic_istringstream (BloombergLP::bslmf::MovableRef< StringType > initialString, ios_base::openmode modeBitMask) |
|
| basic_istringstream (BloombergLP::bslmf::MovableRef< StringType > initialString, ios_base::openmode modeBitMask, const allocator_type &allocator) |
|
template<class SALLOC > |
| basic_istringstream (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_istringstream (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_istringstream ()=default |
|
void | str (const StringType &value) |
|
void | str (BloombergLP::bslmf::MovableRef< StringType > value) |
| Note: implemented inline due to Sun CC compilation error.
|
|
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 |
|
template<class CHAR_TYPE, class CHAR_TRAITS, class ALLOCATOR>
class bsl::basic_istringstream< CHAR_TYPE, CHAR_TRAITS, ALLOCATOR >
This class implements a standard input stream that provides a constructor and manipulator for setting the sequence of characters from which input is streamed to a supplied bsl::basic_string
.
template<class CHAR_TYPE , class CHAR_TRAITS , class ALLOCATOR >
Create a basic_istringstream object. Optionally specify a modeBitMask
indicating whether the underlying stream-buffer may also be written to (rdbuf
is created using modeBitMask | ios_base::in
). If modeBitMask
is not supplied, rdbuf
will be created using ios_base::in
. Optionally specify an initialString
indicating the sequence of characters from which input will be streamed. If initialString
is not supplied, there will not be data to stream (until a subsequent call to the str
manipulator). Optionally specify the allocator
used to supply memory. If allocator
is not supplied, a default-constructed object of the (template parameter) ALLOCATOR
type is used. If the ALLOCATOR
argument is of type bsl::allocator
(the default), then allocator
, if supplied, shall be convertible to bslma::Allocator *
. If the ALLOCATOR
argument is of type bsl::allocator
and allocator
is not supplied, the currently installed default allocator will be used to supply memory. If initialString
is passed by MovableRef
, it is left in a valid but unspecified state.
template<class CHAR_TYPE , class CHAR_TRAITS , class ALLOCATOR >
template<class SALLOC >
Create a basic_istringstream object. Use the specified initialString
indicating the sequence of characters from which input will be streamed. rdbuf
is created using ios_base::in
. Optionally specify the allocator
used to supply memory. If allocator
is not supplied, a default-constructed object of the (template parameter) ALLOCATOR
type is used. If the ALLOCATOR
argument is of type bsl::allocator
(the default), then allocator
, if supplied, shall be convertible to bslma::Allocator *
. If the ALLOCATOR
argument is of type bsl::allocator
and allocator
is not supplied, the currently installed default allocator will be used to supply memory.
Note: implemented inline due to Sun CC compilation error.
template<class CHAR_TYPE , class CHAR_TRAITS , class ALLOCATOR >
template<class SALLOC >
Create a basic_istringstream object. Use the specified initialString
indicating the sequence of characters from which input will be streamed. Use the specified modeBitMask
to indicate whether this buffer may be read from, written to, or both. Optionally specify the allocator
used to supply memory. If allocator
is not supplied, a default-constructed object of the (template parameter) ALLOCATOR
type is used. If the ALLOCATOR
argument is of type bsl::allocator
(the default), then allocator
, if supplied, shall be convertible to bslma::Allocator *
. If the ALLOCATOR
argument is of type bsl::allocator
and allocator
is not supplied, the currently installed default allocator will be used to supply memory.
Note: implemented inline due to Sun CC compilation error.