1 #ifndef DDL_ElementRegistry_H
2 #define DDL_ElementRegistry_H
8 #include "DetectorDescription/Base/interface/Singleton.icc"
12 #include <CLHEP/Evaluator/Evaluator.h>
DDXMLElement * getElement(const std::string &name)
THE most important part. Getting the pointer to a given element type.
static value_type & instance()
ClhepEvaluator & evaluator()
This is a base class for processing XML elements in the DDD.
const std::string & getElementName(DDXMLElement *theElement) const
Get the name given a pointer. This may not be needed...
DDI::Singleton< DDLElementRegistry > DDLGlobalRegistry
This is only here because of the boost::spirit::parser stuff of DDLMap needing to be re-designed...
std::map< std::string, DDXMLElement * > RegistryMap
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.