7 #ifndef NUKLEI_IIS_OBSERVATIONSERIAL_H
8 #define NUKLEI_IIS_OBSERVATIONSERIAL_H
11 #include <boost/ptr_container/ptr_list.hpp>
16 #ifdef NUKLEI_USE_TICPP
21 template <
class T >
class Iterator;
30 IisReader(
const std::string &observationFileName);
33 Observation::Type type()
const {
return Observation::IIS; }
39 NUKLEI_UNIQUE_PTR<Observation> readObservation_();
40 std::string observationFileName_;
42 #ifdef NUKLEI_USE_TICPP
43 boost::shared_ptr<ticpp::Document> in_;
44 typedef ticpp::Iterator< ticpp::Element > ElementIterator;
45 boost::shared_ptr<ElementIterator> e_;
52 IisWriter(
const std::string &observationFileName);
55 Observation::Type type()
const {
return Observation::IIS; }
60 NUKLEI_UNIQUE_PTR<Observation> templateObservation()
const
61 {
return NUKLEI_UNIQUE_PTR<Observation>(NUKLEI_MOVE(
new IisObservation)); }
67 std::string observationFileName_;
68 #ifdef NUKLEI_USE_TICPP
69 boost::shared_ptr<ticpp::Document> out_;