![]() |
|
Public Member Functions | |
entry (const word &keyword) | |
Construct from keyword. | |
entry (const entry &) | |
Construct as copy. | |
virtual autoPtr< entry > | clone () const =0 |
virtual | ~entry () |
const word & | keyword () const |
Return keyword. | |
virtual const fileName & | name () const =0 |
Return the dictionary name. | |
virtual fileName & | name ()=0 |
Return the dictionary name. | |
virtual label | startLineNumber () const =0 |
Return line number of first token in dictionary. | |
virtual label | endLineNumber () const =0 |
Return line number of last token in dictionary. | |
virtual bool | isStream () const |
Return true if this entry is a stream. | |
virtual ITstream & | stream () const =0 |
Return token stream if this entry is a primitive entry. | |
virtual bool | isDict () const |
Return true if this entry is a dictionary. | |
virtual const dictionary & | dict () const =0 |
Return token stream if this entry is a primitive entry. | |
virtual void | write (Ostream &) const =0 |
Write. | |
void | operator= (const entry &) |
Static Public Member Functions | |
autoPtr< entry > | New (Istream &is) |
Construct on freestore from Istream. | |
Friends | |
Ostream & | operator<< (Ostream &, const entry &) |
|
Construct from keyword.
|
|
Construct as copy.
|
|
|
|
Implemented in dictionaryEntry, and primitiveEntry. |
|
Return token stream if this entry is a primitive entry.
Implemented in dictionaryEntry, and primitiveEntry. |
|
Return line number of last token in dictionary.
Implemented in dictionaryEntry, and primitiveEntry. |
|
Return true if this entry is a dictionary.
Reimplemented in dictionaryEntry. |
|
Return true if this entry is a stream.
Reimplemented in primitiveEntry. |
|
Return keyword.
Definition at line 102 of file entry.H. References Foam::label. |
|
Return the dictionary name.
Implemented in dictionaryEntry, and primitiveEntry. |
|
Return the dictionary name.
Implemented in dictionaryEntry, and primitiveEntry. |
|
Construct on freestore from Istream.
|
|
|
|
Return line number of first token in dictionary.
Implemented in dictionaryEntry, and primitiveEntry. |
|
Return token stream if this entry is a primitive entry.
Implemented in dictionaryEntry, and primitiveEntry. |
|
Write.
Implemented in dictionaryEntry, and primitiveEntry. |
|
|