9 #include <xercesc/dom/DOM.hpp> 31 ~ProcClassed()
override;
33 void configure(DOMElement *
elem)
override;
42 ProcClassed::ProcClassed(
const char *
name,
const AtomicId *
id,
48 ProcClassed::~ProcClassed()
52 void ProcClassed::configure(DOMElement *
elem)
54 DOMNode *node = elem->getFirstChild();
55 while(node && node->getNodeType() != DOMNode::ELEMENT_NODE)
56 node = node->getNextSibling();
59 std::strcmp(
XMLSimpleStr(node->getNodeName()),
"classes") != 0)
61 <<
"Expected classes tag in config section." 64 elem =
static_cast<DOMElement*
>(node);
66 count = XMLDocument::readAttribute<unsigned int>(
elem,
"count");
68 node = node->getNextSibling();
69 while(node && node->getNodeType() != DOMNode::ELEMENT_NODE)
70 node = node->getNextSibling();
74 <<
"Superfluous tags in config section."
MVATrainerComputer * calib
def elem(elemtype, innerHTML='', html_class='', kwargs)