Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

TreeAddress Class Reference

#include <GaudiKernel/TreeAddress.h>

List of all members.

Public Member Functions

virtual unsigned long addRef ()
 Add reference to object.
virtual unsigned long addRef ()
 Add reference to object.
const CLID & clID () const
 Access : Retrieve class ID of the link.
const CLID & clID () const
 Access : Retrieve class ID of the link.
virtual const unsigned long * ipar () const
 Retrieve integer parameters.
virtual const unsigned long * ipar () const
 Retrieve integer parameters.
virtual const std::string * par () const
 Retrieve string parameters.
virtual const std::string * par () const
 Retrieve string parameters.
virtual DatabaseRecordpp ()
virtual DatabaseRecordpp ()
virtual IRegistry * registry () const
 Pointer to directory.
virtual IRegistry * registry () const
 Pointer to directory.
virtual unsigned long release ()
 release reference to object
virtual unsigned long release ()
 release reference to object
void setClID (const CLID &clid)
 Access : Set class ID of the link.
void setClID (const CLID &clid)
 Access : Set class ID of the link.
virtual void setRegistry (IRegistry *pRegistry)
 Set pointer to directory.
virtual void setRegistry (IRegistry *pRegistry)
 Set pointer to directory.
void setSvcType (long typ)
 Access : set the storage type of the class id.
void setSvcType (long typ)
 Access : set the storage type of the class id.
long svcType () const
 Access : retrieve the storage type of the class id.
long svcType () const
 Access : retrieve the storage type of the class id.
 TreeAddress (long svc, const CLID &clid, DatabaseRecord &records, const unsigned long *ipar)
 Standard Constructor.
 TreeAddress (const TreeAddress &copy)
 Standard Constructor.
 TreeAddress ()
 Dummy constructor.
 TreeAddress (long svc, const CLID &clid, DatabaseRecord &records, const unsigned long *ipar)
 Standard Constructor.
 TreeAddress (const TreeAddress &copy)
 Standard Constructor.
 TreeAddress ()
 Dummy constructor.
virtual ~TreeAddress ()
 Standard Destructor.
virtual ~TreeAddress ()
 Standard Destructor.

Protected Attributes

CLID m_clID
 Class id.
unsigned long m_ipar [2]
 Integer parameters to be accessed.
IRegistry * m_pRegistry
 Pointer to corresponding directory.
IRegistry * m_pRegistry
 Pointer to corresponding directory.
DatabaseRecordm_records
DatabaseRecordm_records
unsigned long m_refCount
 Reference count.
long m_svcType
 Storage type.
unsigned long m_treesize [9]


Detailed Description

Tree Transient Address. The generic transient address describes the recipe to load/save a persistent object from/to its transient representation.

Author:
Markus Frank
Version:
1.0


Constructor & Destructor Documentation

TreeAddress::TreeAddress  )  [inline]
 

Dummy constructor.

00048     : m_refCount(0), 
00049       m_svcType(0),
00050       m_clID(0),
00051       m_pRegistry(0)
00052   {
00053  //   m_ipar[0]=m_ipar[1]=m_ipar[2]=m_ipar[3]=0xFFFFFFFF;
00054   }

TreeAddress::TreeAddress const TreeAddress copy  )  [inline]
 

Standard Constructor.

00057     : IOpaqueAddress(copy),
00058       m_refCount(0),
00059       m_svcType(copy.m_svcType),
00060       m_clID(copy.m_clID),
00061       m_pRegistry(copy.m_pRegistry)
00062   {
00063 
00064   }

TreeAddress::TreeAddress long  svc,
const CLID &  clid,
DatabaseRecord records,
const unsigned long *  ipar
[inline]
 

Standard Constructor.

00072     : m_refCount(0),
00073       m_svcType(svc),
00074       m_clID(clid),
00075       m_pRegistry(0)
00076   { 
00077     m_records=&records;
00078     m_ipar[0] = ipar[0];
00079     m_ipar[1] = ipar[1];
00080   }

virtual TreeAddress::~TreeAddress  )  [inline, virtual]
 

Standard Destructor.

00084                            {
00085   }

TreeAddress::TreeAddress  )  [inline]
 

Dummy constructor.

00048     : m_refCount(0), 
00049       m_svcType(0),
00050       m_clID(0),
00051       m_pRegistry(0)
00052   {
00053  //   m_ipar[0]=m_ipar[1]=m_ipar[2]=m_ipar[3]=0xFFFFFFFF;
00054   }

TreeAddress::TreeAddress const TreeAddress copy  )  [inline]
 

Standard Constructor.

00057     : IOpaqueAddress(copy),
00058       m_refCount(0),
00059       m_svcType(copy.m_svcType),
00060       m_clID(copy.m_clID),
00061       m_pRegistry(copy.m_pRegistry)
00062   {
00063 
00064   }

TreeAddress::TreeAddress long  svc,
const CLID &  clid,
DatabaseRecord records,
const unsigned long *  ipar
[inline]
 

Standard Constructor.

