// File: Units_Sentence.lxx // Created: Wed Jun 24 12:49:05 1992 // Author: Gilles DEBARBOUILLE // #include #include //======================================================================= //function : Sequence //purpose : //======================================================================= inline Handle(Units_TokensSequence) Units_Sentence::Sequence() const { return thesequenceoftokens; } //======================================================================= //function : Sequence //purpose : //======================================================================= inline void Units_Sentence::Sequence (const Handle(Units_TokensSequence)& asequenceoftokens) { thesequenceoftokens=asequenceoftokens; } //======================================================================= //function : IsDone //purpose : //======================================================================= inline Standard_Boolean Units_Sentence::IsDone() const { return thesequenceoftokens->Length()>0; } //======================================================================= //function : Dump //purpose : //======================================================================= inline void Units_Sentence::Dump() const { Standard_Integer index; cout<<" UNIT SENTENCE with : "<Length();index++) thesequenceoftokens->Value(index)->Dump(1,1); }