GEAR  1.9.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Friends Pages
Public Member Functions | List of all members
gear::MergeXML Class Reference

class to merge two xml files. More...

#include <MergeXML.h>

Public Member Functions

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.
 
void makeDominant (const int domFileNr)
 determines what file is dominant. More...
 
bool mergeFiles (const std::string &fileName)
 merges files
 
 MergeXML ()
 constructor
 

Detailed Description

class to merge two xml files.

Author
R. Lippe, DESY
Version
$Id:

Definition at line 18 of file MergeXML.h.

Member Function Documentation

void gear::MergeXML::makeDominant ( const int  domFileNr)
inline

determines what file is dominant.

if nothing is set, file2 will overrule file1. argument is only 1 or 2

Definition at line 36 of file MergeXML.h.


The documentation for this class was generated from the following files: