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

CdbBdbObject Class Reference

This class implements an abstract base class CdbObject. More...

#include <CdbBdbObject.hh>

Inheritance diagram for CdbBdbObject:

CdbObject List of all members.

Public Member Functions

const BdbRef (BdbObject)&objectRef() const
 Get the object reference.

virtual std::string id () const
 An object identifier.

virtual std::string legacyId () const
 A 'legacy' object identifier.

virtual std::string type () const
 A persistent type name.


Protected Member Functions

 CdbBdbObject (const CdbConditionPtr &theConditionPtr, const BdbTime &theBeginOriginalValidity, const BdbTime &theEndOriginalValidity, const BdbTime &theBeginValidity, const BdbTime &theEndValidity, const BdbTime &theBeginDuration, const BdbTime &theEndDuration, const BdbTime &theInsertionTime, const BdbHandle(BdbObject)&thePersObj)
 The normal constructor...

virtual ~CdbBdbObject ()
 The destructor.


Friends

class CdbBdbObjectCreator

Detailed Description

This class implements an abstract base class CdbObject.

It's a "wrapper" implementation on the top of the old Condition/DB API.

See also:
CdbObject

Definition at line 17 of file CdbBdbObject.hh.


Constructor & Destructor Documentation

CdbBdbObject::CdbBdbObject const CdbConditionPtr   theConditionPtr,
const BdbTime   theBeginOriginalValidity,
const BdbTime   theEndOriginalValidity,
const BdbTime   theBeginValidity,
const BdbTime   theEndValidity,
const BdbTime   theBeginDuration,
const BdbTime   theEndDuration,
const BdbTime   theInsertionTime,
const BdbHandle(BdbObject)&    thePersObj
[protected]
 

The normal constructor...

More details...

Parameters:
theConditionPtr  the smart pointer providing a back back link to the parent condition object
thePersObj  a handle of a persistent object

Definition at line 14 of file CdbBdbObject.cc.

CdbBdbObject::~CdbBdbObject   [protected, virtual]
 

The destructor.

Is only available for the derived classes and friends to prevent accidental deletion of objects.

Definition at line 34 of file CdbBdbObject.cc.


Member Function Documentation

const CdbBdbObject::BdbRef BdbObject    const
 

Get the object reference.

Returns:
a const reference onto the stored persistent reference

std::string CdbBdbObject::id   const [virtual]
 

An object identifier.

Implements the corresponding method from the base class.

See also:
CdbObject::id()

Implements CdbObject.

Definition at line 44 of file CdbBdbObject.cc.

std::string CdbBdbObject::legacyId   const [virtual]
 

A 'legacy' object identifier.

Implements the corresponding method from the base class.

See also:
CdbObject::legacyId()

Implements CdbObject.

Definition at line 50 of file CdbBdbObject.cc.

std::string CdbBdbObject::type   const [virtual]
 

A persistent type name.

Implements the corresponding method from the base class.

See also:
CdbObject::type()

Implements CdbObject.

Definition at line 56 of file CdbBdbObject.cc.


Friends And Related Function Documentation

friend class CdbBdbObjectCreator [friend]
 

Definition at line 19 of file CdbBdbObject.hh.


The documentation for this class was generated from the following files:
Generated on Mon Dec 5 18:22:18 2005 for CDB by doxygen1.3-rc3