157 virtual bool isDict()
const Template class for intrusive linked lists.
virtual bool isStream() const
Return true if this entry is a stream.
A class for handling keywords in dictionaries.
A class for handling file names.
const keyType & keyword() const
Return keyword.
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.
virtual label startLineNumber() const =0
Return line number of first token in dictionary.
A token holds items read from Istream.
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.
bool operator==(const entry &) const
entry(const keyType &)
Construct from keyword.
static int disableFunctionEntries
Intrusive doubly-linked list.
void operator=(const entry &)
virtual bool isDict() const
Return true if this entry is a dictionary.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
bool operator!=(const entry &) const
virtual label endLineNumber() const =0
Return line number of last token in dictionary.
virtual autoPtr< entry > clone() const
Construct on freestore as copy.
Ostream & operator<<(Ostream &, const ensightPart &)
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 ITstream & stream() const =0
Return token stream if this entry is a primitive entry.
A keyword and a list of tokens is an 'entry'.
friend Ostream & operator<<(Ostream &, const entry &)