1 #ifndef ALGORITHM_CALIBRATION_H
2 #define ALGORITHM_CALIBRATION_H
7 #include <xercesc/dom/DOM.hpp>
8 #include <xercesc/dom/DOMElement.hpp>
9 #include <xercesc/util/XMLString.hpp>
19 namespace XERCES_CPP_NAMESPACE {
class DOMNode; }
42 typedef XERCES_CPP_NAMESPACE::DOMNode
DOMNode;
61 template <
class CI>
void updateCalibration(
const typename T::Input & calibrationInputForCategory,
const CI & inputForCalibration);
92 template <
class T,
class CO>
101 template <
class T,
class CO>
104 if(m_xml)
delete m_xml;
107 template <
class T,
class CO>
110 if(
dom()==0)
return false;
115 if (n1->getNodeType() == DOMNode::ELEMENT_NODE )
119 CO *
obj =readObject(n1->getFirstChild());
127 n1 = n1->getNextSibling();
132 template <
class T,
class CO>
138 if (n1->getNodeType() == DOMNode::ELEMENT_NODE )
140 n1 = n1->getNextSibling();
CO * readObject(DOMNode *)
AlgorithmCalibration(const std::string &fileName)
void updateCalibration(const typename T::Input &calibrationInput)
XERCES_CPP_NAMESPACE::DOMNode DOMNode
DOMElement * calibrationDOM()
XERCES_CPP_NAMESPACE::DOMElement DOMElement
void openFile(const std::string &xmlFileName)
void saveCalibration(const std::string &fileName)