streamFormat format() const
Return current stream format.
double doubleScalar
Double precision floating point scalar type.
Istream & readEnd(const char *funcName)
A class for handling words, derived from string.
char readBeginList(const char *funcName)
compressionType
Enumeration for the format of data in the stream.
float floatScalar
Float precision floating point scalar type.
compressionType compression() const
Return the stream compression.
IOstream &(* IOstreamManip)(IOstream &)
An IOstream is an abstract base class for all input/output systems; be they streams,...
char readEndList(const char *funcName)
A token holds items read from Istream.
static const versionNumber currentVersion
Current version number.
virtual ~Istream()
Destructor.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
virtual Istream & rewind()=0
Rewind and return the stream so that it may be read again.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
IOstream(streamFormat format, versionNumber version, compressionType compression=UNCOMPRESSED)
Construct setting format and version.
bool peekBack(token &)
Peek at the put back token without removing it.
token putBackToken_
The last token put back on the stream.
Istream & operator()() const
Return a non-const reference to const Istream.
versionNumber version() const
Return the stream version.
void putBack(const token &)
Put back token.
Istream & operator>>(Istream &, edgeMesh &)
Istream & readEndBegin(const char *funcName)
bool putBack_
Has a token been put back on the stream?
Istream & readBegin(const char *funcName)
Istream(streamFormat format=ASCII, versionNumber version=currentVersion, compressionType compression=UNCOMPRESSED)
Set stream status.
bool getBack(token &)
Get the put back token if there is one and return true.
Istream &(* IstreamManip)(Istream &)
streamFormat
Enumeration for the format of data in the stream.
virtual Istream & read(token &)=0
Return next token from stream.