#include <Units_UnitsDictionary.hxx>
Inheritance diagram for Units_UnitsDictionary:
Public Member Functions | |
Standard_EXPORT | Units_UnitsDictionary () |
Returns an empty instance of UnitsDictionary. . | |
Standard_EXPORT void | Creates (const Standard_CString afilename) |
Returns a UnitsDictionary object which contains the sequence of all the units you want to consider, physical quantity by physical quantity. . | |
Handle_Units_QuantitiesSequence | Sequence () const |
Returns the head of the sequence of physical quantities. . | |
Standard_EXPORT Standard_Boolean | UpToDate () const |
Returns true if there has been no modification of the file Units.dat since the creation of the dictionary object, false otherwise. . | |
Standard_EXPORT TCollection_AsciiString | ActiveUnit (const Standard_CString aquantity) const |
Returns for <aquantity> the active unit. . | |
void | Dump (const Standard_Integer alevel) const |
Dumps only the sequence of quantities without the units if <alevel> is equal to zero, and for each quantity all the units stored if <alevel> is equal to one. . | |
void | Dump (const Handle(Units_Dimensions)&adimensions) const |
Dumps for a designated physical dimensions <adimensions> all the previously stored units. . | |
Standard_EXPORT const | Handle (Standard_Type)&DynamicType() const |
Private Attributes | |
Handle_TCollection_HAsciiString | thefilename |
Standard_Integer | thetime |
Handle_Units_QuantitiesSequence | thequantitiessequence |
|
|
|
|
|
|
|
|
|
|
|
Reimplemented from MMgt_TShared. |
|
|
|
|
|
|
|
|
|
|