// 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 _StepGeom_PcurveOrSurface_HeaderFile #define _StepGeom_PcurveOrSurface_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_StepGeom_Pcurve_HeaderFile #include #endif #ifndef _Handle_StepGeom_Surface_HeaderFile #include #endif class Standard_Transient; class StepGeom_Pcurve; class StepGeom_Surface; class StepGeom_PcurveOrSurface : 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); } //! Returns a PcurveOrSurface SelectType
Standard_EXPORT StepGeom_PcurveOrSurface(); //! Recognizes a PcurveOrSurface Kind Entity that is :
//! 1 -> Pcurve
//! 2 -> Surface
//! 0 else
Standard_EXPORT Standard_Integer CaseNum(const Handle(Standard_Transient)& ent) const; //! returns Value as a Pcurve (Null if another type)
Standard_EXPORT Handle_StepGeom_Pcurve Pcurve() const; //! returns Value as a Surface (Null if another type)
Standard_EXPORT Handle_StepGeom_Surface Surface() const; protected: private: }; // other Inline functions and methods (like "C++: function call" methods) #endif