![]() |
|
Public Member Functions | |
ISstream (istream &is, const string &name, streamFormat format=ASCII, versionNumber version=currentVersion, compressionType compression=UNCOMPRESSED) | |
Construct as wrapper around istream. | |
virtual | ~ISstream () |
virtual const fileName & | name () const |
Return the name of the stream. | |
virtual fileName & | name () |
Return non-const access to the name of the stream. | |
virtual ios_base::fmtflags | flags () const |
Return flags of output stream. | |
ISstream & | get (char &) |
Raw, low-level get character function. | |
ISstream & | putback (const char &) |
Raw, low-level putback character function. | |
virtual Istream & | read (token &) |
Return next token from stream. | |
virtual Istream & | read (char &) |
Read a character. | |
virtual Istream & | read (word &) |
Read a word. | |
virtual Istream & | read (string &) |
virtual Istream & | read (label &) |
Read a label. | |
virtual Istream & | read (floatScalar &) |
Read a floatScalar. | |
virtual Istream & | read (doubleScalar &) |
Read a doubleScalar. | |
virtual Istream & | read (char *, std::streamsize) |
Read binary block. | |
virtual Istream & | rewind () |
Rewind and return the stream so that it may be read again. | |
virtual ios_base::fmtflags | flags (const ios_base::fmtflags flags) |
Set flags of output stream. | |
virtual void | print (Ostream &) const |
Print description of IOstream to Ostream. | |
Protected Member Functions | |
istream & | stream () |
Return the stream reference. | |
const istream & | stream () const |
Return the const stream reference. |
|
Construct as wrapper around istream.
Definition at line 97 of file ISstream.H. |
|
Definition at line 123 of file ISstream.H. |
|
Set flags of output stream.
|
|
Return flags of output stream.
Implements IOstream. |
|
Raw, low-level get character function.
Definition at line 47 of file ISstreamI.H. |
|
Return non-const access to the name of the stream. Useful to alter the stream name Reimplemented from IOstream. Reimplemented in IFstream. Definition at line 144 of file ISstream.H. |
|
Return the name of the stream. Useful for Fstream to return the filename Reimplemented from IOstream. Reimplemented in IFstream. Definition at line 135 of file ISstream.H. |
|
Print description of IOstream to Ostream.
Reimplemented from IOstream. Reimplemented in IFstream, and IStringStream. |
|
Raw, low-level putback character function.
Definition at line 61 of file ISstreamI.H. References IOstream::setBad(). |
Here is the call graph for this function:
|
Read binary block.
Implements Istream. |
|
Read a doubleScalar.
Implements Istream. |
|
Read a floatScalar.
Implements Istream. |
|
Read a label.
Implements Istream. |
|
Implements Istream. |
|
Read a word.
Implements Istream. |
|
Read a character.
Implements Istream. |
|
Return next token from stream.
Implements Istream. |
|
Rewind and return the stream so that it may be read again.
Implements Istream. |
|
Return the const stream reference.
Definition at line 85 of file ISstream.H. |
|
Return the stream reference.
Definition at line 79 of file ISstream.H. |