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

CdbBdbSConfigElement Class Reference

Objects of this class represent simple condition configuration elements. More...

#include <CdbBdbSConfigElement.hh>

List of all members.

Public Member Functions

 CdbBdbSConfigElement (const BdbTime &theRevisionId=BdbTime::minusInfinity, d_UShort thePartitionId=0, bool useRevisionFlag=true)
 Normal & default constructor.

 CdbBdbSConfigElement (const CdbBdbSConfigElement &theElement)
 Copy constructor.

 ~CdbBdbSConfigElement ()
 The destructor.

CdbBdbSConfigElement & operator= (const CdbBdbSConfigElement &theElement)
 The assignment operator.

bool operator== (const CdbBdbSConfigElement &theElement) const
 The "equal" operator.

bool operator!= (const CdbBdbSConfigElement &theElement) const
 The "not-equal" operator.

bool accessIsAllowed () const
 Check if the current element is not in the "NO ACCESS" state.


Public Attributes

BdbTime revision
d_UShort partition
d_Boolean useRevision


Detailed Description

Objects of this class represent simple condition configuration elements.

This is an embedded class.

Definition at line 19 of file CdbBdbSConfigElement.hh.


Constructor & Destructor Documentation

CdbBdbSConfigElement::CdbBdbSConfigElement const BdbTime   theRevisionId = BdbTime::minusInfinity,
d_UShort    thePartitionId = 0,
bool    useRevisionFlag = true
[inline]
 

Normal & default constructor.

The default constructor will put the element into the "NO ACCESS" state. This state can be checked by calling the corresponding method defined below.

See also:
CdbBdbSConfigElement::accessIsAllowed( )

Definition at line 30 of file CdbBdbSConfigElement.hh.

References partition, revision, and useRevision.

CdbBdbSConfigElement::CdbBdbSConfigElement const CdbBdbSConfigElement &    theElement [inline]
 

Copy constructor.

Definition at line 41 of file CdbBdbSConfigElement.hh.

References partition, revision, and useRevision.

CdbBdbSConfigElement::~CdbBdbSConfigElement   [inline]
 

The destructor.

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

Definition at line 52 of file CdbBdbSConfigElement.hh.


Member Function Documentation

bool CdbBdbSConfigElement::accessIsAllowed   const [inline]
 

Check if the current element is not in the "NO ACCESS" state.

Definition at line 88 of file CdbBdbSConfigElement.hh.

References BdbTime::minusInfinity, and revision.

Referenced by CdbBdbSCondition::findObject(), CdbBdbSView::get(), and CdbBdbSView::getDefault().

bool CdbBdbSConfigElement::operator!= const CdbBdbSConfigElement &    theElement const [inline]
 

The "not-equal" operator.

Definition at line 81 of file CdbBdbSConfigElement.hh.

References operator==().

CdbBdbSConfigElement& CdbBdbSConfigElement::operator= const CdbBdbSConfigElement &    theElement [inline]
 

The assignment operator.

Definition at line 57 of file CdbBdbSConfigElement.hh.

References partition, revision, and useRevision.

bool CdbBdbSConfigElement::operator== const CdbBdbSConfigElement &    theElement const [inline]
 

The "equal" operator.

This operator is required to compare objects of this class.

Definition at line 71 of file CdbBdbSConfigElement.hh.

References partition, revision, and useRevision.

Referenced by operator!=().


Member Data Documentation

d_UShort CdbBdbSConfigElement::partition
 

Definition at line 95 of file CdbBdbSConfigElement.hh.

Referenced by CdbBdbSConfigElement(), CdbBdbSCondition::findObject(), CdbBdbSView::get(), CdbBdbSView::getDefault(), operator<<(), operator=(), and operator==().

BdbTime CdbBdbSConfigElement::revision
 

Definition at line 94 of file CdbBdbSConfigElement.hh.

Referenced by accessIsAllowed(), CdbBdbSConfigElement(), CdbBdbSCondition::findObject(), CdbBdbSView::get(), CdbBdbSView::getDefault(), operator<<(), operator=(), and operator==().

d_Boolean CdbBdbSConfigElement::useRevision
 

Definition at line 104 of file CdbBdbSConfigElement.hh.

Referenced by CdbBdbSConfigElement(), CdbBdbSCondition::findObject(), CdbBdbSView::get(), CdbBdbSView::getDefault(), operator<<(), operator=(), and operator==().


The documentation for this class was generated from the following file:
Generated on Mon Dec 5 18:22:19 2005 for CDB by doxygen1.3-rc3