CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/CondCore/ORA/interface/Configuration.h

Go to the documentation of this file.
00001 #ifndef INCLUDE_ORA_CONFIGURATION_H
00002 #define INCLUDE_ORA_CONFIGURATION_H
00003 
00004 #include "Properties.h"
00005 //
00006 #include <memory>
00007 // externals
00008 #include "CoralBase/MessageStream.h"
00009 
00010 namespace ora {
00011 
00012   class IBlobStreamingService;
00013   class IReferenceHandler;
00014   
00015   class Configuration {
00016     public:
00017 
00018     static std::string automaticDatabaseCreation();
00019     static std::string automaticContainerCreation();
00020     static std::string automaticSchemaEvolution();
00021     
00022     public:
00023 
00024     Configuration();
00025 
00026     virtual ~Configuration();
00027 
00028     void setBlobStreamingService( IBlobStreamingService* service );
00029     
00030     IBlobStreamingService* blobStreamingService();
00031 
00032     void setReferenceHandler( IReferenceHandler* handler );
00033     
00034     IReferenceHandler* referenceHandler();
00035 
00036     Properties& properties();
00037 
00038     void setMessageVerbosity( coral::MsgLevel level );
00039 
00040     private:
00041 
00042     std::auto_ptr<IBlobStreamingService> m_blobStreamingService;
00043     
00044     std::auto_ptr<IReferenceHandler> m_referenceHandler;
00045 
00046     Properties m_properties;
00047 
00048   };
00049 }
00050 
00051 #endif