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 comment(const XMLCh *chars, XMLSize_t length) 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()
~DDLSAX2FileHandler() override
ZStr< char > cStr(XMLCh const *str)
std::vector< size_t > names_
static void createConstantsFromEvaluator()
creates all DDConstants from the variables of the ClhepEvaluator
void endElement(const XMLCh *uri, const XMLCh *localname, const XMLCh *qname) override
XERCES_CPP_NAMESPACE::Attributes Attributes
void startElement(const XMLCh *uri, const XMLCh *localname, const XMLCh *qname, const Attributes &attrs) override
void characters(const XMLCh *chars, XMLSize_t length) override
void createDDConstants() const
creates all DDConstant from the evaluator which has been already 'filled' in the first scan of the do...