// 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 _StepShape_DimensionalCharacteristic_HeaderFile #define _StepShape_DimensionalCharacteristic_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_Macro_HeaderFile #include #endif #ifndef _StepData_SelectType_HeaderFile #include #endif #ifndef _Standard_Integer_HeaderFile #include #endif #ifndef _Handle_Standard_Transient_HeaderFile #include #endif #ifndef _Handle_StepShape_DimensionalLocation_HeaderFile #include #endif #ifndef _Handle_StepShape_DimensionalSize_HeaderFile #include #endif class Standard_Transient; class StepShape_DimensionalLocation; class StepShape_DimensionalSize; //! Representation of STEP SELECT type DimensionalCharacteristic
class StepShape_DimensionalCharacteristic : public StepData_SelectType { public: void* operator new(size_t,void* anAddress) { return anAddress; } void* operator new(size_t size) { return Standard::Allocate(size); } void operator delete(void *anAddress) { if (anAddress) Standard::Free((Standard_Address&)anAddress); } //! Empty constructor
Standard_EXPORT StepShape_DimensionalCharacteristic(); //! Recognizes a kind of DimensionalCharacteristic select type
//! 1 -> DimensionalLocation from StepShape
//! 2 -> DimensionalSize from StepShape
//! 0 else
Standard_EXPORT Standard_Integer CaseNum(const Handle(Standard_Transient)& ent) const; //! Returns Value as DimensionalLocation (or Null if another type)
Standard_EXPORT Handle_StepShape_DimensionalLocation DimensionalLocation() const; //! Returns Value as DimensionalSize (or Null if another type)
Standard_EXPORT Handle_StepShape_DimensionalSize DimensionalSize() const; protected: private: }; // other Inline functions and methods (like "C++: function call" methods) #endif