GEAR  1.9.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Friends Pages
FTDParametersXML.h
1 #ifndef GEAR_FTDParametersXML_H
2 #define GEAR_FTDParametersXML_H 1
3 
4 #include "gearxml/XMLHandler.h"
5 
6 #include <string>
7 
8 namespace gear
9 {
10  class TiXmlNode ;
11 
18  class FTDParametersXML : public XMLHandler
19  {
20  public:
21 
24  virtual TiXmlElement toXML( const GearParameters & parameters ) const ;
25 
29  virtual GearParameters* fromXML( const TiXmlElement* xmlElement, GearMgr* gearMgr=0) const ;
30  }; //class
31 } // namespace
32 
33 #endif
Interface for XML handlers of GEAR classes.
Definition: XMLHandler.h:17
XML handler for FTDParameters.
Abstract interface for a set of parameters that can be used to describe the geometrical properties of...
The element is a container class.
Definition: tinyxml.h:827
virtual TiXmlElement toXML(const GearParameters &parameters) const
Creates an XML node for the given parameters.
Abstract interface for a manager class that returns the Gear classes for the relevant subdetectors...
Definition: GearMgr.h:36
virtual GearParameters * fromXML(const TiXmlElement *xmlElement, GearMgr *gearMgr=0) const
Creates the appropriate GearParameters subclass from the given XML element (node) ...