42 DCOUT_V(
'P',
"DDLAlgorithm::processElement started" );
57 for( ; i < myNumeric->
size(); ++
i )
64 for( i = 0; i < myString->
size(); ++
i )
67 sArgs[atts.find(
"name" )->second] = atts.find(
"value" )->second;
85 DCOUT_V(
'P',
"DDLAlgorithm::processElement(...)" );
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()
~DDLAlgorithm()
Destructor.
DDXMLElement * getElement(const std::string &name)
THE most important part. Getting the pointer to a given element type.
ClhepEvaluator & evaluator()
virtual size_t size(void) const
Number of elements accumulated.
void preProcessElement(const std::string &name, const std::string &nmspace, DDCompactView &cpv)
Called by loadAttributes AFTER attributes are loaded.
A DDLogicalPart aggregates information concerning material, solid and sensitveness ...
#define DCOUT_V(M_v_Y, M_v_S)
DDLMap handles Map container.
void processElement(const std::string &name, const std::string &nmspace, DDCompactView &cpv)
Processing the element.
This is a base class for processing XML elements in the DDD.
DDLAlgorithm(DDLElementRegistry *myreg)
Constructor.
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)