Go to the documentation of this file.
52 if (atts.find(
"category") != atts.end())
virtual void clear(void)
clear this element's contents.
void preProcessElement(const std::string &name, const std::string &nmspace, DDCompactView &cpv) override
Called by loadAttributes AFTER attributes are loaded.
The main class for processing parsed elements.
virtual const DDXMLAttribute & getAttributeSet(size_t aIndex=0) const
Get a "row" of attributes, i.e. one attribute set.
DDMaterial is used to define and access material information.
Compact representation of the geometrical detector hierarchy.
std::map< std::string, std::string > DDXMLAttribute
A DDLogicalPart aggregates information concerning material, solid and sensitveness ....
This is a base class for processing XML elements in the DDD.
DDLLogicalPart(DDLElementRegistry *myreg)
void processElement(const std::string &name, const std::string &nmspace, DDCompactView &cpv) override
Processing the element.
const virtual DDName getDDName(const std::string &defaultNS, const std::string &attname=std::string("name"), size_t aIndex=0)
std::shared_ptr< DDXMLElement > getElement(const std::string &name)
THE most important part. Getting the pointer to a given element type.
A DDSolid represents the shape of a part.
DDLElementRegistry * myRegistry_
std::map< std::string, DDEnums::Category > catMap_