← Documentation
ADS-IDAC Engine 5.0.0
DecisionScannedParameter.cpp
Go to the documentation of this file.
1// DecisionScannedParameter.cpp: implementation of the DecisionScannedParameter class.
2//
4
6#include <boost/serialization/export.hpp>
7#include <boost/archive/binary_oarchive.hpp>
8#include <boost/archive/binary_iarchive.hpp>
9BOOST_CLASS_EXPORT_IMPLEMENT(DecisionScannedParameter)
10using namespace std;
11
13// Construction/Destruction
15
17{
18 scan_priority = -999;
20}
21
23{
24
25}
26
28{
31 this->copyMentalInfo(_dsp);
32 this->copyDecision(_dsp);
33 this->copyKBElement(_dsp);
34}
35
37{
38 fout << type_of_scanned_parameter << ' '
39 << scan_priority << '\n';
40 this->saveMentalInfoToFile(fout);
41 this->saveDecisionToFile(fout);
42 this->saveKBElementToFile(fout);
43}
44
46{
49 this->retrieveDecisionFromFile(fin);
51}
52
void copyDecisionScannedParameter(DecisionScannedParameter)
void saveDecisionScannedParameterToFile(std::ofstream &)
void retrieveDecisionScannedParameterFromFile(std::ifstream &)
void copyDecision(Decision &)
Definition: Decision.cpp:28
void saveDecisionToFile(std::ostream &)
Definition: Decision.cpp:32
void retrieveDecisionFromFile(std::istream &)
Definition: Decision.cpp:37
void retrieveKBElementFromFile(std::ifstream &)
Definition: KBElement.cpp:36
void saveKBElementToFile(std::ofstream &)
Definition: KBElement.cpp:33
void copyKBElement(KBElement &)
Definition: KBElement.cpp:30
void retrieveMentalInfoFromFile(std::ifstream &)
Definition: MentalInfo.cpp:37
void copyMentalInfo(MentalInfo &)
Definition: MentalInfo.cpp:30
void saveMentalInfoToFile(std::ofstream &)
Definition: MentalInfo.cpp:34
constexpr int None
Definition: SimConstants.h:75