00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #include "torc/generic/om/DumpRestoreConfig.hpp"
00017
00018 #ifndef HAVE_CONFIG_H
00019 #include "torc/generic/config.h"
00020 #endif
00021
00022 #ifdef GENOM_SERIALIZATION
00023 #include <boost/archive/binary_iarchive.hpp>
00024 #include <boost/archive/binary_oarchive.hpp>
00025 #include <boost/serialization/weak_ptr.hpp>
00026 #endif //GENOM_SERIALIZATION
00027
00028 #include "torc/generic/om/Extern.hpp"
00029
00030 namespace torc {
00031
00032 namespace generic {
00033
00034
00035
00036
00037
00038
00039 void
00040 Extern::setIsExtern(bool inIsExtern) throw() {
00041 mIsExtern = inIsExtern;
00042 }
00043
00044 Extern::Extern()
00045 :mIsExtern(false) {
00046 }
00047
00048 Extern::~Extern() throw() {
00049 }
00050
00051 #ifdef GENOM_SERIALIZATION
00052 template<class Archive> void
00053 Extern::serialize( Archive &ar, unsigned int ) {
00054 ar & mIsExtern;
00055 }
00056
00057
00058 template void
00059 Extern::serialize<boost::archive::binary_iarchive>(
00060 boost::archive::binary_iarchive & ar, const unsigned int);
00061
00062 template void
00063 Extern::serialize<boost::archive::binary_oarchive>(
00064 boost::archive::binary_oarchive & ar, const unsigned int);
00065
00066 #endif //GENOM_SERIALIZATION
00067
00068 }
00069
00070 }