// File: Units_UnitsDictionary.lxx // Created: Wed Jun 24 12:50:13 1992 // Author: Gilles DEBARBOUILLE // #include #include #include //======================================================================= //function : Sequence //purpose : //======================================================================= inline Handle(Units_QuantitiesSequence) Units_UnitsDictionary::Sequence() const { return thequantitiessequence; } //======================================================================= //function : Dump //purpose : //======================================================================= inline void Units_UnitsDictionary::Dump(const Standard_Integer alevel) const { Standard_Integer index; switch (alevel) { case 2: if( !thequantitiessequence.IsNull() ) { for(index=1;index<=thequantitiessequence->Length();index++) thequantitiessequence->Value(index)->Dump(0,1); } break; case 1: default: Units_Explorer explorer(this); cout<<" UNITS DICTIONARY : "<Length();index++) { if(thequantitiessequence->Value(index)->Dimensions()->IsEqual(adimensions)) thequantitiessequence->Value(index)->Dump(0,1); } }