Standard input stream backed by a bsl::basic_string character sequence.
Synopsis
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>
Description
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.
Base Classes
Name |
Description |
|
Template class basic_istream. |
Types
Name |
Description |
Performs setup work for input streams. |
Type Aliases
Name |
Description |
This |
|
Alias for the character type of this stream. |
|
This |
|
This |
|
This |
|
This |
Member Functions
Name |
Description |
|
Constructors |
Move‐assign from the specified |
|
Character counting |
|
|
|
|
|
Discarding characters |
|
Right shift operators |
|
Looking ahead in the stream |
|
Unextracting a single character. |
|
Return an address providing modifiable access to the |
|
Extraction without delimiters. |
|
Extraction until the buffer is exhausted, but no more. |
|
|
|
|
|
Efficiently exchange the value of this object with |
|
Synchronizing the stream buffer. |
|
Getting the current read position. |
|
Unextracting the previous character. |
|
Return a view of the internally buffered sequence of characters maintained by this stream object. |
Using Declarations
Name |
Description |
Return the number of characters extracted by the last unformatted input. |
|
Discard characters from the stream (inherited). |
|
Assign from a base |
|
Return the next character without extracting it (inherited). |
|
Push a character back onto the input sequence (inherited). |
|
Extract a block of characters into a buffer (inherited). |
|
Extract available characters into a buffer (inherited). |
|
Prefixed input operations sentry type inherited from |
|
Exchange this stream with another |
|
Synchronize the stream buffer with the underlying sequence (inherited). |
|
Return the current get position in the input sequence (inherited). |
|
Put the most recently extracted character back (inherited). |
Protected Member Functions
Protected Data Members
Name |
Description |
The number of characters extracted in the previous unformatted function; see gcount(). |