// 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 _XCAFDoc_Area_HeaderFile #define _XCAFDoc_Area_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_DefineHandle_HeaderFile #include #endif #ifndef _Handle_XCAFDoc_Area_HeaderFile #include #endif #ifndef _Standard_Real_HeaderFile #include #endif #ifndef _TDF_Attribute_HeaderFile #include #endif #ifndef _Standard_Boolean_HeaderFile #include #endif #ifndef _Handle_TDF_Attribute_HeaderFile #include #endif #ifndef _Handle_TDF_RelocationTable_HeaderFile #include #endif #ifndef _Standard_OStream_HeaderFile #include #endif class Standard_GUID; class TDF_Label; class TDF_Attribute; class TDF_RelocationTable; class XCAFDoc_Area : public TDF_Attribute { public: //! class methods
//! =============
Standard_EXPORT XCAFDoc_Area(); Standard_EXPORT static const Standard_GUID& GetID() ; Standard_EXPORT const Standard_GUID& ID() const; //! Sets a value of volume
Standard_EXPORT void Set(const Standard_Real vol) ; //! Find, or create, an Area attribute and set its value
Standard_EXPORT static Handle_XCAFDoc_Area Set(const TDF_Label& label,const Standard_Real area) ; Standard_EXPORT Standard_Real Get() const; //! Returns volume of area as argument and succes status
//! returns false if no such attribute at the