// 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 _StepAP203_SpecifiedItem_HeaderFile #define _StepAP203_SpecifiedItem_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_StepBasic_ProductDefinition_HeaderFile #include #endif #ifndef _Handle_StepRepr_ShapeAspect_HeaderFile #include #endif class Standard_Transient; class StepBasic_ProductDefinition; class StepRepr_ShapeAspect; //! Representation of STEP SELECT type SpecifiedItem
class StepAP203_SpecifiedItem : 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 StepAP203_SpecifiedItem(); //! Recognizes a kind of SpecifiedItem select type
//! 1 -> ProductDefinition from StepBasic
//! 2 -> ShapeAspect from StepRepr
//! 0 else
Standard_EXPORT Standard_Integer CaseNum(const Handle(Standard_Transient)& ent) const; //! Returns Value as ProductDefinition (or Null if another type)
Standard_EXPORT Handle_StepBasic_ProductDefinition ProductDefinition() const; //! Returns Value as ShapeAspect (or Null if another type)
Standard_EXPORT Handle_StepRepr_ShapeAspect ShapeAspect() const; protected: private: }; // other Inline functions and methods (like "C++: function call" methods) #endif