119 append(
token(str, lineNumber()));
126 append(
token(str, lineNumber()));
133 append(
token(kt, lineNumber()));
140 append(
token(vs, lineNumber()));
147 const std::string& str,
153 append(
token(
string(str), lineNumber()));
165 append(
token(val, lineNumber()));
172 append(
token(val, lineNumber()));
179 append(
token(val, lineNumber()));
186 append(
token(val, lineNumber()));
193 append(
token(val, lineNumber()));
200 append(
token(val, lineNumber()));
207 append(
token(val, lineNumber()));
221 os <<
"OTstream: " <<
name().c_str() <<
' ';
void setGood()
Set stream to be good.
streamFormat
Enumeration for the format of data in the stream.
bool bad() const
Return true if stream is corrupted.
virtual void print(Ostream &) const
Print description of IOstream to Ostream.
void setOpened()
Set stream opened.
virtual Istream & read(token &)
Return next token from stream.
Input from memory buffer stream.
bool eof() const
Return true if end of input seen.
virtual Ostream & writeQuoted(const std::string &, const bool quoted=true)
Write std::string surrounded by quotes.
virtual Ostream & write(const token &)
Write token.
OTstream(const string &name, const streamFormat format=ASCII, const versionNumber version=currentVersion, const bool global=false)
Construct given name write format and IO version.
virtual ~OTstream()
Destructor.
void print(Ostream &) const
Print description of IOstream to Ostream.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A class for handling keywords in dictionaries.
A token holds items read from Istream.
punctuationToken
Standard punctuation tokens.
A class for handling verbatimStrings, derived from string.
A class for handling words, derived from string.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
const dimensionedScalar c
Speed of light in a vacuum.
double doubleScalar
Double precision floating point scalar type.
float floatScalar
Float precision floating point scalar type.
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.
label count(const ListType &l, typename ListType::const_reference x)
Count the number of occurrences of a value in a list.
long double longDoubleScalar
Lang double precision floating point scalar type.
word format(conversionProperties.lookup("format"))