00072     : m_refCount(0),
00073       m_svcType(svc),
00074       m_clID(clid),
00075       m_pRegistry(0)
00076   { 
00077     m_records=&records;
00078     m_ipar[0] = ipar[0];
00079     m_ipar[1] = ipar[1];
00080   }

virtual TreeAddress::~TreeAddress  )  [inline, virtual]
 

Standard Destructor.

00084                            {
00085   }


Member Function Documentation

virtual unsigned long TreeAddress::addRef  )  [inline, virtual]
 

Add reference to object.

00088                                       {
00089     return ++m_refCount;
00090   }

virtual unsigned long TreeAddress::addRef  )  [inline, virtual]
 

Add reference to object.

00088                                       {
00089     return ++m_refCount;
00090   }

const CLID& TreeAddress::clID  )  const [inline]
 

Access : Retrieve class ID of the link.

00108                               {
00109     return m_clID;
00110   }

const CLID& TreeAddress::clID  )  const [inline]
 

Access : Retrieve class ID of the link.

00108                               {
00109     return m_clID;
00110   }

virtual const unsigned long* TreeAddress::ipar  )  const [inline, virtual]
 

Retrieve integer parameters.

00133                                               {
00134     return m_ipar;
00135   }

virtual const unsigned long* TreeAddress::ipar  )  const [inline, virtual]
 

Retrieve integer parameters.

00133                                               {
00134     return m_ipar;
00135   }

virtual const std::string* TreeAddress::par  )  const [inline, virtual]
 

Retrieve string parameters.

00124                                          {
00125 //    return m_par;
00126   }

virtual const std::string* TreeAddress::par  )  const [inline, virtual]
 

Retrieve string parameters.

00124                                          {
00125 //    return m_par;
00126   }

virtual DatabaseRecord* TreeAddress::pp  )  [inline, virtual]
 

00128                              {
00129     return m_records;
00130 }

virtual DatabaseRecord* TreeAddress::pp  )  [inline, virtual]
 

00128                              {
00129     return m_records;
00130 }

virtual IRegistry* TreeAddress::registry  )  const [inline, virtual]
 

Pointer to directory.

00100                                             {
00101     return m_pRegistry;
00102   }

virtual IRegistry* TreeAddress::registry  )  const [inline, virtual]
 

Pointer to directory.

00100                                             {
00101     return m_pRegistry;
00102   }

virtual unsigned long TreeAddress::release  )  [inline, virtual]
 

release reference to object

00092                                       {
00093     int cnt = --m_refCount;
00094     if ( 0 == cnt )   {
00095       delete this;
00096     }
00097     return cnt;
00098   }

virtual unsigned long TreeAddress::release  )  [inline, virtual]
 

release reference to object

00092                                       {
00093     int cnt = --m_refCount;
00094     if ( 0 == cnt )   {
00095       delete this;
00096     }
00097     return cnt;
00098   }

void TreeAddress::setClID const CLID &  clid  )  [inline]
 

Access : Set class ID of the link.

00112                                    {
00113     m_clID = clid;
00114   }

void TreeAddress::setClID const CLID &  clid  )  [inline]
 

Access : Set class ID of the link.

00112                                    {
00113     m_clID = clid;
00114   }

virtual void TreeAddress::setRegistry IRegistry *  pRegistry  )  [inline, virtual]
 

Set pointer to directory.

00104                                                    {
00105     m_pRegistry = pRegistry;
00106   }

virtual void TreeAddress::setRegistry IRegistry *  pRegistry  )  [inline, virtual]
 

Set pointer to directory.

00104                                                    {
00105     m_pRegistry = pRegistry;
00106   }

void TreeAddress::setSvcType long  typ  )  [inline]
 

Access : set the storage type of the class id.

00120                                {
00121     m_svcType = typ;
00122   }

void TreeAddress::setSvcType long  typ  )  [inline]
 

Access : set the storage type of the class id.

00120                                {
00121     m_svcType = typ;
00122   }

long TreeAddress::svcType  )  const [inline]
 

Access : retrieve the storage type of the class id.

00116                            {
00117     return m_svcType;
00118   }

long TreeAddress::svcType  )  const [inline]
 

Access : retrieve the storage type of the class id.

00116                            {
00117     return m_svcType;
00118   }


Member Data Documentation

CLID TreeAddress::m_clID [protected]
 

Class id.

unsigned long TreeAddress::m_ipar [protected]
 

Integer parameters to be accessed.

IRegistry* TreeAddress::m_pRegistry [protected]
 

Pointer to corresponding directory.

IRegistry* TreeAddress::m_pRegistry [protected]
 

Pointer to corresponding directory.

DatabaseRecord* TreeAddress::m_records [protected]
 

DatabaseRecord* TreeAddress::m_records [protected]
 

unsigned long TreeAddress::m_refCount [protected]
 

Reference count.

long TreeAddress::m_svcType [protected]
 

Storage type.

unsigned long TreeAddress::m_treesize [protected]
 


The documentation for this class was generated from the following files:
Generated on Wed Feb 2 19:04:01 2011 for BOSS6.5.5 by  doxygen 1.3.9.1