12 #ifndef CXPATIENTSTORAGE_H
13 #define CXPATIENTSTORAGE_H
15 #include "cxResourceExport.h"
18 #include <boost/shared_ptr.hpp>
19 #include <boost/function.hpp>
20 #include <boost/bind.hpp>
54 void storeVariable(QString nodeName, boost::function<QString ()> getValueFunction, boost::function<
void (QString)> setValueFunction);
56 void duringSavePatientSlot(QDomElement &node);
57 void duringLoadPatientSlot(QDomElement &node);
59 QString mBaseNodeName;
60 std::map<QString, boost::function<QString()> > mGetFunctions;
61 std::map<QString, boost::function<void(QString value)> > mSetFunctions;
62 void addXml(QDomNode &parentNode);
63 void parseXml(QDomNode &dataNode);
67 #endif // CXPATIENTSTORAGE_H