1 #ifndef DETECTOR_DESCRIPTION_PARSER_DDL_ELEMENT_REGISTRY_H 2 #define DETECTOR_DESCRIPTION_PARSER_DDL_ELEMENT_REGISTRY_H 6 #include <CLHEP/Evaluator/Evaluator.h> 25 typedef std::map<std::string, std::shared_ptr<DDXMLElement> >
RegistryMap;
ClhepEvaluator evaluator_
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.
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.