![]() |
Rosetta Utilities
2015.25
|
icstream: Input channel stream wrapper class More...
#include <icstream.hh>
Public Member Functions | |
| icstream (std::istream &i_stream_a) | |
| Constructor. More... | |
| virtual | ~icstream () |
| Destructor. More... | |
| operator bool () const | |
| bool conversion More... | |
| operator std::istream const & () const | |
| Stream conversion. More... | |
| operator std::istream & () | |
| Stream conversion. More... | |
| template<typename T > | |
| icstream & | operator>> (T &t) |
| Stream input: Override to preserve type of return value. More... | |
| std::istream & | operator>> (std_manipulator m) |
| Stream manipulator input. More... | |
| void | seek_beg () |
| Seek to the beginning. More... | |
| int | get () |
| Get the next character. More... | |
| icstream & | get (char &c) |
| Get the next character. More... | |
| icstream & | get (char *str, std::streamsize const count) |
| Get the next specified number of characters. More... | |
| icstream & | get (char *str, std::streamsize const count, char const delim) |
| Get the next specified number of characters. More... | |
| icstream & | get (std::string &str, std::streamsize const count) |
| Get the next specified number of characters. More... | |
| icstream & | get (std::string &str, std::streamsize const count, char const delim) |
| Get the next specified number of characters. More... | |
| icstream & | getline (char *line, std::streamsize const count) |
| Get the rest of the line. More... | |
| icstream & | getline (char *line, std::streamsize const count, char const delim) |
| Get the rest of the line. More... | |
| icstream & | getline (std::string &line) |
| Get the rest of the line. More... | |
| icstream & | getline (std::string &line, char const delim) |
| Get the rest of the line. More... | |
| icstream & | read (char *str, std::streamsize const count) |
| Read the next specified number of characters. More... | |
| icstream & | read (std::string &str, std::streamsize const count) |
| Read the next specified number of characters. More... | |
| std::streamsize | readsome (char *str, std::streamsize const count) |
| Read the next available specified number of characters. More... | |
| std::streamsize | readsome (std::string &str, std::streamsize const count) |
| Read the next available specified number of characters. More... | |
| icstream & | ignore () |
| Skip over the next character. More... | |
| icstream & | ignore (std::streamsize const count) |
| Skip over the next specified number of characters. More... | |
| icstream & | ignore (std::streamsize const count, char const delim) |
| Skip over the next specified number of characters. More... | |
| int | peek () |
| Returns the next character without extracting it. More... | |
| icstream & | unget () |
| Put the last character read back into the stream. More... | |
| icstream & | putback (char c) |
| Put the last character read back into the stream and check that passed character is correct. More... | |
| void | clear () |
| Clear the stream. More... | |
| std::istream const & | operator() () const |
| Stream access. More... | |
| std::istream & | operator() () |
| Stream access. More... | |
| std::istream const & | stream () const |
| Stream access. More... | |
| std::istream & | stream () |
| Stream access. More... | |
| std::streambuf * | rdbuf () const |
| Pointer to the stream buffer. More... | |
| bool | good () const |
| Good? More... | |
| bool | eof () const |
| End of file? More... | |
| bool | fail () const |
| Fail? More... | |
| bool | bad () const |
| Bad? More... | |
| bool | compressed () const |
| Compressed? More... | |
| bool | uncompressed () const |
| Uncompressed? More... | |
| bool | gzipped () const |
| gzipped? More... | |
Public Member Functions inherited from utility::io::irstream | |
| virtual | ~irstream () |
| Destructor. More... | |
| template<typename T > | |
| irstream & | operator>> (T &t) |
| Stream input. More... | |
Private Attributes | |
| std::istream & | i_stream_ |
| Input stream reference. More... | |
Additional Inherited Members | |
Protected Types inherited from utility::io::irstream | |
| typedef std::istream &(* | std_manipulator )(std::istream &) |
Protected Member Functions inherited from utility::io::irstream | |
| irstream () | |
| Default constructor. More... | |
icstream: Input channel stream wrapper class
|
inline |
Constructor.
|
inlinevirtual |
Destructor.
|
inlinevirtual |
|
inlinevirtual |
Clear the stream.
Implements utility::io::irstream.
References i_stream_.
Referenced by utility::signals::PausableSignalHub< ResultType, Signal >::after_send().
|
inlinevirtual |
Compressed?
Implements utility::io::irstream.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Get the rest of the line.
Implements utility::io::irstream.
References utility::io::getline(), and stream().
|
inlinevirtual |
Get the rest of the line.
Implements utility::io::irstream.
References utility::io::getline(), and stream().
|
inlinevirtual |
|
inlinevirtual |
gzipped?
Implements utility::io::irstream.
|
inlinevirtual |
|
inlinevirtual |
Skip over the next specified number of characters.
Implements utility::io::irstream.
References stream().
|
inlinevirtual |
Skip over the next specified number of characters.
Implements utility::io::irstream.
References stream().
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inline |
Stream input: Override to preserve type of return value.
References i_stream_.
|
inlinevirtual |
Stream manipulator input.
Implements utility::io::irstream.
|
inlinevirtual |
Returns the next character without extracting it.
Implements utility::io::irstream.
References stream().
|
inlinevirtual |
Put the last character read back into the stream and check that passed character is correct.
Implements utility::io::irstream.
References stream().
|
inlinevirtual |
|
inlinevirtual |
Read the next specified number of characters.
Implements utility::io::irstream.
References stream().
|
inlinevirtual |
Read the next specified number of characters.
Implements utility::io::irstream.
References stream().
|
inlinevirtual |
Read the next available specified number of characters.
Implements utility::io::irstream.
References stream().
|
inlinevirtual |
Read the next available specified number of characters.
Implements utility::io::irstream.
References stream().
|
inlinevirtual |
|
inlinevirtual |
Stream access.
Implements utility::io::irstream.
References i_stream_.
Referenced by get(), getline(), ignore(), peek(), putback(), read(), readsome(), seek_beg(), and unget().
|
inlinevirtual |
|
inlinevirtual |
Uncompressed?
Implements utility::io::irstream.
|
inlinevirtual |
Put the last character read back into the stream.
Implements utility::io::irstream.
References stream().
|
private |
Input stream reference.
Referenced by bad(), clear(), eof(), fail(), good(), operator bool(), operator std::istream &(), operator std::istream const &(), operator()(), operator>>(), rdbuf(), and stream().
1.8.7