/usr/include/opencascade/Units_Quantity.hxx is in libopencascade-foundation-dev 6.5.0.dfsg-2build1.
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 | // 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 <Standard.hxx>
#endif
#ifndef _Standard_DefineHandle_HeaderFile
#include <Standard_DefineHandle.hxx>
#endif
#ifndef _Handle_Units_Quantity_HeaderFile
#include <Handle_Units_Quantity.hxx>
#endif
#ifndef _Handle_TCollection_HAsciiString_HeaderFile
#include <Handle_TCollection_HAsciiString.hxx>
#endif
#ifndef _Handle_Units_Dimensions_HeaderFile
#include <Handle_Units_Dimensions.hxx>
#endif
#ifndef _Handle_Units_UnitsSequence_HeaderFile
#include <Handle_Units_UnitsSequence.hxx>
#endif
#ifndef _MMgt_TShared_HeaderFile
#include <MMgt_TShared.hxx>
#endif
#ifndef _Standard_CString_HeaderFile
#include <Standard_CString.hxx>
#endif
#ifndef _TCollection_AsciiString_HeaderFile
#include <TCollection_AsciiString.hxx>
#endif
#ifndef _Standard_Boolean_HeaderFile
#include <Standard_Boolean.hxx>
#endif
#ifndef _Standard_Integer_HeaderFile
#include <Standard_Integer.hxx>
#endif
class TCollection_HAsciiString;
class Units_Dimensions;
class Units_UnitsSequence;
//! This class stores in its field all the possible <br>
//! units of all the unit systems for a given physical <br>
//! quantity. Each unit's value is expressed in the <br>
//! S.I. unit system. <br>
class Units_Quantity : public MMgt_TShared {
public:
//! Creates a new Quantity object with <aname> which is <br>
//! the name of the physical quantity, <adimensions> which <br>
//! is the physical dimensions, and <aunitssequence> which <br>
//! describes all the units known for this quantity. <br>
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. <br>
TCollection_AsciiString Name() const;
//! Returns the physical dimensions of the quantity. <br>
Handle_Units_Dimensions Dimensions() const;
//! Returns <theunitssequence>, which is the sequence of <br>
//! all the units stored for this physical quantity. <br>
Handle_Units_UnitsSequence Sequence() const;
//! Returns True if the name of the Quantity <me> is equal <br>
//! to <astring>, False otherwise. <br>
Standard_EXPORT Standard_Boolean IsEqual(const Standard_CString astring) const;
//! Useful for debugging. <br>
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 <Units_Quantity.lxx>
// other Inline functions and methods (like "C++: function call" methods)
#endif
|