GEAR  1.9.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Friends Pages
SimpleMaterialXML.h
1 #ifndef GEAR_SimpleMaterialXML_H
2 #define GEAR_SimpleMaterialXML_H 1
3 
4 
5 namespace gear {
6 
7  class TiXmlNode ;
8  class TiXmlElement ;
9  class SimpleMaterial ;
10  class GearMgr ;
11 
18 
19  public:
20 
21  virtual ~SimpleMaterialXML() { /*nop*/ ;} ;
22 
25  virtual TiXmlElement toXML( const SimpleMaterial& material ) const ;
26 
29  virtual SimpleMaterial* fromXML( const TiXmlElement* xmlElement, GearMgr* gearMgr=0) const ;
30 
31 
32  }; //class
33 
34 } // namespace
35 
36 #endif
XML handler for SimpleMaterial.
Abstract interface for a simple material description tjhat hold s the following properties: A...
The element is a container class.
Definition: tinyxml.h:827
virtual SimpleMaterial * fromXML(const TiXmlElement *xmlElement, GearMgr *gearMgr=0) const
Creates a SimpleMaterial from the XML element (node)
virtual TiXmlElement toXML(const SimpleMaterial &material) const
Creates an XML node for the given material.
Abstract interface for a manager class that returns the Gear classes for the relevant subdetectors...
Definition: GearMgr.h:36