std::istrstream (3) - Linux Manuals
std::istrstream: std::istrstream
NAME
std::istrstream - std::istrstream
Synopsis
Defined in header <strstream>
class istrstream : public std::istream (deprecated in C++98)
The class istrstream implements input operations on array-backed streams. It essentially wraps a raw array I/O device implementation (std::strstreambuf) into the higher-level interface of std::basic_istream.
The typical implementation of istrstream holds only one non-derived data member: an object of type std::strstreambuf.
Notes
istrstream has been deprecated since C++98, std::istringstream and boost::iostreams::array_source are the recommended replacements.
Member functions
constructor (public member function)
destructor destructs a strstream, optionally deallocating the buffer
[virtual]
rdbuf (public member function)
str (public member function)
Inherited from std::basic_istream
Member functions
Formatted input
operator>> (public member function of std::basic_istream<CharT,Traits>)
Unformatted input
get (public member function of std::basic_istream<CharT,Traits>)
peek (public member function of std::basic_istream<CharT,Traits>)
unget (public member function of std::basic_istream<CharT,Traits>)
putback (public member function of std::basic_istream<CharT,Traits>)
getline (public member function of std::basic_istream<CharT,Traits>)
ignore (public member function of std::basic_istream<CharT,Traits>)
read (public member function of std::basic_istream<CharT,Traits>)
readsome (public member function of std::basic_istream<CharT,Traits>)
gcount (public member function of std::basic_istream<CharT,Traits>)
Positioning
tellg (public member function of std::basic_istream<CharT,Traits>)
seekg (public member function of std::basic_istream<CharT,Traits>)
Miscellaneous
sync (public member function of std::basic_istream<CharT,Traits>)
Member classes
sentry (public member class of std::basic_istream<CharT,Traits>)
Inherited from std::basic_ios
Member types
Member type Definition
char_type CharT
traits_type Traits
int_type Traits::int_type
pos_type Traits::pos_type
off_type Traits::off_type
Member functions
State functions
good (public member function of std::basic_ios<CharT,Traits>)
eof (public member function of std::basic_ios<CharT,Traits>)
fail (public member function of std::basic_ios<CharT,Traits>)
bad (public member function of std::basic_ios<CharT,Traits>)