7 #ifndef NUKLEI_NUKLEI_OBSERVATIONSERIAL_H
8 #define NUKLEI_NUKLEI_OBSERVATIONSERIAL_H
11 #include <boost/ptr_container/ptr_list.hpp>
16 #ifdef NUKLEI_USE_TICPP
21 template <
class T >
class Iterator;
38 Observation::Type type()
const {
return Observation::NUKLEI; }
44 NUKLEI_UNIQUE_PTR<Observation> readObservation_();
45 std::string observationFileName_;
47 #ifdef NUKLEI_USE_TICPP
48 boost::shared_ptr<ticpp::Document> in_;
49 typedef ticpp::Iterator< ticpp::Element > ElementIterator;
50 boost::shared_ptr<ElementIterator> e_;
52 boost::shared_ptr<tinyxml2::XMLDocument> in_;
53 tinyxml2::XMLElement* e_;
63 Observation::Type type()
const {
return Observation::NUKLEI; }
68 NUKLEI_UNIQUE_PTR<Observation> templateObservation()
const
75 std::string observationFileName_;
76 #ifdef NUKLEI_USE_TICPP
77 boost::shared_ptr<ticpp::Document> out_;
80 boost::shared_ptr<tinyxml2::XMLDocument> out_;
81 tinyxml2::XMLElement* kc_;