// 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 _TopoDS_HeaderFile #define _TopoDS_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_Macro_HeaderFile #include #endif class TopoDS_Vertex; class TopoDS_Shape; class TopoDS_Edge; class TopoDS_Wire; class TopoDS_Face; class TopoDS_Shell; class TopoDS_Solid; class TopoDS_CompSolid; class TopoDS_Compound; class TopoDS_Shape; class TopoDS_HShape; class TopoDS_ListOfShape; class TopoDS_TShape; class TopoDS_TVertex; class TopoDS_Vertex; class TopoDS_TEdge; class TopoDS_Edge; class TopoDS_TWire; class TopoDS_Wire; class TopoDS_TFace; class TopoDS_Face; class TopoDS_TShell; class TopoDS_Shell; class TopoDS_TSolid; class TopoDS_Solid; class TopoDS_TCompSolid; class TopoDS_CompSolid; class TopoDS_TCompound; class TopoDS_Compound; class TopoDS_Builder; class TopoDS_Iterator; class TopoDS_ListNodeOfListOfShape; class TopoDS_ListIteratorOfListOfShape; //! Provides methods to cast objects of class
//! TopoDS_Shape to be onjects of more specialized
//! sub-classes. Types are verified, thus in the example
//! below, the first two blocks are correct but the third is
//! rejected by the compiler.
class TopoDS { 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); } static const TopoDS_Vertex& Vertex(const TopoDS_Shape& S) ; inline static TopoDS_Vertex& Vertex(TopoDS_Shape&); static const TopoDS_Edge& Edge(const TopoDS_Shape& S) ; inline static TopoDS_Edge& Edge(TopoDS_Shape&); static const TopoDS_Wire& Wire(const TopoDS_Shape& S) ; inline static TopoDS_Wire& Wire(TopoDS_Shape&); static const TopoDS_Face& Face(const TopoDS_Shape& S) ; inline static TopoDS_Face& Face(TopoDS_Shape&); static const TopoDS_Shell& Shell(const TopoDS_Shape& S) ; inline static TopoDS_Shell& Shell(TopoDS_Shape&); static const TopoDS_Solid& Solid(const TopoDS_Shape& S) ; inline static TopoDS_Solid& Solid(TopoDS_Shape&); static const TopoDS_CompSolid& CompSolid(const TopoDS_Shape& S) ; inline static TopoDS_CompSolid& CompSolid(TopoDS_Shape&); static const TopoDS_Compound& Compound(const TopoDS_Shape& S) ; inline static TopoDS_Compound& Compound(TopoDS_Shape&); protected: private: friend class TopoDS_Shape; friend class TopoDS_HShape; friend class TopoDS_ListOfShape; friend class TopoDS_TShape; friend class TopoDS_TVertex; friend class TopoDS_Vertex; friend class TopoDS_TEdge; friend class TopoDS_Edge; friend class TopoDS_TWire; friend class TopoDS_Wire; friend class TopoDS_TFace; friend class TopoDS_Face; friend class TopoDS_TShell; friend class TopoDS_Shell; friend class TopoDS_TSolid; friend class TopoDS_Solid; friend class TopoDS_TCompSolid; friend class TopoDS_CompSolid; friend class TopoDS_TCompound; friend class TopoDS_Compound; friend class TopoDS_Builder; friend class TopoDS_Iterator; friend class TopoDS_ListNodeOfListOfShape; friend class TopoDS_ListIteratorOfListOfShape; }; #include // other Inline functions and methods (like "C++: function call" methods) #endif