32 const XMLCh*
const localname,
33 const XMLCh*
const qname,
51 unsigned int numAtts = attrs.getLength();
52 std::vector<std::string> attrNames, attrValues;
54 for (
unsigned int i = 0; i < numAtts; ++
i)
60 myElement->loadAttributes(myElementName, attrNames, attrValues,
nmspace_,
cpv_);
67 const XMLCh*
const localname,
68 const XMLCh*
const qname )
90 myElement->setParent(
parent());
91 myElement->setSelf(
self());
92 myElement->processElement(myElementName, nmspace,
cpv_);
99 const XMLSize_t length )
103 for (XMLSize_t
i = 0;
i < length; ++
i)
106 inString = inString +
s;
108 if (myElement->gotText())
109 myElement->appendText(inString);
111 myElement->loadText(inString);
116 const XMLSize_t length )
DDLSAX2FileHandler(DDCompactView &cpv)
virtual const std::string & parent() const
void endElement(const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname) override
virtual const std::string & self() const
static std::string & ns()
std::vector< std::string > namesMap_
type of data representation of DDCompactView
static value_type & instance()
void comment(const XMLCh *const chars, const XMLSize_t length) override
ZStr< char > cStr(XMLCh const *str)
void characters(const XMLCh *const chars, const XMLSize_t length) override
std::vector< size_t > names_
static void createConstantsFromEvaluator()
creates all DDConstants from the variables of the ClhepEvaluator
void startElement(const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname, const Attributes &attrs) override
XERCES_CPP_NAMESPACE::Attributes Attributes
void createDDConstants() const
creates all DDConstant from the evaluator which has been already 'filled' in the first scan of the do...