![]() |
|
Public Member Functions | |
ITstream (const string &name, const tokenList &tokens, streamFormat format=ASCII, versionNumber version=currentVersion) | |
Construct from components. | |
ITstream (const ITstream &its) | |
Construct as copy. | |
const fileName & | name () const |
Return the name of the stream. | |
fileName & | name () |
Return non-const access to the name of the stream. | |
label | tokenIndex () const |
Return the current token index. | |
label | nRemainingTokens () const |
Return the number of remaining tokens. | |
ios_base::fmtflags | flags () const |
Return flags of output stream. | |
Istream & | read (token &) |
Return next token from stream. | |
Istream & | read (char &) |
Read a character. | |
Istream & | read (word &) |
Read a word. | |
Istream & | read (string &) |
Istream & | read (label &) |
Read a label. | |
Istream & | read (floatScalar &) |
Read a floatScalar. | |
Istream & | read (doubleScalar &) |
Read a doubleScalar. | |
Istream & | read (char *, std::streamsize) |
Read binary block. | |
Istream & | rewind () |
Rewind and return the stream so that it may be read again. | |
ios_base::fmtflags | flags (const ios_base::fmtflags) |
Set flags of stream. | |
void | print (Ostream &) const |
Print description of IOstream to Ostream. |
|
Construct from components.
Definition at line 79 of file ITstream.H. |
|
Construct as copy.
Definition at line 97 of file ITstream.H. |
|
Set flags of stream.
Definition at line 177 of file ITstream.H. |
|
Return flags of output stream.
Implements IOstream. Definition at line 138 of file ITstream.H. |
|
Return non-const access to the name of the stream.
Reimplemented from IOstream. Reimplemented in primitiveEntry. Definition at line 120 of file ITstream.H. |
|
Return the name of the stream.
Reimplemented from IOstream. Reimplemented in primitiveEntry. Definition at line 114 of file ITstream.H. |
|
Return the number of remaining tokens.
Definition at line 132 of file ITstream.H. |
|
Print description of IOstream to Ostream.
Reimplemented from IOstream. |
|
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 current token index.
Definition at line 126 of file ITstream.H. References Foam::size(). |
Here is the call graph for this function: