1 #ifndef GEAR_PadRowLayout2DXML_H
2 #define GEAR_PadRowLayout2DXML_H 1
13 class PadRowLayout2D ;
17 class PadRowLayout2DXML ;
27 typedef std::map< std::string, PadRowLayout2DXML* > Map ;
virtual PadRowLayout2D * fromXML(const TiXmlElement *xmlElement) const =0
Creates the appropriate PadRowLayout2D subclass from the given XML element (node) ...
virtual TiXmlElement toXML(const PadRowLayout2D *layout) const =0
Creates an XML node for the given PadRowLayout2D.
Abstract description of a planar subdetector with pads (cells) that are positioned in rows (circular ...
static Map & map()
The map with available xml handler objects (PadRowLayout2DXML)
static PadRowLayout2DXML * getHandler(const std::string &typeName)
Get handler for given type.
The element is a container class.
Abstract XML handler for PadRowLayout2DXML.