Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

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")


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 = QString::null
 

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.

template<class T>
bool 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.

bool QGLViewerXML::readXML const QDomElement &   ,
CCameraKeyPathAttributes  
 

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

bool QGLViewerXML::readXML const QDomElement &   ,
CCameraKeyPathPoint  
 

Read a CCameraKeyPathPoint from a QDomNode.

bool QGLViewerXML::readXML const QDomElement &   ,
CCamera  
 

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

bool QGLViewerXML::readXML const QDomElement &   ,
CMat4D  
 

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

bool QGLViewerXML::readXML const QDomElement &   ,
CBoundingBox3D  
 

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

bool QGLViewerXML::readXML const QDomElement &   ,
CQuat  
 

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

bool QGLViewerXML::readXML const QDomElement &   ,
CV4D  
 

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

bool QGLViewerXML::readXML const QDomElement &   ,
CV3D  
 

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

bool QGLViewerXML::readXML const QDomElement &   ,
CV2D  
 

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

bool QGLViewerXML::readXML const QDomElement &   ,
CP4D  
 

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

bool QGLViewerXML::readXML const QDomElement &   ,
CP3D  
 

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

bool QGLViewerXML::readXML const QDomElement &   ,
CP2D  
 

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

template<class T>
bool 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.

bool QGLViewerXML::writeXML QDomElement   ,
const CCameraKeyPathAttributes  
 

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

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::writeXML QDomElement   ,
const CCamera  
 

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

bool QGLViewerXML::writeXML QDomElement   ,
const CMat4D  
 

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

bool QGLViewerXML::writeXML QDomElement   ,
const CBoundingBox3D  
 

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

bool QGLViewerXML::writeXML QDomElement   ,
const CQuat  
 

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

bool QGLViewerXML::writeXML QDomElement   ,
const CV4D  
 

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

bool QGLViewerXML::writeXML QDomElement   ,
const CV3D  
 

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

bool QGLViewerXML::writeXML QDomElement   ,
const CV2D  
 

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

bool QGLViewerXML::writeXML QDomElement   ,
const CP4D  
 

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

bool QGLViewerXML::writeXML QDomElement   ,
const CP3D  
 

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

bool QGLViewerXML::writeXML QDomElement   ,
const CP2D  
 

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


Generated on Wed Mar 5 18:23:26 2003 for QGLViewer by doxygen1.3-rc3