33 DCOUT_V(
'P',
"DDLBox::processElement started" );
40 ev.
eval( nmspace, atts.find(
"dx" )->second ),
41 ev.
eval( nmspace, atts.find(
"dy" )->second ),
42 ev.
eval( nmspace, atts.find(
"dz" )->second ));
46 DCOUT_V(
'P',
"DDLBox::processElement completed" );
virtual const DDXMLAttribute & getAttributeSet(size_t aIndex=0) const
Get a "row" of attributes, i.e. one attribute set.
DDName is used to identify DDD entities uniquely.
type of data representation of DDCompactView
std::map< std::string, std::string > DDXMLAttribute
A DDSolid represents the shape of a part.
static value_type & instance()
DDLBox(DDLElementRegistry *myreg)
Constructor.
Interface of an Expression Evaluator.
static DDSolid box(const DDName &name, double xHalf, double yHalf, double zHalf)
Creates a box with side length 2*xHalf, 2*yHalf, 2*zHalf.
#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
void processElement(const std::string &name, const std::string &nmspace, DDCompactView &cpv)
Processing the element.
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)