42 #ifndef primitiveEntry_H 43 #define primitiveEntry_H 174 Ostream& operator<<(Ostream&, const InfoProxy<primitiveEntry>&);
const fileName & name() const
Return the name of the stream.
A class for handling keywords in dictionaries.
void write(Ostream &) const
Write.
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...
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
InfoProxy< primitiveEntry > info() const
Return info proxy.
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.
A token holds items read from Istream.
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 functionName is a word starting with '#'.
ITstream & stream() const
Return token stream if this entry is a primitive entry.
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)
virtual autoPtr< entry > clone() const
Construct on freestore as copy.
A helper class for outputting values to Ostream.
label startLineNumber() const
Return line number of first token in dictionary.
primitiveEntry(const keyType &, Istream &)
Construct from keyword and a Istream.
const fileName & name() const
Return the dictionary name.
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.
bool isStream() const
Return true because this entry is a stream.
A variable is a word with support for additional characters, in particular '$' and '/'...
A keyword and a list of tokens is an 'entry'.