10#include "../Scheduler/Scheduler.h"
11#include "../Global/fmodule.h"
13#include <boost/archive/text_oarchive.hpp>
14#include <boost/archive/text_iarchive.hpp>
15#include <boost/serialization/vector.hpp>
16#include <boost/serialization/unique_ptr.hpp>
17#include <boost/serialization/string.hpp>
18#include <boost/serialization/export.hpp>
65 template<
class Archive>
66 void serialize(Archive & ar,
const unsigned int version) {
Table of procedure actions that branch on the control value they set.
std::vector< std::unique_ptr< BranchProcedureControlValueUnit > > control_value_branches
The entries, in file order.
BranchProcedureControlValue()
void copyBranchProcedureControlValue(BranchProcedureControlValue &)
Appends deep copies of the entries of another table. Existing entries are kept, so call it on an empt...
virtual ~BranchProcedureControlValue()
void saveBranchProcedureControlValueToFile(std::ofstream &)
Writes the label BranchProcedureControlValue, the entry count and every entry to a text restart strea...
void readInfoFromFile()
Loads ProcedureControlValueBranches.txt from the EOP directory (Scheduler::getEOPDirectory()) and app...
BranchProcedureControlValueUnit * checkToGenerateControlValueBranches(std::string, std::string, std::string)
Looks up the control value branch definition of a procedure action.
void retreiveBranchProcedureControlValueFromFile(std::ifstream &)
Reads the layout written by saveBranchProcedureControlValueToFile and appends the entries it reads.
void clearBranchProcedureControlValue()
Removes every entry.
void serialize(Archive &ar, const unsigned int version)