#include <XMLmanager.h>
Public Member Functions | |
XMLmanager () | |
std::vector< TFPoint > * | loadFile (QFile *fileName) |
std::vector< QColor > * | loadLightFile (QFile *fileName) |
bool | saveFile (QFile *fileName, std::vector< TFPoint > *currPoints) |
bool | saveLightFile (QFile *fileName, std::vector< QColor > *currLights) |
Private Member Functions | |
QDomElement | manipPointToNode (QDomDocument &d, TFPoint &point) |
QDomElement | lightToNode (QDomDocument &d, QColor &light, int what) |
Private Attributes | |
QDomDocument | doc |
std::vector< TFPoint > | tfPoints |
std::vector< QColor > | lights |
XMLmanager::XMLmanager | ( | ) |
QDomElement XMLmanager::lightToNode | ( | QDomDocument & | d, | |
QColor & | light, | |||
int | what | |||
) | [private] |
std::vector< TFPoint > * XMLmanager::loadFile | ( | QFile * | fileName | ) |
std::vector< QColor > * XMLmanager::loadLightFile | ( | QFile * | fileName | ) |
QDomElement XMLmanager::manipPointToNode | ( | QDomDocument & | d, | |
TFPoint & | point | |||
) | [private] |
bool XMLmanager::saveFile | ( | QFile * | fileName, | |
std::vector< TFPoint > * | currPoints | |||
) |
bool XMLmanager::saveLightFile | ( | QFile * | fileName, | |
std::vector< QColor > * | currLights | |||
) |
QDomDocument XMLmanager::doc [private] |
std::vector<QColor> XMLmanager::lights [private] |
std::vector<TFPoint> XMLmanager::tfPoints [private] |