GEAR  1.6.1
 All Classes Namespaces Functions Variables Typedefs Enumerations Friends Pages
GearXML.h
1 #ifndef GEAR_GearXML_H
2 #define GEAR_GearXML_H 1
3 
4 
5 #include <string>
6 #include "gear/GearMgr.h"
7 
8 
9 namespace gear {
10 
11  class GearMgrImpl ;
12 
18  class GearXML {
19 
20  public:
21 
23  GearXML( const std::string& fileName ) ;
24 
25  ~GearXML() ;
26 
32 
33 
36  static void createXMLFile( GearMgr* mgr, const std::string& fileName ) ;
37 
38 
39  protected:
40 
41  std::string _fileName ;
42  GearMgrImpl* _gearMgr ;
43 
44  }; // class
45 
46 } // namespace gear
47 
48 #endif /* ifndef GEAR_GearXML_H */
GearXML(const std::string &fileName)
C'tor specifying the file name.
Definition: GearXML.cc:38
GearMgr * createGearMgr()
Creates an instance of GearMgr from the data given in the XML file.
Definition: GearXML.cc:473
Manager class that returns the Gear classes for the relevant subdetectors.
Definition: GearMgrImpl.h:23
Implementation of GEAR using XML.
Definition: GearXML.h:18
static void createXMLFile(GearMgr *mgr, const std::string &fileName)
Write an XML file to disk from the given GearMgr object.
Definition: GearXML.cc:50
Abstract interface for a manager class that returns the Gear classes for the relevant subdetectors...
Definition: GearMgr.h:36