Standard input stream backed by a bsl::basic_string character sequence.
Declared in <bslstl_istringstream.h>
template<
class CHAR_TYPE,
class CHAR_TRAITS = char_traits<CHAR_TYPE>,
class ALLOCATOR = allocator<CHAR_TYPE>>
class basic_istringstream
: public std::basic_istream<CHAR_TYPE, CHAR_TRAITS>
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.
| Name | Description |
|---|---|
std::basic_istream<CHAR_TYPE, CHAR_TRAITS> | Template class basic_istream. |
| Name | Description |
|---|---|
sentry | Performs setup work for input streams. |
| Name | Description |
|---|---|
__ctype_type | |
__ios_type | |
__istream_type | |
__num_get_type | |
__streambuf_type | |
allocator_type | This typedef is an alias to the (template parameter) ALLOCATOR. |
char_type | Alias for the character type of this stream. |
int_type | This typedef is an alias to traits_type::int_type. |
off_type | This typedef is an alias to traits_type::off_type. |
pos_type | This typedef is an alias to traits_type::pos_type. |
traits_type | This typedef is an alias to the (template parameter) CHAR_TRAITS. |
| Name | Description |
|---|---|
basic_istringstream [constructor] | Constructors |
operator= | Move-assign from the specified rhs. |
gcount | Character counting |
get | get overloads |
getline | getline overloads |
ignore | Discarding characters |
operator>> | Right shift operators |
peek | Looking ahead in the stream |
putback | Unextracting a single character. |
rdbuf | Return an address providing modifiable access to the basic_stringbuf object that is internally used by this string stream to buffer unformatted characters. |
read | Extraction without delimiters. |
readsome | Extraction until the buffer is exhausted, but no more. |
seekg | seekg overloads |
str | str overloads |
swap | Efficiently exchange the value of this object with other. |
sync | Synchronizing the stream buffer. |
tellg | Getting the current read position. |
unget | Unextracting the previous character. |
view | Return a view of the internally buffered sequence of characters maintained by this stream object. |
| Name | Description |
|---|---|
gcount | Return the number of characters extracted by the last unformatted input. |
ignore | Discard characters from the stream (inherited). |
operator= | Assign from a base basic_istream (inherited). |
peek | Return the next character without extracting it (inherited). |
putback | Push a character back onto the input sequence (inherited). |
read | Extract a block of characters into a buffer (inherited). |
readsome | Extract available characters into a buffer (inherited). |
sentry | Prefixed input operations sentry type inherited from basic_istream. |
swap | Exchange this stream with another basic_istream (inherited). |
sync | Synchronize the stream buffer with the underlying sequence (inherited). |
tellg | Return the current get position in the input sequence (inherited). |
unget | Put the most recently extracted character back (inherited). |
| Name |
|---|
operator= |
_M_extract |
swap |
| Name | Description |
|---|---|
_M_gcount | The number of characters extracted in the previous unformatted function; see gcount(). |
| Name | Description |
|---|---|
swap | Efficiently exchange the values of the specified a and b objects. |