#include <Configuration.h>
Public Member Functions | |
IBlobStreamingService * | blobStreamingService () |
Configuration () | |
Properties & | properties () |
IReferenceHandler * | referenceHandler () |
void | setBlobStreamingService (IBlobStreamingService *service) |
void | setMessageVerbosity (coral::MsgLevel level) |
void | setReferenceHandler (IReferenceHandler *handler) |
virtual | ~Configuration () |
Static Public Member Functions | |
static std::string | automaticContainerCreation () |
static std::string | automaticDatabaseCreation () |
static std::string | automaticSchemaEvolution () |
Private Attributes | |
std::auto_ptr < IBlobStreamingService > | m_blobStreamingService |
Properties | m_properties |
std::auto_ptr< IReferenceHandler > | m_referenceHandler |
Definition at line 16 of file Configuration.h.
ora::Configuration::Configuration | ( | ) |
Definition at line 20 of file Configuration.cc.
: m_blobStreamingService(), m_referenceHandler(), m_properties(){ //coral::MessageStream::setMsgVerbosity( coral::Info ); }
ora::Configuration::~Configuration | ( | ) | [virtual] |
Definition at line 29 of file Configuration.cc.
{ }
std::string ora::Configuration::automaticContainerCreation | ( | ) | [static] |
Definition at line 10 of file Configuration.cc.
Referenced by ora::getContainerFromSession(), and ora::ContainerSchema::mappingForDependentClass().
{ static std::string s_automaticContainerCreation("ORA_AUTOMATIC_CONTAINER_CREATION"); return s_automaticContainerCreation; }
std::string ora::Configuration::automaticDatabaseCreation | ( | ) | [static] |
Definition at line 5 of file Configuration.cc.
Referenced by ora::getContainerFromSession(), ora::DatabaseUtilitySession::importContainerSchema(), ora::ContainerSchema::mappingForDependentClass(), ora::Database::open(), and cond::SessionImpl::open().
{ static std::string s_automaticDatabaseCreation("ORA_AUTOMATIC_DATABASE_CREATION"); return s_automaticDatabaseCreation; }
std::string ora::Configuration::automaticSchemaEvolution | ( | ) | [static] |
Definition at line 15 of file Configuration.cc.
Referenced by ora::ContainerSchema::mapping(), and ora::ContainerSchema::mappingForDependentClass().
{ static std::string s_automaticSchemaEvolution("ORA_AUTOMATIC_SCHEMA_EVOLUTION"); return s_automaticSchemaEvolution; }
ora::IBlobStreamingService * ora::Configuration::blobStreamingService | ( | ) |
Definition at line 36 of file Configuration.cc.
{ return m_blobStreamingService.get(); }
ora::Properties & ora::Configuration::properties | ( | ) |
Definition at line 48 of file Configuration.cc.
{ return m_properties; }
ora::IReferenceHandler * ora::Configuration::referenceHandler | ( | ) |
Definition at line 44 of file Configuration.cc.
{ return m_referenceHandler.get(); }
void ora::Configuration::setBlobStreamingService | ( | IBlobStreamingService * | service | ) |
Definition at line 32 of file Configuration.cc.
{ m_blobStreamingService.reset( service ); }
void ora::Configuration::setMessageVerbosity | ( | coral::MsgLevel | level | ) |
Definition at line 52 of file Configuration.cc.
{ coral::MessageStream::setMsgVerbosity( level ); }
void ora::Configuration::setReferenceHandler | ( | IReferenceHandler * | handler | ) |
Definition at line 40 of file Configuration.cc.
{ m_referenceHandler.reset( handler ); }
std::auto_ptr<IBlobStreamingService> ora::Configuration::m_blobStreamingService [private] |
Definition at line 43 of file Configuration.h.
Properties ora::Configuration::m_properties [private] |
Definition at line 47 of file Configuration.h.
std::auto_ptr<IReferenceHandler> ora::Configuration::m_referenceHandler [private] |
Definition at line 45 of file Configuration.h.