// This file is generated by WOK (CPPExt). // Please do not edit this file; modify original file instead. // The copyright and license terms as defined for the original file apply to // this header file considered to be the "object code" form of the original source. #ifndef _Units_Quantity_HeaderFile #define _Units_Quantity_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_DefineHandle_HeaderFile #include #endif #ifndef _Handle_Units_Quantity_HeaderFile #include #endif #ifndef _Handle_TCollection_HAsciiString_HeaderFile #include #endif #ifndef _Handle_Units_Dimensions_HeaderFile #include #endif #ifndef _Handle_Units_UnitsSequence_HeaderFile #include #endif #ifndef _MMgt_TShared_HeaderFile #include #endif #ifndef _Standard_CString_HeaderFile #include #endif #ifndef _TCollection_AsciiString_HeaderFile #include #endif #ifndef _Standard_Boolean_HeaderFile #include #endif #ifndef _Standard_Integer_HeaderFile #include #endif class TCollection_HAsciiString; class Units_Dimensions; class Units_UnitsSequence; //! This class stores in its field all the possible
//! units of all the unit systems for a given physical
//! quantity. Each unit's value is expressed in the
//! S.I. unit system.
class Units_Quantity : public MMgt_TShared { public: //! Creates a new Quantity object with which is
//! the name of the physical quantity, which
//! is the physical dimensions, and which
//! describes all the units known for this quantity.
Units_Quantity(const Standard_CString aname,const Handle(Units_Dimensions)& adimensions,const Handle(Units_UnitsSequence)& aunitssequence); //! Returns in a AsciiString from TCollection the name of the quantity.
TCollection_AsciiString Name() const; //! Returns the physical dimensions of the quantity.
Handle_Units_Dimensions Dimensions() const; //! Returns , which is the sequence of
//! all the units stored for this physical quantity.
Handle_Units_UnitsSequence Sequence() const; //! Returns True if the name of the Quantity is equal
//! to , False otherwise.
Standard_EXPORT Standard_Boolean IsEqual(const Standard_CString astring) const; //! Useful for debugging.
Standard_EXPORT void Dump(const Standard_Integer ashift,const Standard_Integer alevel) const; DEFINE_STANDARD_RTTI(Units_Quantity) protected: private: Handle_TCollection_HAsciiString thename; Handle_Units_Dimensions thedimensions; Handle_Units_UnitsSequence theunitssequence; }; #include // other Inline functions and methods (like "C++: function call" methods) #endif