Go to the documentation of this file.
33 os <<
"ITstream : " <<
name_.c_str();
39 os <<
", line " << begin()->
lineNumber() <<
", ";
44 <<
'-' << rbegin()->lineNumber() <<
", ";
65 if (tokenIndex_ < size())
67 t = operator[](tokenIndex_++);
70 if (tokenIndex_ == size())
82 ) <<
"attempt to read beyond EOF"
96 t.
lineNumber() = tokenList::last().lineNumber();
163 lineNumber_ = tokenList::first().
lineNumber();
double doubleScalar
Double precision floating point scalar type.
A class for handling words, derived from string.
float floatScalar
Float precision floating point scalar type.
void print(Ostream &) const
Print description of IOstream to Ostream.
A token holds items read from Istream.
virtual void print(Ostream &) const
Print description of IOstream to Ostream.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
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)....
virtual Istream & rewind()
Rewind and return the stream so that it may be read again.
errorManipArg< error, int > exit(error &err, const int errNo=1)
label size() const
Return the number of elements in the UList.
fileName name_
Name of ITstream.
static token undefinedToken
Static undefined token.
virtual Istream & read(token &)
Return next token from stream.
label lineNumber() const
Return current stream line number.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
bool getBack(token &)
Get the put back token if there is one and return true.