1 #ifndef GEAR_MergeXML_H
2 #define GEAR_MergeXML_H
5 #include "gearxml/tinyxml.h"
7 #define NAME_STR "name"
25 bool setFile1(
const std::string& fileName ) ;
30 bool setFile2(
const std::string& fileName ) ;
38 if (domFileNr==1 || domFileNr==2) {
39 _domFile = domFileNr ;
45 bool mergeFiles (
const std::string& fileName ) ;
62 bool checkXML(
const std::string& fileName ) ;
65 void correctDominantFile() ;
83 std::string getNodeName(
TiXmlNode* node ) ;
bool mergeFiles(const std::string &fileName)
merges files
Always the top level node.
The parent class for everything in the Document Object Model.
void makeDominant(const int domFileNr)
determines what file is dominant.
The element is a container class.
class to merge two xml files.
bool setFile1(const std::string &fileName)
Sets first filename returns true if file can be read.
bool setFile2(const std::string &fileName)
Sets second filename returns true if file can be read.