Bdb packages | Design docs | Source docs | Guidelines | Recent releases

Search | Site Map .

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

CdbId Class Reference
[CdbBase]

Object of this class represent "extended" identifier for Condition/DB objects. More...

#include <CdbId.hh>

List of all members.

Public Methods

 CdbId (unsigned short theOriginId=0, unsigned short theLocalId=0)
 Normal & also default constructor.

 CdbId (const CdbId &theId)
 Copy constructor.

 ~CdbId ()
 The destructor.

CdbId & operator= (const CdbId &theId)
 The assignment operator.

bool operator== (const CdbId &theId) const
 The "equal" operator.

bool operator!= (const CdbId &theId) const
 The "not-equal" operator.

bool operator< (const CdbId &theId) const
 The "less" operator.


Public Attributes

unsigned short origin
unsigned short local


Detailed Description

Object of this class represent "extended" identifier for Condition/DB objects.

More info...

Definition at line 43 of file CdbId.hh.


Constructor & Destructor Documentation

CdbId::CdbId unsigned short    theOriginId = 0,
unsigned short    theLocalId = 0
[inline]
 

Normal & also default constructor.

Definition at line 50 of file CdbId.hh.

References local, and origin.

CdbId::CdbId const CdbId &    theId [inline]
 

Copy constructor.

Definition at line 59 of file CdbId.hh.

References local, and origin.

CdbId::~CdbId   [inline]
 

The destructor.

NOTE: The destructor is NOT virtual because this is an embedded class.

Definition at line 70 of file CdbId.hh.


Member Function Documentation

bool CdbId::operator!= const CdbId &    theId const [inline]
 

The "not-equal" operator.

Definition at line 97 of file CdbId.hh.

References operator==().

bool CdbId::operator< const CdbId &    theId const [inline]
 

The "less" operator.

This operator is required to insert objects of this class into a B-tree.

Definition at line 107 of file CdbId.hh.

References local, and origin.

CdbId& CdbId::operator= const CdbId &    theId [inline]
 

The assignment operator.

Definition at line 75 of file CdbId.hh.

References local, and origin.

bool CdbId::operator== const CdbId &    theId const [inline]
 

The "equal" operator.

This operator is required to insert objects of this class into a B-tree.

Definition at line 89 of file CdbId.hh.

References local, and origin.

Referenced by operator!=().


Member Data Documentation

unsigned short CdbId::local
 

Definition at line 115 of file CdbId.hh.

Referenced by CdbId(), cmd_views(), CdbBdbSDatabase::findView(), CdbBdbTestCompilation::miscClasses(), operator<(), operator<<(), operator=(), operator==(), and BdbStateIdT::setFromDefault().

unsigned short CdbId::origin
 

Definition at line 114 of file CdbId.hh.

Referenced by CdbId(), cmd_views(), CdbBdbSDatabase::findView(), CdbBdbTestCompilation::miscClasses(), operator<(), operator<<(), operator=(), operator==(), and BdbStateIdT::setFromDefault().


The documentation for this class was generated from the following file:

 


BaBar Public Site | SLAC | News | Links | Who's Who | Contact Us

Page Owner: Jacek Becla
Last Update: October 04, 2002