// 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 _CDM_StackOfDocument_HeaderFile #define _CDM_StackOfDocument_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_Macro_HeaderFile #include #endif #ifndef _Standard_Address_HeaderFile #include #endif #ifndef _Standard_Integer_HeaderFile #include #endif #ifndef _Handle_CDM_Document_HeaderFile #include #endif #ifndef _Handle_CDM_StackNodeOfStackOfDocument_HeaderFile #include #endif #ifndef _Standard_Boolean_HeaderFile #include #endif class Standard_NoSuchObject; class CDM_StackIteratorOfStackOfDocument; class CDM_Document; class CDM_StackNodeOfStackOfDocument; class CDM_StackOfDocument { 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 CDM_StackOfDocument(); Standard_EXPORT const CDM_StackOfDocument& Assign(const CDM_StackOfDocument& Other) ; const CDM_StackOfDocument& operator =(const CDM_StackOfDocument& Other) { return Assign(Other); } Standard_Boolean IsEmpty() const; Standard_Integer Depth() const; Standard_EXPORT const Handle_CDM_Document& Top() const; Standard_EXPORT void Push(const Handle(CDM_Document)& I) ; Standard_EXPORT void Pop() ; Standard_EXPORT void Clear() ; ~CDM_StackOfDocument() { Clear(); } Standard_EXPORT Handle_CDM_Document& ChangeTop() ; friend class CDM_StackIteratorOfStackOfDocument; protected: private: Standard_EXPORT CDM_StackOfDocument(const CDM_StackOfDocument& Other); Standard_Address myTop; Standard_Integer myDepth; }; #define Item Handle_CDM_Document #define Item_hxx #define TCollection_StackNode CDM_StackNodeOfStackOfDocument #define TCollection_StackNode_hxx #define TCollection_StackIterator CDM_StackIteratorOfStackOfDocument #define TCollection_StackIterator_hxx #define Handle_TCollection_StackNode Handle_CDM_StackNodeOfStackOfDocument #define TCollection_StackNode_Type_() CDM_StackNodeOfStackOfDocument_Type_() #define TCollection_Stack CDM_StackOfDocument #define TCollection_Stack_hxx #include #undef Item #undef Item_hxx #undef TCollection_StackNode #undef TCollection_StackNode_hxx #undef TCollection_StackIterator #undef TCollection_StackIterator_hxx #undef Handle_TCollection_StackNode #undef TCollection_StackNode_Type_ #undef TCollection_Stack #undef TCollection_Stack_hxx // other Inline functions and methods (like "C++: function call" methods) #endif