QGLViewerXML Namespace Reference


Functions

QDomElement addNode (QDomElement &parent, const QString &member=QString::null)
QDomElement queryNode (const QDomElement &parent, const QString &member)
bool readXML (const QDomElement &, CP2D &)
bool writeXML (QDomElement, const CP2D &)
bool readXML (const QDomElement &, CP3D &)
bool writeXML (QDomElement, const CP3D &)
bool readXML (const QDomElement &, CP4D &)
bool writeXML (QDomElement, const CP4D &)
bool readXML (const QDomElement &, CV2D &)
bool writeXML (QDomElement, const CV2D &)
bool readXML (const QDomElement &, CV3D &)
bool writeXML (QDomElement, const CV3D &)
bool readXML (const QDomElement &, CV4D &)
bool writeXML (QDomElement, const CV4D &)
bool readXML (const QDomElement &, CQuat &)
bool writeXML (QDomElement, const CQuat &)
bool readXML (const QDomElement &, CBoundingBox3D &)
bool writeXML (QDomElement, const CBoundingBox3D &)
bool readXML (const QDomElement &, CMat4D &)
bool writeXML (QDomElement, const CMat4D &)
bool readXML (const QDomElement &, CCamera &)
bool writeXML (QDomElement, const CCamera &)
bool readXML (const QDomElement &, CCameraKeyPathPoint &)
bool writeXML (QDomElement, const CCameraKeyPathPoint &, bool fParams=true)
bool readXML (const QDomElement &, CCameraKeyPathAttributes &)
bool writeXML (QDomElement, const CCameraKeyPathAttributes &)
template<class T>
bool readXML (const QDomElement &domElem, CList< T > &list, QString tagName="CList")
template<class T>
bool writeXML (QDomElement domElem, const CList< T > &list, QString tagName="CList")
QDomElement addNode (QDomElement &parent, const QString &member)
QDomElement queryNode (const QDomElement &parent, const QString &member)
bool readXML (const QDomElement &domElem, CP2D &point)
bool writeXML (QDomElement domElem, const CP2D &point)
bool readXML (const QDomElement &domElem, CP3D &point)
bool writeXML (QDomElement domElem, const CP3D &point)
bool readXML (const QDomElement &domElem, CP4D &point)
bool writeXML (QDomElement domElem, const CP4D &point)
bool readXML (const QDomElement &domElem, CV2D &point)
bool writeXML (QDomElement domElem, const CV2D &point)
bool readXML (const QDomElement &domElem, CV3D &point)
bool writeXML (QDomElement domElem, const CV3D &point)
bool readXML (const QDomElement &domElem, CV4D &point)
bool writeXML (QDomElement domElem, const CV4D &point)
bool readXML (const QDomElement &domElem, CQuat &point)
bool writeXML (QDomElement domElem, const CQuat &point)
bool readXML (const QDomElement &domElem, CBoundingBox3D &bbox)
bool writeXML (QDomElement domElem, const CBoundingBox3D &bbox)
bool readXML (const QDomElement &domElem, CMat4D &mat)
bool writeXML (QDomElement domElem, const CMat4D &mat)
bool readXML (const QDomElement &domElem, CCamera &cam)
bool writeXML (QDomElement domElem, const CCamera &cam)
bool readXML (const QDomElement &domElem, CCameraKeyPathPoint &camPoint)
bool writeXML (QDomElement domElem, const CCameraKeyPathPoint &camPoint, bool fParams)
bool readXML (const QDomElement &domElem, CCameraKeyPathAttributes &atts)
bool writeXML (QDomElement domElem, const CCameraKeyPathAttributes &atts)


Detailed Description

Namespace of serialization functions of different classes into XML documents and other help functions.

Author:
Michael Meissner, Alexander Buck


Function Documentation

QDomElement QGLViewerXML::addNode ( QDomElement &  parent,
const QString &  member 
)

documentation stuff

Author:
Michael Meissner
Version:
0.0 //see cvs docu

QDomElement QGLViewerXML::queryNode ( const QDomElement &  parent,
const QString &  member 
)

Queries the node with member attribute as specified out of the children of the parent node.

bool QGLViewerXML::readXML ( const QDomElement &  ,
CP2D  
)

Read a CP2D from a QDomNode. The read CP2D and the corresponding QString are passed along.

bool QGLViewerXML::writeXML ( QDomElement  ,
const CP2D  
)

Write a CP2D into a QDomNode. The write uses the CP2D and the corresponding QString.

bool QGLViewerXML::readXML ( const QDomElement &  ,
CP3D  
)

Read a CP3D from a QDomNode. The read CP3D and the corresponding QString are passed along.

