00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #include "torc/generic/om/DumpRestoreData.hpp"
00017
00018 #ifdef GENOM_SERIALIZATION
00019 namespace torc {
00020 namespace generic {
00021
00022 DumpRestoreData::DumpRestoreData(
00023 const std::string &inDumpPath,
00024 ObjectFactorySharedPtr inFactory,
00025 bool inRestoreAllComponents )
00026 :mDumpPath( inDumpPath ),
00027 mFactory( inFactory ),
00028 mRestoreAllComponents( inRestoreAllComponents ) {
00029 }
00030
00031 DumpRestoreData::DumpRestoreData( const DumpRestoreData &inRhs )
00032 :mDumpPath( inRhs.mDumpPath ),
00033 mFactory( inRhs.mFactory ),
00034 mRestoreAllComponents( inRhs.mRestoreAllComponents ) {
00035 }
00036
00037 DumpRestoreData::~DumpRestoreData() throw() {
00038 }
00039
00040 DumpRestoreData &
00041 DumpRestoreData::operator = ( const DumpRestoreData &inRhs ) {
00042 if( this != &inRhs )
00043 {
00044 mDumpPath = inRhs.mDumpPath;
00045 mFactory = inRhs.mFactory;
00046 mRestoreAllComponents = inRhs.mRestoreAllComponents;
00047 }
00048 return *this;
00049 }
00050
00051 }
00052 }
00053
00054 #endif //GENOM_SERIALIZATION