#include <Units_Explorer.hxx>
Public Member Functions | |
void * | operator new (size_t, void *anAddress) |
void * | operator new (size_t size) |
void | operator delete (void *anAddress) |
Standard_EXPORT | Units_Explorer () |
Empty contructor of the class. . | |
Standard_EXPORT | Units_Explorer (const Handle(Units_UnitsSystem)&aunitssystem) |
Creates a new instance of the class, initialized with the UnitsSystem <aunitssystem>. . | |
Standard_EXPORT | Units_Explorer (const Handle(Units_UnitsDictionary)&aunitsdictionary) |
Creates a new instance of the class, initialized with the UnitsDictionary <aunitsdictionary>. . | |
Standard_EXPORT | Units_Explorer (const Handle(Units_UnitsSystem)&aunitssystem, const Standard_CString aquantity) |
Creates a new instance of the class, initialized with the UnitsSystem <aunitssystem> and positioned at the quantity <aquantity>. . | |
Standard_EXPORT | Units_Explorer (const Handle(Units_UnitsDictionary)&aunitsdictionary, const Standard_CString aquantity) |
Creates a new instance of the class, initialized with the UnitsDictionary <aunitsdictionary> and positioned at the quantity <aquantity>. . | |
Standard_EXPORT void | Init (const Handle(Units_UnitsSystem)&aunitssystem) |
Initializes the instance of the class with the UnitsSystem <aunitssystem>. . | |
Standard_EXPORT void | Init (const Handle(Units_UnitsDictionary)&aunitsdictionary) |
Initializes the instance of the class with the UnitsDictionary <aunitsdictionary>. . | |
Standard_EXPORT void | Init (const Handle(Units_UnitsSystem)&aunitssystem, const Standard_CString aquantity) |
Initializes the instance of the class with the UnitsSystem <aunitssystem> and positioned at the quantity <aquantity>. . | |
Standard_EXPORT void | Init (const Handle(Units_UnitsDictionary)&aunitsdictionary, const Standard_CString aquantity) |
Initializes the instance of the class with the UnitsDictionary <aunitsdictionary> and positioned at the quantity <aquantity>. . | |
Standard_EXPORT Standard_Boolean | MoreQuantity () const |
Returns True if there is another Quantity to explore, False otherwise. . | |
Standard_EXPORT void | NextQuantity () |
Sets the next Quantity current. . | |
Standard_EXPORT TCollection_AsciiString | Quantity () const |
Returns the name of the current Quantity. . | |
Standard_EXPORT Standard_Boolean | MoreUnit () const |
Returns True if there is another Unit to explore, False otherwise. . | |
Standard_EXPORT void | NextUnit () |
Sets the next Unit current. . | |
Standard_EXPORT TCollection_AsciiString | Unit () const |
Returns the name of the current unit. . | |
Standard_EXPORT Standard_Boolean | IsActive () const |
If the units system to explore is a user system, returns True if the current unit is active, False otherwise. If the units system to explore is the units dictionary, returns True if the current unit is the S.I. unit. . | |
Private Attributes | |
Standard_Integer | thecurrentquantity |
Handle_Units_QuantitiesSequence | thequantitiessequence |
Standard_Integer | thecurrentunit |
Handle_Units_UnitsSequence | theunitssequence |
Handle_TColStd_HSequenceOfInteger | theactiveunitssequence |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|