45 #ifndef primitiveEntry_H 46 #define primitiveEntry_H 86 const string& varName,
95 const word& functionName,
206 Ostream& operator<<(Ostream& os, const InfoProxy<primitiveEntry>& ip);
A class for handling keywords in dictionaries.
fileName relativeName() const
Return the name of the stream relative to the current case.
A class for handling file names.
virtual bool isStream() const noexcept
Return true - this entry is a stream.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
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)...
virtual label endLineNumber() const
Return line number of last token in dictionary.
virtual const fileName & name() const
Return the token stream name.
A token holds an item read from Istream.
virtual fileName relativeName() const
Return token stream name relative to the current case.
A keyword and a list of tokens comprise a primitiveEntry. A primitiveEntry can be read...
A class for handling words, derived from Foam::string.
virtual void write(Ostream &os) const
Write.
virtual ITstream & stream() const
Return token stream for this 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...
OBJstream os(runTime.globalPath()/outputName)
virtual 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.
virtual label startLineNumber() const
Return line number of first token in dictionary.
auto key(const Type &t) -> typename std::enable_if< std::is_enum< Type >::value, typename std::underlying_type< Type >::type >::type
virtual Istream & read(token &tok)
Return next token from stream.
primitiveEntry(const keyType &key)
Construct from keyword and no tokens.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
virtual const fileName & name() const
The name of the input token stream.
virtual bool read(const dictionary &dict, Istream &is)
Read tokens from the given stream.
An input stream of tokens.
A keyword and a list of tokens is an 'entry'.