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

GenericLinkBase Class Reference

Structure holding the common part to identify any persistent link. More...

#include <GaudiKernel/GenericLink.h>

Inheritance diagram for GenericLinkBase:

GenericLink GenericAddress List of all members.

Public Methods

 GenericLinkBase (unsigned char type = 0, const CLID& clid = 0)
 Ctor. More...

 GenericLinkBase (const GenericLinkBase& copy)
 copy Ctor. More...

bool operator== (const GenericLinkBase& cmp) const
 Equality operator. More...

virtual GenericLinkBase& operator= (const GenericLinkBase& copy)
 Assignment operator. More...

const CLIDclID () const
 Access : Retrieve class ID of the link. More...

void setClID (const CLID& clid)
 Access : Set class ID of the link. More...

unsigned char svcType () const
 Access : retrieve the storage type of the class id. More...

void setSvcType (unsigned char typ)
 Access : set the storage type of the class id. More...

virtual bool isValid () const
 Check link for validity. More...

GENERICgenericInfo ()
 Accessor: Retrieve Generic information block. More...

const GENERICgenericInfo () const
 Accessor: Retrieve Generic information block. More...


Protected Attributes

unsigned char m_svcType
 Storage type. More...

CLID m_clID
 Class id. More...

GENERIC m_gene
 Generic Link data. More...


Friends

class  GenericLinkIO

Detailed Description

Structure holding the common part to identify any persistent link.

The information is packed into 32 bits.

Definition at line 22 of file GenericLink.h.


Constructor & Destructor Documentation

GenericLinkBase::GenericLinkBase ( unsigned char type = 0,
const CLID & clid = 0 ) [inline]
 

Ctor.

Definition at line 54 of file GenericLink.h.

GenericLinkBase::GenericLinkBase ( const GenericLinkBase & copy ) [inline]
 

copy Ctor.

Definition at line 60 of file GenericLink.h.


Member Function Documentation

const CLID & GenericLinkBase::clID ( ) const [inline]
 

Access : Retrieve class ID of the link.

Reimplemented in GenericAddress.

Definition at line 80 of file GenericLink.h.

Referenced by GenericAddress::clID().

const GENERIC * GenericLinkBase::genericInfo ( ) const [inline]
 

Accessor: Retrieve Generic information block.

Definition at line 105 of file GenericLink.h.

GENERIC * GenericLinkBase::genericInfo ( ) [inline]
 

Accessor: Retrieve Generic information block.

Definition at line 101 of file GenericLink.h.

bool GenericLinkBase::isValid ( ) const [inline, virtual]
 

Check link for validity.

Definition at line 96 of file GenericLink.h.

GenericLinkBase & GenericLinkBase::operator= ( const GenericLinkBase & copy ) [inline, virtual]
 

Assignment operator.

Reimplemented in GenericLink.

Definition at line 73 of file GenericLink.h.

Referenced by GenericLink::operator=().

bool GenericLinkBase::operator== ( const GenericLinkBase & cmp ) const [inline]
 

Equality operator.

Definition at line 67 of file GenericLink.h.

void GenericLinkBase::setClID ( const CLID & clid ) [inline]
 

Access : Set class ID of the link.

Definition at line 84 of file GenericLink.h.

void GenericLinkBase::setSvcType ( unsigned char typ ) [inline]
 

Access : set the storage type of the class id.

Definition at line 92 of file GenericLink.h.

unsigned char GenericLinkBase::svcType ( ) const [inline]
 

Access : retrieve the storage type of the class id.

Reimplemented in GenericAddress.

Definition at line 88 of file GenericLink.h.

Referenced by ConversionSvc::createAddress(), and GenericAddress::svcType().


Friends And Related Function Documentation

class GenericLinkIO [friend]
 

Definition at line 23 of file GenericLink.h.


Member Data Documentation

CLID GenericLinkBase::m_clID [protected]
 

Class id.

Definition at line 49 of file GenericLink.h.

GENERIC GenericLinkBase::m_gene [protected]
 

Generic Link data.

Definition at line 51 of file GenericLink.h.

unsigned char GenericLinkBase::m_svcType [protected]
 

Storage type.

Definition at line 47 of file GenericLink.h.


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