virtual uniquePtr< iEntry > clone() const =0
virtual word globalName() const =0
virtual bool isDictionary() const
if this is a dictionary
virtual const dictionary & parrentDict() const =0
const ref to parrent dictionary
virtual const word & keyword() const
return keyword
virtual bool write(iOstream &os) const =0
write to stream
virtual bool read(iIstream &is)=0
read from stream
static bool createEntry(dictionary &parDict, iIstream &is, bool hasBlockToken=false)
create an entry (dataEntry or dictionary) from stream
virtual dictionary * dictPtr()
pointer to this dictionary
virtual const dictionary * dictPtr() const
const pointer to this dictionary
virtual word name() const
name/keyword of entry
bool writeKeyword(iOstream &os) const
virtual dictionary & dict()=0
ref to this dictionary, if it is a dictionary
virtual iEntry * clonePtr() const =0
clone the object
static bool readKeyword(iIstream &is, word &keyword, token &tok)
read a keyword from stream
Interface calss for data entry and dictionary