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> 42 typedef XERCES_CPP_NAMESPACE::DOMNode
DOMNode;
55 void startCalibration();
60 void updateCalibration(
const typename T::Input & calibrationInput);
61 template <
class CI>
void updateCalibration(
const typename T::Input & calibrationInputForCategory,
const CI & inputForCalibration);
70 CO* readObject(DOMNode *);
71 bool readCategories();
80 m_xml->openFile(m_filename);
83 return m_xml->calibrationDOM();
92 template <
class T,
class CO>
101 template <
class T,
class CO>
107 template <
class T,
class CO>
110 if(
dom()==0)
return false;
115 if (n1->getNodeType() == DOMNode::ELEMENT_NODE )
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)
XERCES_CPP_NAMESPACE::DOMNode DOMNode
XERCES_CPP_NAMESPACE::DOMElement DOMElement
int addEntry(const T &categoryDefinition, const CO &data)