Go to the documentation of this file.
42 #ifndef primitiveEntry_H
43 #define primitiveEntry_H
76 const token& currToken,
187 Ostream&
operator<<(Ostream&,
const InfoProxy<primitiveEntry>&);
A keyword and a list of tokens is an 'entry'.
A keyword and a list of tokens is a 'primitiveEntry'. An primitiveEntry can be read,...
A class for handling words, derived from string.
A helper class for outputting values to Ostream.
A class for handling file names.
void append(const UList< token > &)
Append the given tokens starting at the current tokenIndex.
const fileName & name() const
Return the dictionary name.
virtual bool read(const dictionary &, Istream &)
Read tokens from the given stream.
bool isStream() const
Return true because this entry is a stream.
ITstream & stream() const
Return token stream if this entry is a primitive entry.
A token holds items read from Istream.
autoPtr< entry > clone(const dictionary &) const
Construct on freestore as copy with reference to the.
fileName & name()
Return the dictionary name.
A simple container for copying or transferring objects of type <T>.
bool expandFunction(const word &, const dictionary &, Istream &)
Expand the given function (keyword starts with #)
A class for handling keywords in dictionaries.
void readEntry(const dictionary &, Istream &)
Read the complete entry from the given stream.
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)....
label endLineNumber() const
Return line number of last token in dictionary.
primitiveEntry(const keyType &, Istream &)
Construct from keyword and a Istream.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
label startLineNumber() const
Return line number of first token in dictionary.
InfoProxy< primitiveEntry > info() const
Return info proxy.
Ostream & operator<<(Ostream &, const edgeMesh &)
const fileName & name() const
Return the name of the stream.
A list of keyword definitions, which are a keyword followed by any number of values (e....
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
virtual autoPtr< entry > clone() const
Construct on freestore as copy.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
void write(Ostream &) const
Write.
virtual Istream & read(token &)
Return next token from stream.
const dictionary & dict() const
This entry is not a dictionary,.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
bool expandVariable(const string &, const dictionary &)
Expand the given variable (keyword starts with $)