#include <Units_Quantity.hxx>
Inheritance diagram for Units_Quantity:
Public Member Functions | |
Units_Quantity (const Standard_CString aname, const Handle(Units_Dimensions)&adimensions, const Handle(Units_UnitsSequence)&aunitssequence) | |
Creates a new Quantity object with <aname> which is the name of the physical quantity, <adimensions> which is the physical dimensions, and <aunitssequence> which describes all the units known for this quantity. . | |
TCollection_AsciiString | Name () const |
Returns in a AsciiString from TCollection the name of the quantity. . | |
Handle_Units_Dimensions | Dimensions () const |
Returns the physical dimensions of the quantity. . | |
Handle_Units_UnitsSequence | Sequence () const |
Returns <theunitssequence>, which is the sequence of all the units stored for this physical quantity. . | |
Standard_EXPORT Standard_Boolean | IsEqual (const Standard_CString astring) const |
Returns True if the name of the Quantity <me> is equal to <astring>, False otherwise. . | |
Standard_EXPORT void | Dump (const Standard_Integer ashift, const Standard_Integer alevel) const |
Useful for debugging. . | |
Standard_EXPORT const | Handle (Standard_Type)&DynamicType() const |
Private Attributes | |
Handle_TCollection_HAsciiString | thename |
Handle_Units_Dimensions | thedimensions |
Handle_Units_UnitsSequence | theunitssequence |
|
|
|
|
|
|
|
Reimplemented from MMgt_TShared. |
|
|
|
|
|
|
|
|
|
|
|
|