// 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 _DDF_TransactionStack_HeaderFile #define _DDF_TransactionStack_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_DDF_Transaction_HeaderFile #include #endif #ifndef _Handle_DDF_StackNodeOfTransactionStack_HeaderFile #include #endif #ifndef _Standard_Boolean_HeaderFile #include #endif class Standard_NoSuchObject; class DDF_StackIteratorOfTransactionStack; class DDF_Transaction; class DDF_StackNodeOfTransactionStack; class DDF_TransactionStack { 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 DDF_TransactionStack(); Standard_EXPORT const DDF_TransactionStack& Assign(const DDF_TransactionStack& Other) ; const DDF_TransactionStack& operator =(const DDF_TransactionStack& Other) { return Assign(Other); } Standard_Boolean IsEmpty() const; Standard_Integer Depth() const; Standard_EXPORT const Handle_DDF_Transaction& Top() const; Standard_EXPORT void Push(const Handle(DDF_Transaction)& I) ; Standard_EXPORT void Pop() ; Standard_EXPORT void Clear() ; ~DDF_TransactionStack() { Clear(); } Standard_EXPORT Handle_DDF_Transaction& ChangeTop() ; friend class DDF_StackIteratorOfTransactionStack; protected: private: Standard_EXPORT DDF_TransactionStack(const DDF_TransactionStack& Other); Standard_Address myTop; Standard_Integer myDepth; }; #define Item Handle_DDF_Transaction #define Item_hxx #define TCollection_StackNode DDF_StackNodeOfTransactionStack #define TCollection_StackNode_hxx #define TCollection_StackIterator DDF_StackIteratorOfTransactionStack #define TCollection_StackIterator_hxx #define Handle_TCollection_StackNode Handle_DDF_StackNodeOfTransactionStack #define TCollection_StackNode_Type_() DDF_StackNodeOfTransactionStack_Type_() #define TCollection_Stack DDF_TransactionStack #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