#include <Units_Lexicon.hxx>
Inheritance diagram for Units_Lexicon:
Public Member Functions | |
| Standard_EXPORT | Units_Lexicon () |
| Creates an empty instance of Lexicon. . | |
| Standard_EXPORT void | Creates (const Standard_CString afilename) |
| Reads the file <afilename> to create a sequence of tokens stored in <thesequenceoftokens>. . | |
| Handle_Units_TokensSequence | Sequence () const |
| Returns the first item of the sequence of tokens. . | |
| Standard_EXPORT TCollection_AsciiString | FileName () const |
| Returns in a AsciiString from TCollection the name of the file. . | |
| virtual Standard_EXPORT Standard_Boolean | UpToDate () const |
| Returns true if the file has not changed since the creation of the Lexicon object. Returns false otherwise. . | |
| Standard_EXPORT void | AddToken (const Standard_CString aword, const Standard_CString amean, const Standard_Real avalue) |
| Adds to the lexicon a new token with <aword>, <amean>, <avalue> as arguments. If there is already a token with the field <theword> equal to <aword>, the existing token is updated. . | |
| virtual void | Dump () const |
| Useful for debugging. . | |
| Standard_EXPORT const | Handle (Standard_Type)&DynamicType() const |
Private Attributes | |
| Handle_TCollection_HAsciiString | thefilename |
| Standard_Integer | thetime |
| Handle_Units_TokensSequence | thesequenceoftokens |
|
|
|
|
||||||||||||||||
|
|
|
|
|
|
|
Reimplemented in Units_UnitsLexicon. |
|
|
|
|
|
Reimplemented from MMgt_TShared. Reimplemented in Units_UnitsLexicon. |
|
|
|
|
|
Reimplemented in Units_UnitsLexicon. |
|
|
Reimplemented in Units_UnitsLexicon. |
|
|
|
|
|
Reimplemented in Units_UnitsLexicon. |
1.4.1