bool QGLViewerXML::writeXML ( QDomElement  ,
const CP3D  
)

Write a CP3D into a QDomNode. The write uses the CP3D and the corresponding QString.

bool QGLViewerXML::readXML ( const QDomElement &  ,
CP4D  
)

Read a CP4D from a QDomNode. The read CP4D and the corresponding QString are passed along.

bool QGLViewerXML::writeXML ( QDomElement  ,
const CP4D  
)

Write a CP4D into a QDomNode. The write uses the CP4D and the corresponding QString.

bool QGLViewerXML::readXML ( const QDomElement &  ,
CV2D  
)

Read a CV2D from a QDomNode. The read CV2D and the corresponding QString are passed along.

bool QGLViewerXML::writeXML ( QDomElement  ,
const CV2D  
)

Write a CV2D into a QDomNode. The write uses the CV2D and the corresponding QString.

bool QGLViewerXML::readXML ( const QDomElement &  ,
CV3D  
)

Read a CV3D from a QDomNode. The read CV3D and the corresponding QString are passed along.

bool QGLViewerXML::writeXML ( QDomElement  ,
const CV3D  
)

Write a CV3D into a QDomNode. The write uses the CV3D and the corresponding QString.

bool QGLViewerXML::readXML ( const QDomElement &  ,
CV4D  
)

Read a CV4D from a QDomNode. The read CV4D and the corresponding QString are passed along.

bool QGLViewerXML::writeXML ( QDomElement  ,
const CV4D  
)

Write a CV4D into a QDomNode. The write uses the CV4D and the corresponding QString.

bool QGLViewerXML::readXML ( const QDomElement &  ,
CQuat  
)

Read a CQuat from a QDomNode. The read CQuat and the corresponding QString are passed along.

bool QGLViewerXML::writeXML ( QDomElement  ,
const CQuat  
)

Write a CQuat into a QDomNode. The write uses the CQuat and the corresponding QString.

bool QGLViewerXML::readXML ( const QDomElement &  ,
CBoundingBox3D  
)

Read a CBoundingBox3D from a QDomNode. The read BoundingBox and the corresponding QString are passed along.

bool QGLViewerXML::writeXML ( QDomElement  ,
const CBoundingBox3D  
)

Write a CBoundingBox3D into a QDomNode. The write uses the CBoundingBox3D and the corresponding QString.

bool QGLViewerXML::readXML ( const QDomElement &  ,
CMat4D  
)

Read a CMat4D from a QDomNode. The read CMat4D and the corresponding QString are passed along.

bool QGLViewerXML::writeXML ( QDomElement  ,
const CMat4D  
)

Write a CMat4D into a QDomNode. The write uses the CMat4D and the corresponding QString.

bool QGLViewerXML::readXML ( const QDomElement &  ,
CCamera  
)

Read a CCamera from a QDomNode. The read CCamera and the corresponding QString are passed along.

bool QGLViewerXML::writeXML ( QDomElement  ,
const CCamera  
)

Write a CCamera into a QDomNode. The write uses the CCamera and the corresponding QString.

bool QGLViewerXML::readXML ( const QDomElement &  ,
CCameraKeyPathPoint  
)

Read a CCameraKeyPathPoint from a QDomNode.

bool QGLViewerXML::writeXML ( QDomElement  ,
const CCameraKeyPathPoint ,
bool  fParams = true 
)

Write a QCameraKeyPathPoint into a QDomNode. The attributes are only saved if fParams is true.

bool QGLViewerXML::readXML ( const QDomElement &  ,
CCameraKeyPathAttributes  
)

Read CCameraKeyPathAttributes from a QDomNode. The read CCameraKeyPathAttributes and the corresponding QString are passed along.

bool QGLViewerXML::writeXML ( QDomElement  ,
const CCameraKeyPathAttributes  
)

Write CCameraKeyPathAttributes into a QDomNode. The write uses the CCameraKeyPathAttributes and the corresponding QString.

template<class T>
bool QGLViewerXML::readXML ( const QDomElement &  domElem,
CList< T > &  list,
QString  tagName = "CList" 
)

Deserializes a CList. The members are added to the passed CList. The object type needs to have a default constructor. Returns true on success, false on error.

template<class T>
bool QGLViewerXML::writeXML ( QDomElement  domElem,
const CList< T > &  list,
QString  tagName = "CList" 
)

Serializes a CList. Object type needs to have a writeXML method with reference passing. Returns true on success, false on error.

QDomElement QGLViewerXML::addNode ( QDomElement &  parent,
const QString &  member 
)

documentation stuff

Author:
Michael Meissner
Version:
0.0 //see cvs docu

QDomElement QGLViewerXML::queryNode ( const QDomElement &  parent,
const QString &  member 
)

