00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #ifndef TORC_GENERIC_OM_EDIFVERSION_HPP
00017 #define TORC_GENERIC_OM_EDIFVERSION_HPP
00018
00019 #include "torc/generic/om/DumpRestoreConfig.hpp"
00020
00021
00022 #include<boost/cstdint.hpp>
00023
00024 #ifdef GENOM_SERIALIZATION
00025 #include <boost/serialization/access.hpp>
00026 #endif //GENOM_SERIALIZATION
00027
00028 namespace torc {
00029
00030 namespace generic {
00031
00032
00033
00034
00035 struct EdifVersion {
00036
00037 #ifdef GENOM_SERIALIZATION
00038 friend class boost::serialization::access;
00039 #endif //GENOM_SERIALIZATION
00040
00041 public:
00042 EdifVersion();
00043
00044 ~EdifVersion() throw();
00045
00046 EdifVersion(const EdifVersion & source) throw();
00047
00048 EdifVersion &
00049 operator=(const EdifVersion & source) throw();
00050
00051 public:
00052 uint8_t mFirst;
00053 uint8_t mSecond;
00054 uint8_t mThird;
00055
00056 private:
00057 #ifdef GENOM_SERIALIZATION
00058 template<class Archive> void
00059 serialize( Archive &ar, unsigned int );
00060 #endif //GENOM_SERIALIZATION
00061
00062 };
00063
00064 }
00065
00066 }
00067 #endif // TORC_GENERIC_OM_EDIFVERSION_HPP