Go to the documentation of this file.
60 is.
fatalCheck(
"List<char>::readList(Istream&) : reading first token");
87 const auto oldFmt = is.
format(IOstream::BINARY);
90 is.
read(list.data(), std::streamsize(len));
96 "List<char>::readList(Istream&) : "
97 "reading binary block"
104 <<
"incorrect first token, expected <int>, found "
label labelToken() const
Return label value.
bool isLabel() const noexcept
Token is LABEL.
A templated class for holding compound tokens.
void resize(const label len)
Adjust allocated size of list.
List< char > charList
A List of chars.
Istream & readList(Istream &is)
Read List from Istream, discarding contents of existing List.
bool fatalCheck(const char *operation) const
Check IOstream status for given operation.
streamFormat format() const noexcept
Get the current stream format.
A token holds an item read from Istream.
InfoProxy< token > info() const
Return info proxy for printing token information to a stream.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
void transfer(List< T > &list)
Macros for easy insertion into run-time selection tables.
compound & transferCompoundToken()
Return reference to compound and mark internally as released.
errorManipArg< error, int > exit(error &err, const int errNo=1)
addCompoundToRunTimeSelectionTable(List< complex >, complexList)
defineCompoundTypeName(List< complex >, complexList)
To & dynamicCast(From &r)
void clear()
Clear the list, i.e. set size to zero.
bool isCompound() const noexcept
Token is COMPOUND.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
virtual Istream & read(token &)=0
Return next token from stream.