Queries the node with member attribute as specified out of the children of the parent node.

bool QGLViewerXML::readXML ( const QDomElement &  ,
CP2D  
)

Read a CP2D from a QDomNode. The read CP2D and the corresponding QString are passed along.

bool QGLViewerXML::writeXML ( QDomElement  ,
const CP2D  
)

Write a CP2D into a QDomNode. The write uses the CP2D and the corresponding QString.

bool QGLViewerXML::readXML ( const QDomElement &  ,
CP3D  
)

Read a CP3D from a QDomNode. The read CP3D and the corresponding QString are passed along.

bool QGLViewerXML::writeXML ( QDomElement  ,
const CP3D  
)

Write a CP3D into a QDomNode. The write uses the CP3D and the corresponding QString.

bool QGLViewerXML::readXML ( const QDomElement &  ,
CP4D  
)

Read a CP4D from a QDomNode. The read CP4D and the corresponding QString are passed along.

bool QGLViewerXML::writeXML ( QDomElement  ,
const CP4D  
)

Write a CP4D into a QDomNode. The write uses the CP4D and the corresponding QString.

bool QGLViewerXML::readXML ( const QDomElement &  ,
CV2D  
)

Read a CV2D from a QDomNode. The read CV2D and the corresponding QString are passed along.

bool QGLViewerXML::writeXML ( QDomElement  ,
const CV2D  
)

Write a CV2D into a QDomNode. The write uses the CV2D and the corresponding QString.

bool QGLViewerXML::readXML ( const QDomElement &  ,
CV3D  
)

Read a CV3D from a QDomNode. The read CV3D and the corresponding QString are passed along.

bool QGLViewerXML::writeXML ( QDomElement  ,
const CV3D  
)

Write a CV3D into a QDomNode. The write uses the CV3D and the corresponding QString.

bool QGLViewerXML::readXML ( const QDomElement &  ,
CV4D  
)

Read a CV4D from a QDomNode. The read CV4D and the corresponding QString are passed along.

bool QGLViewerXML::writeXML ( QDomElement  ,
const CV4D  
)

Write a CV4D into a QDomNode. The write uses the CV4D and the corresponding QString.

bool QGLViewerXML::readXML ( const QDomElement &  ,
CQuat  
)

Read a CQuat from a QDomNode. The read CQuat and the corresponding QString are passed along.

bool QGLViewerXML::writeXML ( QDomElement  ,
const CQuat  
)

Write a CQuat into a QDomNode. The write uses the CQuat and the corresponding QString.

bool QGLViewerXML::readXML ( const QDomElement &  ,
CBoundingBox3D  
)

Read a CBoundingBox3D from a QDomNode. The read BoundingBox and the corresponding QString are passed along.

bool QGLViewerXML::writeXML ( QDomElement  ,
const CBoundingBox3D  
)

Write a CBoundingBox3D into a QDomNode. The write uses the CBoundingBox3D and the corresponding QString.

bool QGLViewerXML::readXML ( const QDomElement &  ,
CMat4D  
)

Read a CMat4D from a QDomNode. The read CMat4D and the corresponding QString are passed along.

bool QGLViewerXML::writeXML ( QDomElement  ,
const CMat4D  
)

Write a CMat4D into a QDomNode. The write uses the CMat4D and the corresponding QString.

bool QGLViewerXML::readXML ( const QDomElement &  ,
CCamera  
)

Read a CCamera from a QDomNode. The read CCamera and the corresponding QString are passed along.

bool QGLViewerXML::writeXML ( QDomElement  ,
const CCamera  
)

Write a CCamera into a QDomNode. The write uses the CCamera and the corresponding QString.

bool QGLViewerXML::readXML ( const QDomElement &  ,
CCameraKeyPathPoint  
)

Read a CCameraKeyPathPoint from a QDomNode.

bool QGLViewerXML::writeXML ( QDomElement  ,
const CCameraKeyPathPoint ,
bool  fParams = true 
)

Write a QCameraKeyPathPoint into a QDomNode. The attributes are only saved if fParams is true.

bool QGLViewerXML::readXML ( const QDomElement &  ,
CCameraKeyPathAttributes  
)

Read CCameraKeyPathAttributes from a QDomNode. The read CCameraKeyPathAttributes and the corresponding QString are passed along.

bool QGLViewerXML::writeXML ( QDomElement  ,
const CCameraKeyPathAttributes  
)

Write CCameraKeyPathAttributes into a QDomNode. The write uses the CCameraKeyPathAttributes and the corresponding QString.


Generated on Mon Jul 10 22:37:39 2006 for QGLViewer by  doxygen 1.4.7