45 #ifndef Foam_dictionaryEntry_H 46 #define Foam_dictionaryEntry_H 58 class dictionaryEntry;
62 Ostream& operator<<(Ostream&, const InfoProxy<dictionaryEntry>&);
A class for handling keywords in dictionaries.
A class for handling file names.
dictionaryEntry(const dictionaryEntry &)=delete
No copy construct.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
InfoProxy< dictionaryEntry > info() const noexcept
Return info proxy, used to print token information to a stream.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
virtual ITstream & stream() const
This entry is not a primitive, calling this function generates a FatalError.
friend Ostream & operator<<(Ostream &os, const dictionaryEntry &e)
const fileName & name() const noexcept
The dictionary name.
A keyword and a list of tokens is a 'dictionaryEntry'.
autoPtr< dictionary > clone() const
Construct and return clone.
virtual label endLineNumber() const
Return line number of last token in dictionary.
const dimensionedScalar e
Elementary charge.
virtual fileName relativeName() const
Return scoped dictionary name relative to the current case.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
OBJstream os(runTime.globalPath()/outputName)
virtual void write(Ostream &os) const
Write.
fileName relativeName(const bool caseTag=false) const
The dictionary name relative to the case.
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
A helper class for outputting values to Ostream.
auto key(const Type &t) -> typename std::enable_if< std::is_enum< Type >::value, typename std::underlying_type< Type >::type >::type
virtual label startLineNumber() const
Return line number of first token in dictionary.
virtual const fileName & name() const
Return the scoped dictionary name (eg, dictA.dictB.dictC)
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
virtual const dictionary & dict() const noexcept
Return dictionary (ie, this)
virtual const dictionary * dictPtr() const noexcept
Return pointer to this dictionary.
An input stream of tokens.
A keyword and a list of tokens is an 'entry'.