Hierarchical Edge Bundle 1.0
J:/Caro/C++_Coding/HierarchicalEdgeBundle/HierarchicalEdgeBundle/header/LoadXMLTree.h
Go to the documentation of this file.
00001 #pragma once
00002 #include "LoadData.h"
00003 #include "ReadFile.h"
00004 
00006 
00010 class LoadXMLTree : public LoadData, public ReadFile
00011 {
00012 public:
00017         LoadXMLTree();
00021         ~LoadXMLTree();
00022         
00023         virtual vector<DataFromFile> Read(const char*  path);   
00024 protected:
00030         void loadingTag(TiXmlNode* pParent, unsigned int indent);
00037         int attribsLoading(TiXmlElement* pElement, unsigned int indent);
00038 
00039 private:
00040         //variables for internal use.
00041         bool failedLoading;
00042         vector<DataFromFile> data;
00043 
00044         int t_start;
00045         int t_end;
00046         int t_root;
00047         int t_id;
00048         std::string t_name;
00049 };
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Defines