#include <DbImplementation.h>
Inheritance diagram for OODataBaseImplementation:

Public Methods | |
| virtual unsigned long | addRef () |
| IInterface implementation: Increase reference count. More... | |
| virtual unsigned long | release () |
| IInterface implementation: Decrease reference count. More... | |
| virtual StatusCode | queryInterface (const IID& riid, void** ppvInterface) |
| IInterface implementation: Query interface. More... | |
| virtual StatusCode | initialize (const std::string& name) |
| IOODataBase implementation: Initialize the database. More... | |
| virtual StatusCode | finalize (void) |
| IOODataBase implementation: Finalize the database. More... | |
| virtual unsigned char | type () const |
| IOODataBase implementation: Access to OODataBase type. More... | |
| virtual const std::string& | name () const |
| IOODataBase implementation: Object's name. More... | |
| virtual const std::string& | driver () const |
| IOODataBase implementation: Driver's name. More... | |
| virtual void | setDriver (const std::string& drv) |
| IOODataBase implementation: Set the name of the driver's implementation. More... | |
| virtual const std::string& | server () const |
| IOODataBase implementation: Database server's name. More... | |
| virtual void | setServer (const std::string& srv) |
| IOODataBase implementation: Set the name of the database server host. More... | |
| virtual const DbTypeInfo* | typeInfo (const std::string& nam) const |
| IOODataBase implementation: Retrieve type information (CONST). More... | |
| virtual DbTypeInfo* | typeInfo (const std::string& nam) |
| IOODataBase implementation: Retrieve type information. More... | |
| virtual DbResult | addTypeInfo (const std::string& nam, DbTypeInfo * info) |
| IOODataBase implementation: Add type information. More... | |
| virtual DbTypeInfo* | addTypeInfo (const std::string& nam, const std::string& t_type, const std::string& p_type, const std::string& desc, std::vector<DbColumn*>& cols) |
| IOODataBase implementation: Create type information item for object binding. More... | |
| virtual DbTypeInfo* | addTypeInfo (const IDbDataBase::Type* pType) |
| IOODataBase implementation: Create type information item for object binding. More... | |
| virtual DbResult | prepareLink (const dbObjectHandle<DbObject>& objH, dbHandle<DbLink>& linkH, void* gen) |
| IOODataBase implementation: Prepare link between objects. More... | |
| virtual StatusCode | setProperty (const Property& p) |
| virtual StatusCode | setProperty ( std::istream& s ) |
| Implementation of IProperty::setProperty. More... | |
| virtual StatusCode | setProperty ( const std::string& n, const std::string& v) |
| Implementation of IProperty::setProperty. More... | |
| virtual StatusCode | getProperty (Property* p) const |
| virtual const Property& | getProperty ( const std::string& name) const |
| virtual StatusCode | getProperty ( const std::string& n, std::string& v ) const |
| Implementation of IProperty::getProperty. More... | |
| virtual const std::vector< Property*>& | getProperties ( ) const |
| virtual StatusCode | setProperties () |
| template<classT> StatusCode | declareProperty ( const std::string& name, T& property ) const |
| Declare named properties. More... | |
| IMessageSvc* | msgSvc () |
| Allow access to message service. More... | |
| const IMessageSvc* | msgSvc () const |
| Allow access to message service (CONST). More... | |
Protected Methods | |
| OODataBaseImplementation (IInterface* loc, unsigned char typ) | |
| Standard Constructor. More... | |
| virtual | ~OODataBaseImplementation () |
| Standard Destructor. More... | |
Protected Attributes | |
| long | m_refCount |
| Reference counter. More... | |
| unsigned char | m_type |
| Type the implementation belongs to. More... | |
| std::string | m_name |
| Object name. More... | |
| std::string | m_driver |
| Driver's name. More... | |
| std::string | m_server |
| Driver's name. More... | |
| std::string | m_defTType |
| Default transient object type. More... | |
| std::string | m_defPType |
| Default persistent object type. More... | |
| ISvcLocator* | m_svcLocator |
| Reference to service locator object. More... | |
| IMessageSvc* | m_messageSvc |
| Reference to message service. More... | |
| PropertyMgr* | m_propertyMgr |
| Reference to proprty manager. More... | |
| IObjManager* | m_objMgr |
| Reference to the object manager. More... | |
Private Types | |
| typedef std::map<std::string, DbTypeInfo*> | DataTypes |
Private Attributes | |
| DataTypes | m_types |
Description: Generic helper class to implement stuff common to all existing databases. The base implementations can allways be overwritten.
History :
+---------+----------------------------------------------+--------+
| Date | Comment | Who |
+---------+----------------------------------------------+--------+
| 30/10/99| Initial version. | MF |
+---------+----------------------------------------------+--------+
Author: M.Frank Version: 1.0
Definition at line 92 of file DbImplementation.h.
|
|
Definition at line 98 of file DbImplementation.h. |
|
|
Standard Constructor.
Definition at line 47 of file DbImplementation.cpp. |
|
|
Standard Destructor.
Definition at line 68 of file DbImplementation.cpp. |
|
|
IInterface implementation: Increase reference count.
Definition at line 86 of file DbImplementation.cpp. Referenced by queryInterface(). |
|
|
IOODataBase implementation: Create type information item for object binding.
Reimplemented from IOODataBase. Definition at line 232 of file DbImplementation.cpp. |
|
|
IOODataBase implementation: Create type information item for object binding.
Reimplemented from IOODataBase. Definition at line 195 of file DbImplementation.cpp. |
|
|
IOODataBase implementation: Add type information.
Reimplemented from IOODataBase. Definition at line 185 of file DbImplementation.cpp. Referenced by addTypeInfo(). |
|
||||||
|
Declare named properties.
Definition at line 181 of file DbImplementation.h. Referenced by OODataBaseImplementation(). |
|
|
IOODataBase implementation: Driver's name.
Reimplemented from IOODataBase. Definition at line 128 of file DbImplementation.cpp. |
|
|
IOODataBase implementation: Finalize the database.
Reimplemented from IOODataBase. Definition at line 162 of file DbImplementation.cpp. |
|
|
Definition at line 301 of file DbImplementation.cpp. |
|
|
Implementation of IProperty::getProperty.
Definition at line 297 of file DbImplementation.cpp. |
|
|
Definition at line 293 of file DbImplementation.cpp. |
|
|
Definition at line 289 of file DbImplementation.cpp. |
|
|
IOODataBase implementation: Initialize the database.
Reimplemented from IOODataBase. Definition at line 148 of file DbImplementation.cpp. |
|
|
Allow access to message service (CONST).
Definition at line 81 of file DbImplementation.cpp. |
|
|
Allow access to message service.
Reimplemented from IOODataBase. Definition at line 76 of file DbImplementation.cpp. |
|
|
IOODataBase implementation: Object's name.
Reimplemented from IOODataBase. Definition at line 118 of file DbImplementation.cpp. Referenced by setProperties(). |
|
|
IOODataBase implementation: Prepare link between objects.
Reimplemented from IOODataBase. Definition at line 261 of file DbImplementation.cpp. |
|
|
IInterface implementation: Query interface.
Definition at line 100 of file DbImplementation.cpp. |
|
|
IInterface implementation: Decrease reference count.
Definition at line 91 of file DbImplementation.cpp. |
|
|
IOODataBase implementation: Database server's name.
Reimplemented from IOODataBase. Definition at line 138 of file DbImplementation.cpp. |
|
|
IOODataBase implementation: Set the name of the driver's implementation.
Reimplemented from IOODataBase. Definition at line 133 of file DbImplementation.cpp. |
|
|
Definition at line 306 of file DbImplementation.cpp. Referenced by initialize(). |
|
|
Implementation of IProperty::setProperty.
Definition at line 285 of file DbImplementation.cpp. |
|
|
Implementation of IProperty::setProperty.
Definition at line 281 of file DbImplementation.cpp. |
|
|
Definition at line 277 of file DbImplementation.cpp. |
|
|
IOODataBase implementation: Set the name of the database server host.
Reimplemented from IOODataBase. Definition at line 143 of file DbImplementation.cpp. |
|
|
IOODataBase implementation: Access to OODataBase type.
Reimplemented from IOODataBase. Definition at line 123 of file DbImplementation.cpp. |
|
|
IOODataBase implementation: Retrieve type information.
Reimplemented from IOODataBase. Definition at line 176 of file DbImplementation.cpp. |
|
|
IOODataBase implementation: Retrieve type information (CONST).
Reimplemented from IOODataBase. Definition at line 167 of file DbImplementation.cpp. Referenced by addTypeInfo(). |
|
|
Default persistent object type.
Definition at line 114 of file DbImplementation.h. |
|
|
Default transient object type.
Definition at line 112 of file DbImplementation.h. |
|
|
Driver's name.
Definition at line 108 of file DbImplementation.h. |
|
|
Reference to message service.
Definition at line 118 of file DbImplementation.h. |
|
|
Object name.
Definition at line 106 of file DbImplementation.h. |
|
|
Reference to the object manager.
Definition at line 122 of file DbImplementation.h. |
|
|
Reference to proprty manager.
Definition at line 120 of file DbImplementation.h. |
|
|
Reference counter.
Definition at line 102 of file DbImplementation.h. |
|
|
Driver's name.
Definition at line 110 of file DbImplementation.h. |
|
|
Reference to service locator object.
Definition at line 116 of file DbImplementation.h. |
|
|
Type the implementation belongs to.
Definition at line 104 of file DbImplementation.h. |
|
|
Definition at line 99 of file DbImplementation.h. |
1.2.3 written by Dimitri van Heesch,
© 1997-2000