33 os <<
"ITstream : " << name_.c_str();
39 os <<
", line " <<
begin()->lineNumber() <<
", ";
43 os <<
", lines " <<
begin()->lineNumber()
44 <<
'-' <<
rbegin()->lineNumber() <<
", ";
65 if (tokenIndex_ <
size())
70 if (tokenIndex_ ==
size())
82 ) <<
"attempt to read beyond EOF"
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
errorManipArg< error, int > exit(error &err, const int errNo=1)
reverse_iterator rbegin()
Return reverse_iterator to begin reverse traversing the UList.
T & operator[](const label)
Return element of UList.
virtual Istream & rewind()
Rewind and return the stream so that it may be read again.
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.
label lineNumber() const
Return current stream line number.
T & first()
Return the first element of the list.
virtual Istream & read(token &)
Return next token from stream.
void setBad()
Set stream to be bad.
A class for handling words, derived from string.
static token undefinedToken
Static undefined token.
float floatScalar
Float precision floating point scalar type.
iterator begin()
Return an iterator to begin traversing the UList.
double doubleScalar
Double precision floating point scalar type.
bool eof() const
Return true if end of input seen.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
long double longDoubleScalar
Lang double precision floating point scalar type.
void setEof()
Set stream to have reached eof.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
bool getBack(token &)
Get the put back token if there is one and return true.
void print(Ostream &) const
Print description of IOstream to Ostream.
T & last()
Return the last element of the list.
virtual void print(Ostream &) const
Print description of IOstream to Ostream.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
label size() const
Return the number of elements in the UList.