154 virtual bool isDict()
const 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.
A class for handling file names.
bool operator!=(const entry &) const
A list of keyword definitions, which are a keyword followed by any number of values (e...
virtual ~entry()
Destructor.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
virtual void write(Ostream &) const =0
Write.
bool operator==(const entry &) const
virtual label startLineNumber() const =0
Return line number of first token in dictionary.
static bool New(dictionary &parentDict, Istream &)
Construct from Istream and insert into dictionary.
virtual const dictionary & dict() const =0
Return dictionary if this entry is a dictionary.
entry(const keyType &)
Construct from keyword.
static int disableFunctionEntries
const keyType & keyword() const
Return keyword.
void operator=(const entry &)
An Ostream is an abstract base class for all output systems (streams, files, token lists...
Intrusive doubly-linked list.
virtual label endLineNumber() const =0
Return line number of last token in dictionary.
Ostream & operator<<(Ostream &, const ensightPart &)
virtual const fileName & name() const =0
Return the dictionary name.
virtual autoPtr< entry > clone() const
Construct on freestore as copy.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
virtual ITstream & stream() const =0
Return token stream if this entry is a primitive entry.
virtual bool isStream() const
Return true if this entry is a stream.
virtual bool isDict() const
Return true if this entry is a dictionary.
A keyword and a list of tokens is an 'entry'.
friend Ostream & operator<<(Ostream &, const entry &)