A keyword and a list of tokens is an 'entry'.
virtual void write(Ostream &) const =0
Write.
void operator=(const entry &)
A class for handling file names.
virtual ITstream & stream() const =0
Return token stream if this entry is a primitive entry.
const keyType & keyword() const
Return keyword.
virtual bool isStream() const
Return true if this entry is a stream.
A class for handling keywords in dictionaries.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Intrusive doubly-linked list.
virtual bool isDict() const
Return true if this entry is a dictionary.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
bool operator!=(const entry &) const
Ostream & operator<<(Ostream &, const edgeMesh &)
virtual label startLineNumber() const =0
Return line number of first token in dictionary.
A list of keyword definitions, which are a keyword followed by any number of values (e....
static int disableFunctionEntries
virtual const dictionary & dict() const =0
Return dictionary if this entry is a dictionary.
virtual const fileName & name() const =0
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 autoPtr< entry > clone() const
Construct on freestore as copy.
entry(const keyType &)
Construct from keyword.
keyType keyword_
Keyword of entry.
virtual ~entry()
Destructor.
friend Ostream & operator<<(Ostream &, const entry &)
static bool New(dictionary &parentDict, Istream &)
Construct from Istream and insert into dictionary.
keyType & keyword()
Return non-const access to keyword.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
static bool getKeyword(keyType &, Istream &)
Get the next valid keyword otherwise return false.
virtual label endLineNumber() const =0
Return line number of last token in dictionary.
bool operator==(const entry &) const