Gaudi Framework, version v23r0 |
Home | Generated: Mon Jan 30 2012 |
Generic Transient Address. More...
#include <GaudiKernel/GenericAddress.h>
Public Member Functions | |
GenericAddress () | |
Dummy constructor. | |
GenericAddress (const GenericAddress ©) | |
Standard Constructor. | |
GenericAddress (long svc, const CLID &clid, const std::string &p1="", const std::string &p2="", unsigned long ip1=0, unsigned long ip2=0) | |
Standard Constructor. | |
virtual | ~GenericAddress () |
Standard Destructor. | |
virtual unsigned long | addRef () |
Add reference to object. | |
virtual unsigned long | release () |
release reference to object | |
virtual IRegistry * | registry () const |
Pointer to directory. | |
virtual void | setRegistry (IRegistry *pRegistry) |
Set pointer to directory. | |
const CLID & | clID () const |
Access : Retrieve class ID of the link. | |
void | setClID (const CLID &clid) |
Access : Set class ID of the link. | |
long | svcType () const |
Access : retrieve the storage type of the class id. | |
void | setSvcType (long typ) |
Access : set the storage type of the class id. | |
virtual const std::string * | par () const |
Retrieve string parameters. | |
virtual const unsigned long * | ipar () const |
Retrieve integer parameters. | |
Protected Attributes | |
unsigned long | m_refCount |
Reference count. | |
long | m_svcType |
Storage type. | |
CLID | m_clID |
Class id. | |
std::string | m_par [3] |
String parameters to be accessed. | |
unsigned long | m_ipar [2] |
Integer parameters to be accessed. | |
IRegistry * | m_pRegistry |
Pointer to corresponding directory. |
Generic Transient Address.
The generic transient address describes the recipe to load/save a persistent object from/to its transient representation.
Definition at line 21 of file GenericAddress.h.
GenericAddress::GenericAddress | ( | ) | [inline] |
Dummy constructor.
Definition at line 38 of file GenericAddress.h.
: m_refCount(0), m_svcType(0), m_clID(0), m_pRegistry(0) { m_ipar[0]=m_ipar[1]=0xFFFFFFFF; }
GenericAddress::GenericAddress | ( | const GenericAddress & | copy ) | [inline] |
Standard Constructor.
Definition at line 47 of file GenericAddress.h.
: IOpaqueAddress(copy), m_refCount(0), m_svcType(copy.m_svcType), m_clID(copy.m_clID), m_pRegistry(copy.m_pRegistry) { m_par[0] = copy.m_par[0]; m_par[1] = copy.m_par[1]; m_ipar[0] = copy.m_ipar[0]; m_ipar[1] = copy.m_ipar[1]; }
GenericAddress::GenericAddress | ( | long | svc, |
const CLID & | clid, | ||
const std::string & | p1 = "" , |
||
const std::string & | p2 = "" , |
||
unsigned long | ip1 = 0 , |
||
unsigned long | ip2 = 0 |
||
) | [inline] |
Standard Constructor.
Definition at line 60 of file GenericAddress.h.
: m_refCount(0), m_svcType(svc), m_clID(clid), m_pRegistry(0) { m_par[0] = p1; m_par[1] = p2; m_ipar[0] = ip1; m_ipar[1] = ip2; }
virtual GenericAddress::~GenericAddress | ( | ) | [inline, virtual] |
virtual unsigned long GenericAddress::addRef | ( | ) | [inline, virtual] |
Add reference to object.
Implements IOpaqueAddress.
Definition at line 82 of file GenericAddress.h.
{ return ++m_refCount; }
const CLID& GenericAddress::clID | ( | ) | const [inline, virtual] |
Access : Retrieve class ID of the link.
Implements IOpaqueAddress.
Definition at line 102 of file GenericAddress.h.
{ return m_clID; }
virtual const unsigned long* GenericAddress::ipar | ( | ) | const [inline, virtual] |
Retrieve integer parameters.
Implements IOpaqueAddress.
Definition at line 122 of file GenericAddress.h.
{ return m_ipar; }
virtual const std::string* GenericAddress::par | ( | ) | const [inline, virtual] |
Retrieve string parameters.
Implements IOpaqueAddress.
Definition at line 118 of file GenericAddress.h.
{ return m_par; }
virtual IRegistry* GenericAddress::registry | ( | ) | const [inline, virtual] |
Pointer to directory.
Implements IOpaqueAddress.
Definition at line 94 of file GenericAddress.h.
{ return m_pRegistry; }
virtual unsigned long GenericAddress::release | ( | ) | [inline, virtual] |
release reference to object
Implements IOpaqueAddress.
Definition at line 86 of file GenericAddress.h.
{ int cnt = --m_refCount; if ( 0 == cnt ) { delete this; } return cnt; }
void GenericAddress::setClID | ( | const CLID & | clid ) | [inline] |
Access : Set class ID of the link.
Definition at line 106 of file GenericAddress.h.
{ m_clID = clid; }
virtual void GenericAddress::setRegistry | ( | IRegistry * | pRegistry ) | [inline, virtual] |
Set pointer to directory.
Implements IOpaqueAddress.
Definition at line 98 of file GenericAddress.h.
{ m_pRegistry = pRegistry; }
void GenericAddress::setSvcType | ( | long | typ ) | [inline] |
Access : set the storage type of the class id.
Definition at line 114 of file GenericAddress.h.
{ m_svcType = typ; }
long GenericAddress::svcType | ( | ) | const [inline, virtual] |
Access : retrieve the storage type of the class id.
Implements IOpaqueAddress.
Definition at line 110 of file GenericAddress.h.
{ return m_svcType; }
CLID GenericAddress::m_clID [protected] |
Class id.
Definition at line 28 of file GenericAddress.h.
unsigned long GenericAddress::m_ipar[2] [protected] |
Integer parameters to be accessed.
Definition at line 32 of file GenericAddress.h.
std::string GenericAddress::m_par[3] [protected] |
String parameters to be accessed.
Definition at line 30 of file GenericAddress.h.
IRegistry* GenericAddress::m_pRegistry [protected] |
Pointer to corresponding directory.
Definition at line 34 of file GenericAddress.h.
unsigned long GenericAddress::m_refCount [protected] |
Reference count.
Definition at line 24 of file GenericAddress.h.
long GenericAddress::m_svcType [protected] |
Storage type.
Definition at line 26 of file GenericAddress.h.