23 if(
parent() ==
"ConstantsSection" ||
parent() ==
"DDDefinition" )
25 std::unique_ptr<std::string> ts = std::make_unique<std::string>(
getAttributeSet().find(
"value" )->second );
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.
const std::string & parent(void) const
access to parent element name
void processElement(const std::string &name, const std::string &nmspace, DDCompactView &cpv) override
Processing the element.
Compact representation of the geometrical detector hierarchy.
a named constant corresponding to the DDL-XML tag <Constant> and <ConstantsVector> ...
void preProcessElement(const std::string &name, const std::string &nmspace, DDCompactView &cpv) override
Called by loadAttributes AFTER attributes are loaded.
DDLString(DDLElementRegistry *myreg)
This is a base class for processing XML elements in the DDD.
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)