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