Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

RepositoryStub.h

Go to the documentation of this file.
00001 #ifndef Impala_Persistency_RepositoryStub_h
00002 #define Impala_Persistency_RepositoryStub_h
00003 
00004 #include "Persistency/Locator.h"
00005 
00006 namespace Impala
00007 {
00008 namespace Persistency
00009 {
00010 
00011 
00012 class RepositoryStub
00013 {
00014 public:
00015 
00016     RepositoryStub()
00017     {
00018     }
00019 
00020     void*
00021     Get(const Locator& loc)
00022     {
00023         ILOG_ERROR("Get: I am a stub and should never be called");
00024         return 0;
00025     }
00026 
00027     void
00028     Add(const Locator& loc, void*)
00029     {
00030         ILOG_ERROR("Add: I am a stub and should never be called");
00031     }
00032 
00033 private:
00034 
00035     ILOG_VAR_DEC;
00036 };
00037 
00038 ILOG_VAR_INIT(RepositoryStub, Impala.Persistency);
00039 
00040 } // namespace Persistency
00041 } // namespace Impala
00042 
00043 #endif

Generated on Fri Mar 19 09:31:44 2010 for ImpalaSrc by  doxygen 1.5.1