Go to the documentation of this file.
24 #ifndef __dataEntry_hpp__
25 #define __dataEntry_hpp__
171 #endif //__dataEntry_hpp__
bool readDataEntry(iIstream &is)
read dataEntry from stream
Token class based on OpenFOAM stream, with some modifications/simplifications to be tailored to our n...
virtual iTstream & stream()
access to token stream
token endStatementToken()
virtual const dictionary & parrentDict() const
const ref to parrent dictionary
virtual word globalName() const
global name of entry, separated with dots
bool writeDataEntry(iOstream &os) const
write dataEntry to stream
virtual const word & keyword() const
return keyword
const tokenList & tokens() const
const dictionary & parDict_
ref to parrent dictionary
dataEntry()
construct null dataEntry
Data entry to be used in dictionries.
Interface class for any input stream
iTstream tokenStream_
list the tokens as input token stream
virtual dictionary * dictPtr()
not permited to be called
static dataEntry nullDataEntry
virtual bool isDictionary() const
should returen false;
virtual bool read(iIstream &is)
read from stream
virtual uniquePtr< iEntry > clone() const
Interface calss for data entry and dictionary
virtual iEntry * clonePtr() const
clone the object
virtual dictionary & dict()
not permited to be called
virtual bool write(iOstream &os) const
write to stream
Interface class for any output stream.
Dictionary holds a set of data entries or sub-dictionaries that are enclosed in a curely braces or ar...