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