Hierarchical Edge Bundle 1.0
J:/Caro/C++_Coding/HierarchicalEdgeBundle/HierarchicalEdgeBundle/header/LoadData.h
Go to the documentation of this file.
00001 #pragma once
00002 
00003 #include <tinyxml.h>
00004 #include <string>
00005 #include <vector>
00006 #include <iostream>
00007 
00008 using namespace std;
00009 
00011 
00016 class LoadData
00017 {
00018 public:
00022         LoadData();
00026         virtual ~LoadData(){};
00027         
00033         static char* ConvertStringToChar(std::string string);
00039         std::string GetIntegerToString(int i);
00040 
00041 protected:
00046         void ReadXMLFile(const char* file);
00051         LoadData(const char* file);     
00057         virtual int attribsLoading(TiXmlElement* pElement, unsigned int indent) = 0;
00062         const char* getIndent( unsigned int numIndents );
00063         static const unsigned int NUM_INDENTS_PER_SPACE = 2;
00064 
00065         TiXmlDocument doc;
00066         bool loadOkay;
00067 };
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Defines