← Documentation
ADS-IDAC Engine 5.0.0
ProcedureExpectORLink.h
Go to the documentation of this file.
1#pragma once
2
3#include <iostream>
4#include <typeinfo>
5// ProcedureExpectORLink.h: interface for the ProcedureExpectORLink class.
6//
8
9#include <fstream>
10#include <boost/serialization/base_object.hpp>
11#include <boost/archive/text_oarchive.hpp>
12#include <boost/archive/text_iarchive.hpp>
13#include <boost/serialization/export.hpp>
14
15
17{
18public:
20 virtual ~ProcedureExpectORLink();
21 void setORLink(int);
22 int getORLink();
23 void reafInfoFromFile(std::ifstream &);
25 void saveProcedureExpectORLinkToFile(std::ofstream &);
26 void retrieveProcedureExpectORLinkFromFile(std::ifstream &);
28 template<class Archive>
29 void serialize(Archive & ar, const unsigned int version)
30 {
31// std::cout << "Serializing class: " << typeid(*this).name() << std::endl;
32 ar & or_link;
33 }
34private:
36};
37
38
39BOOST_CLASS_EXPORT_KEY(ProcedureExpectORLink)