|
|


Public Member Functions | |
| Istream (streamFormat format=ASCII, versionNumber version=currentVersion, compressionType compression=UNCOMPRESSED) | |
| Set stream status. | |
| virtual | ~Istream () |
| void | putBack (const token &) |
| Put back token. | |
| bool | getBack (token &) |
| Get the put back token. | |
| virtual Istream & | read (token &)=0 |
| Return next token from stream. | |
| virtual Istream & | read (char &)=0 |
| Read a character. | |
| virtual Istream & | read (word &)=0 |
| Read a word. | |
| virtual Istream & | read (string &)=0 |
| virtual Istream & | read (label &)=0 |
| Read a label. | |
| virtual Istream & | read (floatScalar &)=0 |
| Read a floatScalar. | |
| virtual Istream & | read (doubleScalar &)=0 |
| Read a doubleScalar. | |
| virtual Istream & | read (char *, std::streamsize)=0 |
| Read binary block. | |
| virtual Istream & | rewind ()=0 |
| Rewind and return the stream so that it may be read again. | |
| Istream & | readBegin (const char *funcName) |
| Istream & | readEnd (const char *funcName) |
| Istream & | readEndBegin (const char *funcName) |
| char | readBeginList (const char *funcName) |
| char | readEndList (const char *funcName) |
| Istream & | operator() () const |
| Return a non-const reference to const Istream. | |
|
||||||||||||||||
|
Set stream status.
|
|
|
|
|
|
Get the put back token.
|
|
|
Return a non-const reference to const Istream. Needed for read-constructors where the stream argument is temporary: e.g. thing thisThing(IFstream("thingFileName")()); Reimplemented in IFstream, and IStringStream. |
|
|
Put back token.
|
|
||||||||||||
|
Read binary block.
|
|
|
Read a doubleScalar.
|
|
|
Read a floatScalar.
|
|
|
Read a label.
|
|
|
|
|
|
Read a word.
|
|
|
Read a character.
|
|
|
Return next token from stream.
|
|
|
Referenced by tetrahedron::circumRadius(), line::line(), objectMap::objectMap(), point2D::point2D(), face::prevLabel(), and labelledTri::region(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Rewind and return the stream so that it may be read again.
|