25 std::vector<std::string>
names;
26 std::vector<std::string>
values;
27 names.emplace_back(
"name");
29 values.emplace_back(atts.find(
"name")->second);
30 refmat->loadAttributes(
"rMaterial", names, values, nmspace, cpv);
DDLElementRegistry * myRegistry_
static const HistoName names[]
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
std::shared_ptr< DDXMLElement > getElement(const std::string &name)
THE most important part. Getting the pointer to a given element type.
virtual void setReference(const std::string &nmspace, DDCompactView &cpv)
This is a base class for processing XML elements in the DDD.
DDLMaterial(DDLElementRegistry *myreg)
The main class for processing parsed elements.
virtual void clear(void)
clear this element's contents.