155 return size() - tokenIndex_;
159 ios_base::fmtflags
flags()
const 161 return ios_base::fmtflags(0);
201 ios_base::fmtflags
flags(
const ios_base::fmtflags)
203 return ios_base::fmtflags(0);
218 Istream::operator=(its);
const fileName & name() const
Return the name of the stream.
A class for handling file names.
virtual Istream & rewind()
Rewind and return the stream so that it may be read again.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
void setGood()
Set stream to be good.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
A token holds items read from Istream.
versionNumber version() const
Return the stream version.
virtual Istream & read(token &)
Return next token from stream.
A class for handling words, derived from string.
label tokenIndex() const
Return the current token index.
float floatScalar
Float precision floating point scalar type.
ITstream(const string &name, const UList< token > &tokens, streamFormat format=ASCII, versionNumber version=currentVersion)
Construct from components.
streamFormat
Enumeration for the format of data in the stream.
double doubleScalar
Double precision floating point scalar type.
streamFormat format() const
Return current stream format.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
An Ostream is an abstract base class for all output systems (streams, files, token lists...
virtual ~ITstream()
Destructor.
void operator=(const ITstream &its)
Assignment operator.
long double longDoubleScalar
Lang double precision floating point scalar type.
void operator=(const UList< T > &)
Assignment to UList operator. Takes linear time.
label nRemainingTokens() const
Return the number of remaining tokens.
void setOpened()
Set stream opened.
static const versionNumber currentVersion
Current version number.
void print(Ostream &) const
Print description of IOstream to Ostream.
label size() const
Return the number of elements in the UList.
ios_base::fmtflags flags() const
Return flags of output stream.