Inheritance diagram for std::basic_istringstream< _CharT, _Traits, _Alloc >:
Public Types | |
typedef _CharT | char_type |
typedef _Traits | traits_type |
typedef traits_type::int_type | int_type |
typedef traits_type::pos_type | pos_type |
typedef traits_type::off_type | off_type |
Public Methods | |
basic_istringstream (ios_base::openmode __mode=ios_base::in) | |
Default constructor starts with an empty string buffer. | |
basic_istringstream (const __string_type &__str, ios_base::openmode __mode=ios_base::in) | |
Starts with an existing string buffer. | |
~basic_istringstream () | |
The destructor does nothing. | |
__stringbuf_type * | rdbuf () const |
Accessing the underlying buffer. | |
__string_type | str () const |
Copying out the string buffer. | |
void | str (const __string_type &__s) |
Setting a new buffer. |
This class supports reading from objects of type std::basic_string, using the inherited functions from std::basic_istream. To control the associated sequence, an instance of std::basic_stringbuf is used, which this page refers to as sb.
Definition at line 288 of file sstream.
|
These are standard types. They permit a standardized way of referring to names of (or names dependant on) the template parameters, which are specific to the implementation. Reimplemented from std::basic_istream< _CharT, _Traits > . |
|
These are standard types. They permit a standardized way of referring to names of (or names dependant on) the template parameters, which are specific to the implementation. Reimplemented from std::basic_istream< _CharT, _Traits > . |
|
These are standard types. They permit a standardized way of referring to names of (or names dependant on) the template parameters, which are specific to the implementation. Reimplemented from std::basic_istream< _CharT, _Traits > . |
|
These are standard types. They permit a standardized way of referring to names of (or names dependant on) the template parameters, which are specific to the implementation. Reimplemented from std::basic_istream< _CharT, _Traits > . |
|
These are standard types. They permit a standardized way of referring to names of (or names dependant on) the template parameters, which are specific to the implementation. Reimplemented from std::basic_istream< _CharT, _Traits > . |
|
Default constructor starts with an empty string buffer.
ios_base::in is automatically included in mode.
Initializes Definition at line 333 of file sstream. References std::ios_base::in , and std::basic_ios< _CharT, _Traits >::init() . |
|
Starts with an existing string buffer.
ios_base::in is automatically included in mode.
Initializes Definition at line 353 of file sstream. References std::ios_base::in , and std::basic_ios< _CharT, _Traits >::init() . |
|
The destructor does nothing. The buffer is deallocated by the stringbuf object, not the formatting stream. |
|
Accessing the underlying buffer.
Reimplemented from std::basic_ios< _CharT, _Traits > . |
|
Setting a new buffer.
rdbuf()->str(s).
|
|
Copying out the string buffer.
|