// 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 _StepFEA_ElementOrElementGroup_HeaderFile #define _StepFEA_ElementOrElementGroup_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_StepFEA_ElementRepresentation_HeaderFile #include #endif #ifndef _Handle_StepFEA_ElementGroup_HeaderFile #include #endif class Standard_Transient; class StepFEA_ElementRepresentation; class StepFEA_ElementGroup; //! Representation of STEP SELECT type ElementOrElementGroup
class StepFEA_ElementOrElementGroup : 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 StepFEA_ElementOrElementGroup(); //! Recognizes a kind of ElementOrElementGroup select type
//! 1 -> ElementRepresentation from StepFEA
//! 2 -> ElementGroup from StepFEA
//! 0 else
Standard_EXPORT Standard_Integer CaseNum(const Handle(Standard_Transient)& ent) const; //! Returns Value as ElementRepresentation (or Null if another type)
Standard_EXPORT Handle_StepFEA_ElementRepresentation ElementRepresentation() const; //! Returns Value as ElementGroup (or Null if another type)
Standard_EXPORT Handle_StepFEA_ElementGroup ElementGroup() const; protected: private: }; // other Inline functions and methods (like "C++: function call" methods) #endif