34 DCOUT_V(
'P',
"DDLTorus::processElement started");
41 ev.
eval(nmspace, atts.find(
"innerRadius")->second),
42 ev.
eval(nmspace, atts.find(
"outerRadius")->second),
43 ev.
eval(nmspace, atts.find(
"torusRadius")->second),
44 ev.
eval(nmspace, atts.find(
"startPhi")->second),
45 ev.
eval(nmspace, atts.find(
"deltaPhi")->second));
48 DCOUT_V(
'P',
"DDLTorus::processElement completed");
static DDSolid torus(const DDName &name, double rMin, double rMax, double rTorus, double startPhi, double deltaPhi)
virtual const DDXMLAttribute & getAttributeSet(size_t aIndex=0) const
Get a "row" of attributes, i.e. one attribute set.
DDLTorus(DDLElementRegistry *myreg)
Constructor.
type of data representation of DDCompactView
~DDLTorus(void)
Destructor.
std::map< std::string, std::string > DDXMLAttribute
A DDSolid represents the shape of a part.
static value_type & instance()
void processElement(const std::string &name, const std::string &nmspace, DDCompactView &cpv)
Processing the element.
Interface of an Expression Evaluator.
#define DCOUT_V(M_v_Y, M_v_S)
DDLSolid processes Box elements.
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 const DDName getDDName(const std::string &defaultNS, const std::string &attname=std::string("name"), size_t aIndex=0)
void setReference(const std::string &nmspace, DDCompactView &cpv)