45 for( ; i < myNumeric->
size(); ++
i )
52 for( i = 0; i < myString->
size(); ++
i )
55 sArgs[atts.find(
"name" )->second] = atts.find(
"value" )->second;
void execute(DDCompactView &)
executes the wrapped algorithm algo_; some pre- and post-processing (exception handling) ...
wrapper around a DDAlgorithm
DDLElementRegistry * myRegistry_
DDLVector handles Rotation and ReflectionRotation elements.
ReadMapType< std::vector< std::string > > & getMapOfStrVectors()
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.
ReadMapType< std::map< std::string, double > > & getMapOfMaps(void)
type of data representation of DDCompactView
std::map< std::string, std::string > DDXMLAttribute
void initialize(const std::string &algoName, const DDLogicalPart &parent, const DDNumericArguments &nArgs, const DDVectorArguments &vArgs, const DDMapArguments &mArgs, const DDStringArguments &sArgs, const DDStringVectorArguments &svArgs)
initializes the wrapped algorithm algo_ and does some pre- and post-processing
ReadMapType< std::vector< double > > & getMapOfVectors()
DDXMLElement * getElement(const std::string &name)
THE most important part. Getting the pointer to a given element type.
void processElement(const std::string &name, const std::string &nmspace, DDCompactView &cpv) override
Processing the element.
ClhepEvaluator & evaluator()
virtual size_t size(void) const
Number of elements accumulated.
A DDLogicalPart aggregates information concerning material, solid and sensitveness ...
void preProcessElement(const std::string &name, const std::string &nmspace, DDCompactView &cpv) override
Called by loadAttributes AFTER attributes are loaded.
DDLMap handles Map container.
This is a base class for processing XML elements in the DDD.
DDLAlgorithm(DDLElementRegistry *myreg)
double eval(const std::string &ns, const std::string &expr)
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)