Go to the documentation of this file.
20 std::vector<std::string>
names;
21 std::vector<std::string>
values;
22 names.emplace_back(
"name");
24 values.emplace_back(atts.find(
"name")->second);
25 refmat->loadAttributes(
"rMaterial",
names,
values, nmspace, cpv);
virtual void clear(void)
clear this element's contents.
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.
const std::string names[nVars_]
Compact representation of the geometrical detector hierarchy.
std::map< std::string, std::string > DDXMLAttribute
This is a base class for processing XML elements in the DDD.
virtual void setReference(const std::string &nmspace, DDCompactView &cpv)
std::shared_ptr< DDXMLElement > getElement(const std::string &name)
THE most important part. Getting the pointer to a given element type.
DDLMaterial(DDLElementRegistry *myreg)
DDLElementRegistry * myRegistry_