|
Hierarchical Edge Bundle 1.0
|
#include <LoadData.h>

Public Member Functions | |
| LoadData () | |
| virtual | ~LoadData () |
| std::string | GetIntegerToString (int i) |
Static Public Member Functions | |
| static char * | ConvertStringToChar (std::string string) |
Protected Member Functions | |
| void | ReadXMLFile (const char *file) |
| LoadData (const char *file) | |
| virtual int | attribsLoading (TiXmlElement *pElement, unsigned int indent)=0 |
| const char * | getIndent (unsigned int numIndents) |
Protected Attributes | |
| TiXmlDocument | doc |
| bool | loadOkay |
Static Protected Attributes | |
| static const unsigned int | NUM_INDENTS_PER_SPACE = 2 |
LoadData class.
This class provides functions for saving and loading a XML file.
| LoadData::LoadData | ( | ) |
constructor:
| virtual LoadData::~LoadData | ( | ) | [inline, virtual] |
dekonstruktor
| LoadData::LoadData | ( | const char * | file | ) | [protected] |
This method reads a XML file
| [const | char*] path to XML file |
| virtual int LoadData::attribsLoading | ( | TiXmlElement * | pElement, |
| unsigned int | indent | ||
| ) | [protected, pure virtual] |
This method loads the attributes
| pElement | [TiXMLElement*] the XML element |
| indent | [int] indent |
Implemented in LoadXMLTree.
| char * LoadData::ConvertStringToChar | ( | std::string | string | ) | [static] |
This method convert a string to a char*
| string | [std::string] input string |
| const char * LoadData::getIndent | ( | unsigned int | numIndents | ) | [protected] |
This method returns the indent
| numIndents | [unsigned int] number of indents |

| std::string LoadData::GetIntegerToString | ( | int | i | ) |
This method converts a integer to string
| i | [int] integervalue |

| void LoadData::ReadXMLFile | ( | const char * | file | ) | [protected] |
This method reads a XML file
| file | [const char*] path to XML file |

TiXmlDocument LoadData::doc [protected] |
bool LoadData::loadOkay [protected] |
const unsigned int LoadData::NUM_INDENTS_PER_SPACE = 2 [static, protected] |
1.7.4