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

DbDefObject Class Reference

Definition of the DbDefObject class (generic Gaudi-persistable object). More...

#include <DbDefObject.h>

Inheritance diagram for DbDefObject:

DbObject List of all members.

Public Methods

 DbDefObject ()
 Standard constructor. More...

virtual ~DbDefObject ()
 Standard destructor. More...

void setNumSymLink (long length)
 Set the number of symbolic links. More...

long numSymLink () const
 Get the number of symbolic links. More...

virtual StatusCode beginTransientUpdate (HelperServices& , DataObject* )
 Update transient object from Db representation. More...

virtual StatusCode endTransientUpdate (HelperServices& , DataObject* )
 Update transient object from Db representation. More...

virtual StatusCode doTransientUpdate (HelperServices& , DataObject* )
 Update transient object from Db representation. More...

virtual StatusCode beginPersistentUpdate (HelperServices& , const DataObject* )
 Start update data links from transient links. More...

virtual StatusCode endPersistentUpdate (HelperServices& , const DataObject* )
 Update root data links from transient links. More...

virtual StatusCode doPersistentUpdate (HelperServices& , const DataObject* )
 Update root data links from transient links. More...


Static Public Methods

DbObjectcreate (void* buffer)
 Static creator. More...


Protected Attributes

long m_numSymbolic
 Number of symbolic links. More...


Private Attributes

friend DbPersistent
 Allow some helpers full access. More...

friend DbWrapper<DbDefObject>

Detailed Description

Definition of the DbDefObject class (generic Gaudi-persistable object).

Class: Object

BaseClasses:public DbObject

Purpose: Basic object for storage of identifiable persistent data. The DbObject is able to keep track of persistent links between objects.

Dependencies:

History :

    +---------+----------------------------------------------+--------+
    |    Date |                 Comment                      | Who    |
    +---------+----------------------------------------------+--------+
    | 11/02/99| Initial version                              | MF     |
    +---------+----------------------------------------------+--------+
    

Author(s):
Markus Frank
Version:
1

Definition at line 73 of file DbDefObject.h.


Constructor & Destructor Documentation

DbDefObject::DbDefObject ( ) [inline]
 

Standard constructor.

Definition at line 108 of file DbDefObject.h.

Referenced by create().

DbDefObject::~DbDefObject ( ) [inline, virtual]
 

Standard destructor.

Definition at line 111 of file DbDefObject.h.


Member Function Documentation

StatusCode DbDefObject::beginPersistentUpdate ( HelperServices &,
const DataObject * ) [inline, virtual]
 

Start update data links from transient links.

Definition at line 136 of file DbDefObject.h.

StatusCode DbDefObject::beginTransientUpdate ( HelperServices &,
DataObject * ) [inline, virtual]
 

Update transient object from Db representation.

Definition at line 124 of file DbDefObject.h.

DbObject * DbDefObject::create ( void * buffer ) [inline, static]
 

Static creator.

Reimplemented from DbObject.

Definition at line 150 of file DbDefObject.h.

StatusCode DbDefObject::doPersistentUpdate ( HelperServices &,
const DataObject * ) [inline, virtual]
 

Update root data links from transient links.

Definition at line 144 of file DbDefObject.h.

StatusCode DbDefObject::doTransientUpdate ( HelperServices &,
DataObject * ) [inline, virtual]
 

Update transient object from Db representation.

Definition at line 132 of file DbDefObject.h.

StatusCode DbDefObject::endPersistentUpdate ( HelperServices &,
const DataObject * ) [inline, virtual]
 

Update root data links from transient links.

Definition at line 140 of file DbDefObject.h.

StatusCode DbDefObject::endTransientUpdate ( HelperServices &,
DataObject * ) [inline, virtual]
 

Update transient object from Db representation.

Definition at line 128 of file DbDefObject.h.

long DbDefObject::numSymLink ( ) const [inline]
 

Get the number of symbolic links.

Definition at line 120 of file DbDefObject.h.

void DbDefObject::setNumSymLink ( long length ) [inline]
 

Set the number of symbolic links.

Definition at line 116 of file DbDefObject.h.


Member Data Documentation

DbPersistent [private]
 

Allow some helpers full access.

Reimplemented from DbObject.

Definition at line 75 of file DbDefObject.h.

friend DbDefObject::DbWrapper<DbDefObject> [private]
 

Definition at line 76 of file DbDefObject.h.

long DbDefObject::m_numSymbolic [protected]
 

Number of symbolic links.

Definition at line 105 of file DbDefObject.h.


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