Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
Units_UnitsLexicon Class Reference

This class defines a lexicon useful to analyse and
recognize the different key words included in a
sentence. The lexicon is stored in a sequence of
tokens.

#include <Units_UnitsLexicon.hxx>

Inheritance diagram for Units_UnitsLexicon:
Inheritance graph
[legend]

Public Member Functions

 Units_UnitsLexicon ()
 Returns an empty instance of UnitsLexicon

void Creates (const Standard_CString afilename1, const Standard_CString afilename2, const Standard_Boolean amode=Standard_True)
 Reads the files <afilename1> and <afilename2> to
create a sequence of tokens stored in
<thesequenceoftokens>.

TCollection_AsciiString FileName2 () const
 Returns in a AsciiString from TCollection the name of the file.

virtual Standard_Boolean UpToDate () const
 Returns true if the file has not changed since the
creation of the Lexicon object. Returns false
otherwise.

virtual void Dump () const
 Useful for debugging.


Constructor & Destructor Documentation


Member Function Documentation

virtual void Units_UnitsLexicon::Dump ( ) const [virtual]

Reimplemented from Units_Lexicon.

virtual Standard_Boolean Units_UnitsLexicon::UpToDate ( ) const [virtual]

Reimplemented from Units_Lexicon.


The documentation for this class was generated from the following file: