// 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 _StepRepr_RepresentedDefinition_HeaderFile #define _StepRepr_RepresentedDefinition_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_GeneralProperty_HeaderFile #include #endif #ifndef _Handle_StepRepr_PropertyDefinition_HeaderFile #include #endif #ifndef _Handle_StepRepr_PropertyDefinitionRelationship_HeaderFile #include #endif #ifndef _Handle_StepRepr_ShapeAspect_HeaderFile #include #endif #ifndef _Handle_StepRepr_ShapeAspectRelationship_HeaderFile #include #endif class Standard_Transient; class StepBasic_GeneralProperty; class StepRepr_PropertyDefinition; class StepRepr_PropertyDefinitionRelationship; class StepRepr_ShapeAspect; class StepRepr_ShapeAspectRelationship; //! Representation of STEP SELECT type RepresentedDefinition
class StepRepr_RepresentedDefinition : 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 StepRepr_RepresentedDefinition(); //! Recognizes a kind of RepresentedDefinition select type
//! 1 -> GeneralProperty from StepBasic
//! 2 -> PropertyDefinition from StepRepr
//! 3 -> PropertyDefinitionRelationship from StepRepr
//! 4 -> ShapeAspect from StepRepr
//! 5 -> ShapeAspectRelationship from StepRepr
//! 0 else
Standard_EXPORT Standard_Integer CaseNum(const Handle(Standard_Transient)& ent) const; //! Returns Value as GeneralProperty (or Null if another type)
Standard_EXPORT Handle_StepBasic_GeneralProperty GeneralProperty() const; //! Returns Value as PropertyDefinition (or Null if another type)
Standard_EXPORT Handle_StepRepr_PropertyDefinition PropertyDefinition() const; //! Returns Value as PropertyDefinitionRelationship (or Null if another type)
Standard_EXPORT Handle_StepRepr_PropertyDefinitionRelationship PropertyDefinitionRelationship() const; //! Returns Value as ShapeAspect (or Null if another type)
Standard_EXPORT Handle_StepRepr_ShapeAspect ShapeAspect() const; //! Returns Value as ShapeAspectRelationship (or Null if another type)
Standard_EXPORT Handle_StepRepr_ShapeAspectRelationship ShapeAspectRelationship() const; protected: private: }; // other Inline functions and methods (like "C++: function call" methods) #endif