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