42 #ifndef primitiveEntry_H 43 #define primitiveEntry_H 76 const token& currToken,
82 bool expandVariable(
const string&,
const dictionary&);
187 Ostream& operator<<(Ostream&, const InfoProxy<primitiveEntry>&);
const fileName & name() const
Return the name of the stream.
A class for handling keywords in dictionaries.
A simple container for copying or transferring objects of type <T>.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
A class for handling file names.
A list of keyword definitions, which are a keyword followed by any number of values (e...
void write(Ostream &) const
Write.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
A token holds items read from Istream.
InfoProxy< primitiveEntry > info() const
Return info proxy.
virtual Istream & read(token &)
Return next token from stream.
A keyword and a list of tokens is a 'primitiveEntry'. An primitiveEntry can be read, written and printed, and the types and values of its tokens analysed.
A class for handling words, derived from string.
label startLineNumber() const
Return line number of first token in dictionary.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
An Ostream is an abstract base class for all output systems (streams, files, token lists...
const dictionary & dict() const
This entry is not a dictionary,.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
label endLineNumber() const
Return line number of last token in dictionary.
A helper class for outputting values to Ostream.
virtual autoPtr< entry > clone() const
Construct on freestore as copy.
primitiveEntry(const keyType &, Istream &)
Construct from keyword and a Istream.
ITstream & stream() const
Return token stream if this entry is a primitive entry.
bool isStream() const
Return true because this entry is a stream.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
virtual bool read(const dictionary &, Istream &)
Read tokens from the given stream.
const fileName & name() const
Return the dictionary name.
A keyword and a list of tokens is an 'entry'.