Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

Converter Class Reference

Converter base class. More...

#include <GaudiKernel/Converter.h>

Inheritance diagram for Converter:

IConverter IInterface List of all members.

Public Methods

virtual StatusCode queryInterface (const IID& riid, void** ppvInterface)
 Query interfaces of Interface. More...

virtual unsigned long addRef ()
 Reference Interface instance. More...

virtual unsigned long release ()
 Release Interface instance. More...

virtual StatusCode initialize ()
 Initialize the converter. More...

virtual StatusCode finalize ()
 Initialize the converter. More...

virtual StatusCode setDataProvider (IDataProviderSvc* svc)
 Set Data provider service. More...

virtual IDataProviderSvcdataProvider ()
 Get Data provider service. More...

virtual const CLIDobjType () const
 Retrieve the class type of objects the converter produces. More...

virtual unsigned char repSvcType () const
 Retrieve the class type of the data store the converter uses. More...

virtual StatusCode createObj (IOpaqueAddress* pAddress,DataObject*& refpObject)
 Create the transient representation of an object. More...

virtual StatusCode fillObjRefs (IOpaqueAddress* pAddress, DataObject* pObject)
 Resolve the references of the created transient object. More...

virtual StatusCode updateObj (IOpaqueAddress* pAddress, DataObject* refpObject)
 Update the transient object from the other representation. More...

virtual StatusCode updateObjRefs (IOpaqueAddress* pAddress, DataObject* pObject)
 Update the references of an updated transient object. More...

virtual StatusCode createRep (DataObject* pObject, IOpaqueAddress*& refpAddress)
 Convert the transient object to the requested representation. More...

virtual StatusCode fillRepRefs (IOpaqueAddress* pAddress,DataObject* pObject)
 Resolve the references of the converted object. More...

virtual StatusCode updateRep (IOpaqueAddress* pAddress, DataObject* pObject)
 Update the converted representation of a transient object. More...

virtual StatusCode updateRepRefs (IOpaqueAddress* pAddress, DataObject* pObject)
 Update the references of an already converted object. More...

 Converter (unsigned char storage_type, const CLID& class_type, ISvcLocator* svc)
 Standard Constructor. More...


Protected Methods

virtual ~Converter ()
 Standard Destructor. More...

ISvcLocatorserviceLocator ()
 Retrieve pointer to service locator. More...

IMessageSvcmsgSvc ()
 Retrieve pointer to message service. More...

IMessageSvcmessageService ()

Private Attributes

unsigned long m_refCount
 Reference counter. More...

unsigned char m_storageType
 Storage type. More...

const CLID m_classType
 Class type the converter can handle. More...

IDataProviderSvcm_dataProvider
 Pointer to data provider service. More...

ISvcLocatorm_svcLocator
 Service Locator reference. More...

IMessageSvcm_messageSvc
 MessageSvc reference. More...


Detailed Description

Converter base class.

See interface for detailed description, arguments and return values

Author(s):
Markus Frank
Version:
1.0

Definition at line 22 of file Converter.h.


Constructor & Destructor Documentation

Converter::Converter ( unsigned char storage_type,
const CLID & class_type,
ISvcLocator * svc = 0 )
 

Standard Constructor.

Definition at line 143 of file Converter.cpp.

Converter::~Converter ( ) [protected, virtual]
 

Standard Destructor.

Definition at line 155 of file Converter.cpp.


Member Function Documentation

unsigned long Converter::addRef ( ) [virtual]
 

Reference Interface instance.

Reimplemented from IInterface.

Definition at line 10 of file Converter.cpp.

Referenced by queryInterface().

StatusCode Converter::createObj ( IOpaqueAddress * pAddress,
DataObject *& refpObject ) [virtual]
 

Create the transient representation of an object.

Reimplemented from IConverter.

Definition at line 50 of file Converter.cpp.

StatusCode Converter::createRep ( DataObject * pObject,
IOpaqueAddress *& refpAddress ) [virtual]
 

Convert the transient object to the requested representation.

Reimplemented from IConverter.

Definition at line 71 of file Converter.cpp.

IDataProviderSvc * Converter::dataProvider ( ) [virtual]
 

