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