← Documentation
ADS-IDAC Engine 5.0.0
DecisionExpectedSupportSystemState.h
Go to the documentation of this file.
1#include <iostream>
2#include <typeinfo>
3#ifndef DECISIONEXPECTEDSUPPORTSYSTEMSTATE_H
4#define DECISIONEXPECTEDSUPPORTSYSTEMSTATE_H
5
6#include "Decision.h"
9#include <boost/serialization/base_object.hpp>
10#include <boost/archive/text_oarchive.hpp>
11#include <boost/archive/text_iarchive.hpp>
12#include <boost/serialization/export.hpp>
13
16 public Decision,
18{
19 public:
25 // Serialization using Boost
27 template<class Archive>
28 void serialize(Archive & ar, const unsigned int version)
29 {
30// std::cout << "Serializing class: " << typeid(*this).name() << std::endl;
31 // Serialize base classes' data members
32 ar & boost::serialization::base_object<KBExpectedSupportSystemStateUnit>(*this);
33 ar & boost::serialization::base_object<Decision>(*this);
34 ar & boost::serialization::base_object<MentalSupportSystemState>(*this);
35 }
36
37};
38
39
40BOOST_CLASS_EXPORT_KEY(DecisionExpectedSupportSystemState)
41#endif //DECISIONEXPECTEDSUPPORTSYSTEMSTATE_H
void serialize(Archive &ar, const unsigned int version)
void copyDecisionExpectedSupportSystemState(DecisionExpectedSupportSystemState &)