Get Data provider service.

Reimplemented from IConverter.

Definition at line 124 of file Converter.cpp.

StatusCode Converter::fillObjRefs ( IOpaqueAddress * pAddress,
DataObject * pObject ) [virtual]
 

Resolve the references of the created transient object.

Reimplemented from IConverter.

Definition at line 56 of file Converter.cpp.

StatusCode Converter::fillRepRefs ( IOpaqueAddress * pAddress,
DataObject * pObject ) [virtual]
 

Resolve the references of the converted object.

Reimplemented from IConverter.

Definition at line 76 of file Converter.cpp.

StatusCode Converter::finalize ( ) [virtual]
 

Initialize the converter.

Reimplemented from IConverter.

Definition at line 113 of file Converter.cpp.

StatusCode Converter::initialize ( ) [virtual]
 

Initialize the converter.

Reimplemented from IConverter.

Definition at line 91 of file Converter.cpp.

IMessageSvc * Converter::messageService ( ) [protected]
 

Definition at line 138 of file Converter.cpp.

IMessageSvc * Converter::msgSvc ( ) [protected]
 

Retrieve pointer to message service.

Definition at line 134 of file Converter.cpp.

const CLID & Converter::objType ( ) const [virtual]
 

Retrieve the class type of objects the converter produces.

Reimplemented from IConverter.

Definition at line 40 of file Converter.cpp.

StatusCode Converter::queryInterface ( const IID & riid,
void ** ppvInterface ) [virtual]
 

Query interfaces of Interface.

Definition at line 25 of file Converter.cpp.

unsigned long Converter::release ( ) [virtual]
 

Release Interface instance.

Reimplemented from IInterface.

Definition at line 16 of file Converter.cpp.

unsigned char Converter::repSvcType ( ) const [virtual]
 

Retrieve the class type of the data store the converter uses.

Reimplemented from IConverter.

Definition at line 45 of file Converter.cpp.

ISvcLocator * Converter::serviceLocator ( ) [protected]
 

Retrieve pointer to service locator.

Definition at line 129 of file Converter.cpp.

Referenced by Converter(), initialize(), and ~Converter().

StatusCode Converter::setDataProvider ( IDataProviderSvc * svc ) [virtual]
 

Set Data provider service.

Reimplemented from IConverter.

Definition at line 118 of file Converter.cpp.

StatusCode Converter::updateObj ( IOpaqueAddress * pAddress,
DataObject * refpObject ) [virtual]
 

Update the transient object from the other representation.

Reimplemented from IConverter.

Definition at line 61 of file Converter.cpp.

StatusCode Converter::updateObjRefs ( IOpaqueAddress * pAddress,
DataObject * pObject ) [virtual]
 

Update the references of an updated transient object.

Reimplemented from IConverter.

Definition at line 66 of file Converter.cpp.

StatusCode Converter::updateRep ( IOpaqueAddress * pAddress,
DataObject * pObject ) [virtual]
 

Update the converted representation of a transient object.

Reimplemented from IConverter.

Definition at line 81 of file Converter.cpp.

StatusCode Converter::updateRepRefs ( IOpaqueAddress * pAddress,
DataObject * pObject ) [virtual]
 

Update the references of an already converted object.

Reimplemented from IConverter.

Definition at line 86 of file Converter.cpp.


Member Data Documentation

const CLID Converter::m_classType [private]
 

Class type the converter can handle.

Definition at line 100 of file Converter.h.

IDataProviderSvc * Converter::m_dataProvider [private]
 

Pointer to data provider service.

Definition at line 102 of file Converter.h.

IMessageSvc * Converter::m_messageSvc [private]
 

MessageSvc reference.

Definition at line 106 of file Converter.h.

unsigned long Converter::m_refCount [private]
 

Reference counter.

Definition at line 96 of file Converter.h.

unsigned char Converter::m_storageType [private]
 

Storage type.

Definition at line 98 of file Converter.h.

ISvcLocator * Converter::m_svcLocator [private]
 

Service Locator reference.

Definition at line 104 of file Converter.h.


The documentation for this class was generated from the following files:
Generated at Wed Nov 21 12:22:09 2001 by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000