Open CASCADE Technology 7.8.2.dev
XmlObjMgt_Persistent Class Reference

root for XML-persistence More...

#include <XmlObjMgt_Persistent.hxx>

Public Member Functions

 XmlObjMgt_Persistent ()
 empty constructor
 
 XmlObjMgt_Persistent (const XmlObjMgt_Element &theElement)
 constructor
 
 XmlObjMgt_Persistent (const XmlObjMgt_Element &theElement, const XmlObjMgt_DOMString &theRef)
 constructor from sub-element of Element referenced by theRef
 
void CreateElement (XmlObjMgt_Element &theParent, const XmlObjMgt_DOMString &theType, const Standard_Integer theID)
 myElement := <theType id="theID">
 
void SetId (const Standard_Integer theId)
 
const XmlObjMgt_ElementElement () const
 return myElement
 
 operator const XmlObjMgt_Element & () const
 
XmlObjMgt_ElementElement ()
 return myElement
 
 operator XmlObjMgt_Element & ()
 
Standard_Integer Id () const
 

Detailed Description

root for XML-persistence

Constructor & Destructor Documentation

◆ XmlObjMgt_Persistent() [1/3]

XmlObjMgt_Persistent::XmlObjMgt_Persistent ( )

empty constructor

◆ XmlObjMgt_Persistent() [2/3]

XmlObjMgt_Persistent::XmlObjMgt_Persistent ( const XmlObjMgt_Element & theElement)

constructor

◆ XmlObjMgt_Persistent() [3/3]

XmlObjMgt_Persistent::XmlObjMgt_Persistent ( const XmlObjMgt_Element & theElement,
const XmlObjMgt_DOMString & theRef )

constructor from sub-element of Element referenced by theRef

Member Function Documentation

◆ CreateElement()

void XmlObjMgt_Persistent::CreateElement ( XmlObjMgt_Element & theParent,
const XmlObjMgt_DOMString & theType,
const Standard_Integer theID )

myElement := <theType id="theID">

◆ Element() [1/2]

XmlObjMgt_Element & XmlObjMgt_Persistent::Element ( )

return myElement

◆ Element() [2/2]

const XmlObjMgt_Element & XmlObjMgt_Persistent::Element ( ) const

return myElement

◆ Id()

Standard_Integer XmlObjMgt_Persistent::Id ( ) const

◆ operator const XmlObjMgt_Element &()

XmlObjMgt_Persistent::operator const XmlObjMgt_Element & ( ) const
inline

◆ operator XmlObjMgt_Element &()

XmlObjMgt_Persistent::operator XmlObjMgt_Element & ( )
inline

◆ SetId()

void XmlObjMgt_Persistent::SetId ( const Standard_Integer theId)

The documentation for this class was generated from the following file: