Go to the documentation of this file.
159 ios_base::fmtflags
flags()
const
161 return ios_base::fmtflags(0);
198 ios_base::fmtflags
flags(
const ios_base::fmtflags)
200 return ios_base::fmtflags(0);
streamFormat format() const
Return current stream format.
label tokenIndex() const
Return the current token index.
double doubleScalar
Double precision floating point scalar type.
ITstream(const string &name, const UList< token > &tokens, streamFormat format=ASCII, versionNumber version=currentVersion)
Construct from components.
A class for handling words, derived from string.
A class for handling file names.
label tokenIndex_
Index of token currently being read.
label nRemainingTokens() const
Return the number of remaining tokens.
float floatScalar
Float precision floating point scalar type.
virtual ~ITstream()
Destructor.
void print(Ostream &) const
Print description of IOstream to Ostream.
A token holds items read from Istream.
static const versionNumber currentVersion
Current version number.
void setOpened()
Set stream opened.
A simple container for copying or transferring objects of type <T>.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
ios_base::fmtflags flags(const ios_base::fmtflags)
Set flags of stream.
ios_base::fmtflags flags() const
Return flags of output stream.
ITstream(const ITstream &its)
Construct as copy.
const fileName & name() const
Return the name of the stream.
virtual Istream & rewind()
Rewind and return the stream so that it may be read again.
label & tokenIndex()
Return non-const access to the current token index.
label size() const
Return the number of elements in the UList.
List< token > tokenList
List of tokens, used for a IOdictionary entry.
fileName & name()
Return non-const access to the name of the stream.
fileName name_
Name of ITstream.
void setGood()
Set stream to be good.
versionNumber version() const
Return the stream version.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
virtual Istream & read(token &)
Return next token from stream.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Istream(streamFormat format=ASCII, versionNumber version=currentVersion, compressionType compression=UNCOMPRESSED)
Set stream status.
streamFormat
Enumeration for the format of data in the stream.