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.
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>
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 |
Assign to this object the value of the specified |
|
Character counting |
|
|
|
String extraction. |
|
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. |
|
Changing the current read position. |
|
|
|
Efficiently exchange the value of this object with the value of the specified |
|
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. |
Protected Member Functions
Protected Data Members
Name |
Description |
The number of characters extracted in the previous unformatted function; see gcount(). |
Non-Member Functions
Name |
Description |
Efficiently exchange the values of the specified |
Created with MrDocs