1 #ifndef DETECTOR_DESCRIPTION_PARSER_DDL_ELEMENT_REGISTRY_H 2 #define DETECTOR_DESCRIPTION_PARSER_DDL_ELEMENT_REGISTRY_H 5 #include "DetectorDescription/Core/interface/Singleton.icc" 8 #include <CLHEP/Evaluator/Evaluator.h> 29 typedef std::map <std::string, std::shared_ptr<DDXMLElement> >
RegistryMap;
static value_type & instance()
std::map< std::string, std::shared_ptr< DDXMLElement > > RegistryMap
ClhepEvaluator & evaluator()
std::shared_ptr< DDXMLElement > getElement(const std::string &name)
THE most important part. Getting the pointer to a given element type.
This is a base class for processing XML elements in the DDD.
DDI::Singleton< DDLElementRegistry > DDLGlobalRegistry
This is only here because of the boost::spirit::parser stuff of DDLMap needing to be re-designed...
The main class for processing parsed elements.
void registerElement(const std::string &name, DDXMLElement *)
This allows other Elements to register themselves with the static registry.