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> 37 template <
class T,
class CO>
42 typedef XERCES_CPP_NAMESPACE::DOMNode
DOMNode;
55 void startCalibration();
60 void updateCalibration(
const typename T::Input &calibrationInput);
62 void updateCalibration(
const typename T::Input &calibrationInputForCategory,
const CI &inputForCalibration);
70 CO *readObject(DOMNode *);
71 bool readCategories();
77 m_xml->openFile(m_filename);
79 return m_xml->calibrationDOM();
87 template <
class T,
class CO>
95 template <
class T,
class CO>
101 template <
class T,
class CO>
108 if (n1->getNodeType() == DOMNode::ELEMENT_NODE) {
118 n1 = n1->getNextSibling();
123 template <
class T,
class CO>
127 if (n1->getNodeType() == DOMNode::ELEMENT_NODE)
129 n1 = n1->getNextSibling();
CO * readObject(DOMNode *)
AlgorithmCalibration(const std::string &fileName)
XERCES_CPP_NAMESPACE::DOMNode DOMNode
XERCES_CPP_NAMESPACE::DOMElement DOMElement
int addEntry(const T &categoryDefinition, const CO &data)