Open CASCADE Technology  7.2.0
Public Member Functions
XmlObjMgt_Persistent Class Reference

root for XML-persistence More...

#include <XmlObjMgt_Persistent.hxx>

Public Member Functions

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

const XmlObjMgt_Element& XmlObjMgt_Persistent::Element ( ) const

return myElement

◆ Element() [2/2]

XmlObjMgt_Element& XmlObjMgt_Persistent::Element ( )

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: