58 <<
"Undefined token" <<
endl;
120 <<
"Error token" <<
endl;
131 os.
check(
"Ostream& operator<<(Ostream&, const token&)");
139 return os << char(pt);
145 return os << char(pt);
169 os <<
" an undefined token";
173 os <<
" the punctuation token " <<
'\'' << t.
pToken() <<
'\'';
177 os <<
" the word " <<
'\'' << t.
wordToken() <<
'\'';
205 os <<
" the unsigned 32-bit integer "
210 os <<
" the unsigned 64-bit integer "
230 os <<
" the empty compound of type "
235 os <<
" the compound of type "
246 os <<
" an unknown token type " <<
'\'' << int(t.
type()) <<
'\'';
263 os <<
" an undefined token";
267 os <<
" the punctuation token " <<
'\'' << t.
pToken() <<
'\'';
271 os <<
" the word " <<
'\'' << t.
wordToken() <<
'\'';
300 os <<
" the unsigned 32-bit integer "
305 os <<
" the unsigned 64-bit integer "
325 os <<
" the empty compound of type "
330 os <<
" the compound of type "
341 os <<
" an unknown token type " <<
'\'' << int(t.
type()) <<
'\'';
Useful combination of include files which define Sin, Sout and Serr and the use of IO streams general...
virtual bool check(const char *operation) const
Check IOstream status for given operation.
A helper class for outputting values to Ostream.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
virtual Istream & read(token &)=0
Return next token from stream.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Abstract base class for complex tokens.
virtual void write(Ostream &) const =0
A token holds items read from Istream.
longDoubleScalar longDoubleScalarToken() const
const variable & variableToken() const
punctuationToken punctuationToken_
verbatimString * verbatimStringTokenPtr_
int32_t integer32Token() const
compound * compoundTokenPtr_
functionName * functionNameTokenPtr_
floatScalar floatScalarToken_
const functionName & functionNameToken() const
variable * variableTokenPtr_
floatScalar floatScalarToken() const
punctuationToken
Standard punctuation tokens.
const string & stringToken() const
punctuationToken pToken() const
uint32_t unsignedInteger32Token() const
int64_t integer64Token() const
const compound & compoundToken() const
uint64_t unsignedInteger64Token() const
doubleScalar doubleScalarToken() const
doubleScalar doubleScalarToken_
const word & wordToken() const
const verbatimString & verbatimStringToken() const
uint32_t unsignedInteger32Token_
uint64_t unsignedInteger64Token_
longDoubleScalar * longDoubleScalarTokenPtr_
#define WarningInFunction
Report a warning using Foam::Warning.
#define SeriousErrorInFunction
Report an error message using Foam::SeriousError.
Ostream & endl(Ostream &os)
Add newline and flush stream.
Istream & operator>>(Istream &, pistonPointEdgeData &)
Ostream & operator<<(Ostream &os, const fvConstraints &constraints)