Rosetta
|
icstream: Input channel stream wrapper class More...
#include <icstream.hh>
Public Member Functions | |
icstream (std::istream &i_stream_a) | |
Constructor. More... | |
operator bool () const override | |
bool conversion More... | |
operator std::istream const & () const override | |
Stream conversion. More... | |
operator std::istream & () override | |
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) override |
Stream manipulator input. More... | |
void | seek_beg () override |
Seek to the beginning. More... | |
int | get () override |
Get the next character. More... | |
icstream & | get (char &c) override |
Get the next character. More... | |
icstream & | get (char *str, std::streamsize const count) override |
Get the next specified number of characters. More... | |
icstream & | get (char *str, std::streamsize const count, char const delim) override |
Get the next specified number of characters. More... | |
icstream & | get (std::string &str, std::streamsize const count) override |
Get the next specified number of characters. More... | |
icstream & | get (std::string &str, std::streamsize const count, char const delim) override |
Get the next specified number of characters. More... | |
icstream & | getline (char *line, std::streamsize const count) override |
Get the rest of the line. More... | |
icstream & | getline (char *line, std::streamsize const count, char const delim) override |
Get the rest of the line. More... | |
icstream & | getline (std::string &line) override |
Get the rest of the line. More... | |
icstream & | getline (std::string &line, char const delim) override |
Get the rest of the line. More... | |
icstream & | read (char *str, std::streamsize const count) override |
Read the next specified number of characters. More... | |
icstream & | read (std::string &str, std::streamsize const count) override |
Read the next specified number of characters. More... | |
std::streamsize | readsome (char *str, std::streamsize const count) override |
Read the next available specified number of characters. More... | |
std::streamsize | readsome (std::string &str, std::streamsize const count) override |
Read the next available specified number of characters. More... | |
icstream & | ignore () override |
Skip over the next character. More... | |
icstream & | ignore (std::streamsize const count) override |
Skip over the next specified number of characters. More... | |
icstream & | ignore (std::streamsize const count, char const delim) override |
Skip over the next specified number of characters. More... | |
int | peek () override |
Returns the next character without extracting it. More... | |
icstream & | unget () override |
Put the last character read back into the stream. More... | |
icstream & | putback (char c) override |
Put the last character read back into the stream and check that passed character is correct. More... | |
void | clear () override |
Clear the stream. More... | |
std::istream const & | operator() () const override |
Stream access. More... | |
std::istream & | operator() () override |
Stream access. More... | |
std::istream const & | stream () const override |
Stream access. More... | |
std::istream & | stream () override |
Stream access. More... | |
std::streambuf * | rdbuf () const override |
Pointer to the stream buffer. More... | |
bool | good () const override |
Good? More... | |
bool | eof () const override |
End of file? More... | |
bool | fail () const override |
Fail? More... | |
bool | bad () const override |
Bad? More... | |
bool | compressed () const override |
Compressed? More... | |
bool | uncompressed () const override |
Uncompressed? More... | |
bool | gzipped () const override |
gzipped? More... | |
![]() | |
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 | |
![]() | |
typedef std::istream &(* | std_manipulator) (std::istream &) |
![]() | |
irstream ()=default | |
Default constructor. More... | |
icstream: Input channel stream wrapper class
|
inline |
Constructor.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Clear the stream.
Implements utility::io::irstream.
References i_stream_.
Referenced by utility::signals::PausableSignalHub< ReturnType, Signal >::after_send(), and pyrosetta.bindings.pose.ResidueLabelAccessor::discard().
|
inlineoverridevirtual |
Compressed?
Implements utility::io::irstream.
Referenced by pyrosetta.distributed.cluster.io.IO::_save_results().
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Get the next character.
Implements utility::io::irstream.
References kmeans_adaptive_kernel_density_bb_dependent_rotlib::c, and stream().
|
inlineoverridevirtual |
Get the next specified number of characters.
Implements utility::io::irstream.
|
inlineoverridevirtual |
Get the next specified number of characters.
Implements utility::io::irstream.
|
inlineoverridevirtual |
Get the next specified number of characters.
Implements utility::io::irstream.
References count, basic::options::OptionKeys::cp::cp, str(), and stream().
|
inlineoverridevirtual |
Get the next specified number of characters.
Implements utility::io::irstream.
References count, basic::options::OptionKeys::cp::cp, str(), and stream().
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Get the rest of the line.
Implements utility::io::irstream.
|
inlineoverridevirtual |
Get the rest of the line.
Implements utility::io::irstream.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
gzipped?
Implements utility::io::irstream.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Skip over the next specified number of characters.
Implements utility::io::irstream.
|
inlineoverridevirtual |
Skip over the next specified number of characters.
Implements utility::io::irstream.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Stream manipulator input.
Implements utility::io::irstream.
References kmeans_adaptive_kernel_density_bb_dependent_rotlib::m.
Stream input: Override to preserve type of return value.
References i_stream_, and predPRE::t.
|
inlineoverridevirtual |
Returns the next character without extracting it.
Implements utility::io::irstream.
References stream().
|
inlineoverridevirtual |
Put the last character read back into the stream and check that passed character is correct.
Implements utility::io::irstream.
References kmeans_adaptive_kernel_density_bb_dependent_rotlib::c, and stream().
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Read the next specified number of characters.
Implements utility::io::irstream.
|
inlineoverridevirtual |
Read the next specified number of characters.
Implements utility::io::irstream.
References count, basic::options::OptionKeys::cp::cp, str(), and stream().
|
inlineoverridevirtual |
Read the next available specified number of characters.
Implements utility::io::irstream.
|
inlineoverridevirtual |
Read the next available specified number of characters.
Implements utility::io::irstream.
References count, basic::options::OptionKeys::cp::cp, str(), and stream().
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Stream access.
Implements utility::io::irstream.
References i_stream_.
Referenced by get(), getline(), ignore(), peek(), putback(), read(), readsome(), seek_beg(), and unget().
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Uncompressed?
Implements utility::io::irstream.
|
inlineoverridevirtual |
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().