35 DCOUT_V(
'P',
"DDLElementaryMaterial::processElement started" );
41 ev.
eval( nmspace, atts.find(
"atomicNumber" )->second ),
42 ev.
eval( nmspace, atts.find(
"atomicWeight" )->second ),
43 ev.
eval( nmspace, atts.find(
"density" )->second ));
48 DCOUT_V(
'P',
"DDLElementaryMaterial::processElement completed." );
DDLMaterial processes Box elements.
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
~DDLElementaryMaterial(void)
Destructor.
std::map< std::string, std::string > DDXMLAttribute
static value_type & instance()
virtual void setReference(const std::string &nmspace, DDCompactView &cpv)
Interface of an Expression Evaluator.
DDLElementaryMaterial(DDLElementRegistry *myreg)
Constructor.
void processElement(const std::string &name, const std::string &nmspace, DDCompactView &cpv)
Processing the element.
#define DCOUT_V(M_v_Y, M_v_S)
virtual double eval(const std::string &ns, const std::string &expr)=0
evaluate an expression expr inside the local namespace
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)