// 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 _XmlObjMgt_Persistent_HeaderFile #define _XmlObjMgt_Persistent_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_Macro_HeaderFile #include #endif #ifndef _XmlObjMgt_Element_HeaderFile #include #endif #ifndef _Standard_Integer_HeaderFile #include #endif #ifndef _XmlObjMgt_DOMString_HeaderFile #include #endif class XmlObjMgt_Persistent { 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); } //! empty constructor
Standard_EXPORT XmlObjMgt_Persistent(); //! constructor
Standard_EXPORT XmlObjMgt_Persistent(const XmlObjMgt_Element& theElement); //! constructor from sub-element of Element referenced by theRef
Standard_EXPORT XmlObjMgt_Persistent(const XmlObjMgt_Element& theElement,const XmlObjMgt_DOMString& theRef); //! myElement :=
Standard_EXPORT void CreateElement(XmlObjMgt_Element& theParent,const XmlObjMgt_DOMString& theType,const Standard_Integer theID) ; Standard_EXPORT void SetId(const Standard_Integer theId) ; //! return myElement
const XmlObjMgt_Element& Element() const; inline operator const XmlObjMgt_Element&() const; //! return myElement
XmlObjMgt_Element& Element() ; inline operator XmlObjMgt_Element&(); Standard_Integer Id() const; protected: private: XmlObjMgt_Element myElement; Standard_Integer myID; }; #include // other Inline functions and methods (like "C++: function call" methods) #endif