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

StillsLocator.h

Go to the documentation of this file.
00001 #ifndef Impala_Persistency_StillsLocator_h
00002 #define Impala_Persistency_StillsLocator_h
00003 
00004 #include "Persistency/Locator.h"
00005 
00006 namespace Impala
00007 {
00008 namespace Persistency
00009 {
00010 
00011 
00012 class StillsLocator : public Locator
00013 {
00014 public:
00015 
00016     StillsLocator()
00017     {
00018     }
00019 
00020     StillsLocator(CString protocolAndHost, CString dataSet, CString name)
00021         : Locator(protocolAndHost, dataSet)
00022     {
00023         mName = name;
00024     }
00025 
00026     StillsLocator(CString dataSet, CString name, CmdOptions& options)
00027         : Locator(dataSet, options)
00028     {
00029         mName = name;
00030     }
00031 
00032     StillsLocator(const Locator& base, CString name)
00033         : Locator(base.GetProtocol(), base.GetHost(), base.GetDataSet())
00034     {
00035         mName = name;
00036     }
00037 
00038     virtual
00039     ~StillsLocator()
00040     {
00041     }
00042 
00043     String
00044     GetName() const
00045     {
00046         return mName;
00047     }
00048 
00049     String
00050     ToString() const
00051     {
00052         return "StillsLocator(" + GetProtocol() + "," + GetHost()
00053             + "," + GetDataSet() + "," + GetName() + ")";
00054     }
00055 
00056 private:
00057 
00058     String mName;
00059 
00060     ILOG_VAR_DEC;
00061 };
00062 
00063 ILOG_VAR_INIT(StillsLocator, Impala.Persistency);
00064 
00065 std::ostream&
00066 operator<< (std::ostream& os, const StillsLocator& loc)
00067 {
00068     os << loc.ToString();
00069     return os;
00070 }
00071 
00072 } // namespace Persistency
00073 } // namespace Impala
00074 
00075 #endif

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