35 std::vector<std::string>
names;
36 std::vector<std::string>
values;
37 names.push_back(
"name");
39 values.push_back(atts.find(
"name")->second);
45 DCOUT_V(
'P',
"DDLMaterial::setReference completed");
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
DDXMLElement * getElement(const std::string &name)
THE most important part. Getting the pointer to a given element type.
void loadAttributes(const std::string &elemName, const std::vector< std::string > &names, const std::vector< std::string > &values, const std::string &nmspace, DDCompactView &cpv)
Load the element attributes.
virtual size_t size(void) const
Number of elements accumulated.
virtual void setReference(const std::string &nmspace, DDCompactView &cpv)
#define DCOUT_V(M_v_Y, M_v_S)
virtual ~DDLMaterial(void)
Destructor.
This is a base class for processing XML elements in the DDD.
DDLMaterial(DDLElementRegistry *myreg)
Constructor.
The main class for processing parsed elements.
virtual void clear(void)
clear this element's contents.