// 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 _IntPolyh_ArrayOfTriangles_HeaderFile #define _IntPolyh_ArrayOfTriangles_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_Macro_HeaderFile #include #endif #ifndef _Standard_Integer_HeaderFile #include #endif #ifndef _Standard_Address_HeaderFile #include #endif class IntPolyh_Triangle; class IntPolyh_ArrayOfTriangles { 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); } Standard_EXPORT IntPolyh_ArrayOfTriangles(); Standard_EXPORT IntPolyh_ArrayOfTriangles(const Standard_Integer nn); Standard_EXPORT void Init(const Standard_Integer nn) ; Standard_EXPORT const Standard_Integer GetN() const; Standard_EXPORT const Standard_Integer NbTriangles() const; Standard_EXPORT void SetNbTriangles(const Standard_Integer endaot) ; Standard_EXPORT void IncNbTriangles() ; Standard_EXPORT const IntPolyh_Triangle& Value(const Standard_Integer nn) const; const IntPolyh_Triangle& operator [](const Standard_Integer nn) const { return Value(nn); } Standard_EXPORT IntPolyh_Triangle& ChangeValue(const Standard_Integer nn) ; IntPolyh_Triangle& operator [](const Standard_Integer nn) { return ChangeValue(nn); } Standard_EXPORT IntPolyh_ArrayOfTriangles& Copy(const IntPolyh_ArrayOfTriangles& Other) ; IntPolyh_ArrayOfTriangles& operator =(const IntPolyh_ArrayOfTriangles& Other) { return Copy(Other); } Standard_EXPORT void Destroy() ; ~IntPolyh_ArrayOfTriangles() { Destroy(); } Standard_EXPORT void Dump() const; Standard_EXPORT void DumpFleches() const; protected: private: Standard_Integer n; Standard_Integer fintt; Standard_Address ptr; }; // other Inline functions and methods (like "C++: function call" methods) #endif