/usr/include/oce/Units_Dimensions.hxx is in liboce-foundation-dev 0.17.1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 | // 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_Dimensions_HeaderFile
#define _Units_Dimensions_HeaderFile
#include <Standard.hxx>
#include <Standard_DefineHandle.hxx>
#include <Handle_Units_Dimensions.hxx>
#include <Standard_Real.hxx>
#include <MMgt_TShared.hxx>
#include <Standard_CString.hxx>
#include <Standard_Boolean.hxx>
#include <Standard_Integer.hxx>
//! This class includes all the methods to create and
//! manipulate the dimensions of the physical
//! quantities.
class Units_Dimensions : public MMgt_TShared
{
public:
//! Returns a Dimensions object which represents the
//! dimension of a physical quantity. Each of the
//! <amass>, <alength>, <atime>, <anelectriccurrent>,
//! <athermodynamictemperature>, <anamountofsubstance>,
//! <aluminousintensity>, <aplaneangle>, <asolidangle> are
//! the powers for the 7 fundamental units of physical
//! quantity and the 2 secondary fundamental units of
//! physical quantity.
Standard_EXPORT Units_Dimensions(const Standard_Real amass, const Standard_Real alength, const Standard_Real atime, const Standard_Real anelectriccurrent, const Standard_Real athermodynamictemperature, const Standard_Real anamountofsubstance, const Standard_Real aluminousintensity, const Standard_Real aplaneangle, const Standard_Real asolidangle);
//! Returns the power of mass stored in the dimensions.
Standard_Real Mass() const;
//! Returns the power of length stored in the dimensions.
Standard_Real Length() const;
//! Returns the power of time stored in the dimensions.
Standard_Real Time() const;
//! Returns the power of electrical intensity (current)
//! stored in the dimensions.
Standard_Real ElectricCurrent() const;
//! Returns the power of temperature stored in the
//! dimensions.
Standard_Real ThermodynamicTemperature() const;
//! Returns the power of quantity of material (mole)
//! stored in the dimensions.
Standard_Real AmountOfSubstance() const;
//! Returns the power of light intensity stored in the
//! dimensions.
Standard_Real LuminousIntensity() const;
//! Returns the power of plane angle stored in the
//! dimensions.
Standard_Real PlaneAngle() const;
//! Returns the power of solid angle stored in the
//! dimensions.
Standard_Real SolidAngle() const;
//! Returns the quantity string of the dimension
Standard_EXPORT Standard_CString Quantity() const;
//! Creates and returns a new Dimensions object which is
//! the result of the multiplication of <me> and
//! <adimensions>.
Standard_EXPORT Handle(Units_Dimensions) Multiply (const Handle(Units_Dimensions)& adimensions) const;
//! Creates and returns a new Dimensions object which is
//! the result of the division of <me> by <adimensions>.
Standard_EXPORT Handle(Units_Dimensions) Divide (const Handle(Units_Dimensions)& adimensions) const;
//! Creates and returns a new Dimensions object which is
//! the result of the power of <me> and <anexponent>.
Standard_EXPORT Handle(Units_Dimensions) Power (const Standard_Real anexponent) const;
//! Returns true if <me> and <adimensions> have the same
//! dimensions, false otherwise.
Standard_EXPORT Standard_Boolean IsEqual (const Handle(Units_Dimensions)& adimensions) const;
//! Returns false if <me> and <adimensions> have the same
//! dimensions, true otherwise.
Standard_EXPORT Standard_Boolean IsNotEqual (const Handle(Units_Dimensions)& adimensions) const;
//! Useful for degugging.
Standard_EXPORT void Dump (const Standard_Integer ashift) const;
Standard_EXPORT static Handle(Units_Dimensions) ALess() ;
Standard_EXPORT static Handle(Units_Dimensions) AMass() ;
Standard_EXPORT static Handle(Units_Dimensions) ALength() ;
Standard_EXPORT static Handle(Units_Dimensions) ATime() ;
Standard_EXPORT static Handle(Units_Dimensions) AElectricCurrent() ;
Standard_EXPORT static Handle(Units_Dimensions) AThermodynamicTemperature() ;
Standard_EXPORT static Handle(Units_Dimensions) AAmountOfSubstance() ;
Standard_EXPORT static Handle(Units_Dimensions) ALuminousIntensity() ;
Standard_EXPORT static Handle(Units_Dimensions) APlaneAngle() ;
//! Returns the basic dimensions.
Standard_EXPORT static Handle(Units_Dimensions) ASolidAngle() ;
DEFINE_STANDARD_RTTI(Units_Dimensions)
protected:
private:
Standard_Real themass;
Standard_Real thelength;
Standard_Real thetime;
Standard_Real theelectriccurrent;
Standard_Real thethermodynamictemperature;
Standard_Real theamountofsubstance;
Standard_Real theluminousintensity;
Standard_Real theplaneangle;
Standard_Real thesolidangle;
};
#include <Units_Dimensions.lxx>
#endif // _Units_Dimensions_HeaderFile
|