#include <CdbBdbWCondition.hh>
Inheritance diagram for CdbBdbWCondition:

Public Member Functions | |
| CdbBdbWCondition (const CdbFolderPtr &theFolderPtr, const CdbDatabasePtr &theDatabasePtr, const char *theName) | |
| The normal constructor... | |
| virtual | ~CdbBdbWCondition () |
| The destructor. | |
| virtual bool | isValid () |
| Check if the current API context is valid. | |
| virtual bool | isOpen () |
| Check if the current API component is open. | |
| virtual CdbStatus | open () |
| Open the component. | |
| virtual CdbStatus | close () |
| Close the component. | |
| virtual std::string | description () const |
| Obtain the condition description. | |
| virtual bool | isPartitionable () const |
| Obtain the condition type. | |
| virtual CdbCompositeName | physicalName () const |
| Obtain the full condition name in the 'physical' namespace. | |
| virtual CdbId | physicalId () const |
| Obtain the full condition identifier in the 'physical' namespace. | |
| virtual BdbTime | created () const |
| Get the condition creation time. | |
| virtual BdbTime | registered () const |
| Get the condition registration time. | |
| virtual BdbTime | modified () const |
| Obtain the condition modification time. | |
| virtual CdbStatus | findObject (CdbObjectPtr &theObjectPtr, const BdbTime &theValidityTime, const BdbTime &theInsertionTime=BdbTime::plusInfinity) |
| Find the persistent CdbObject at a condition. | |
| virtual CdbStatus | findObject (CdbObjectPtr &theObjectPtr, const CdbRevisionPolicy &thePolicy, const BdbTime &theValidityTime, const BdbTime &theInsertionTime=BdbTime::plusInfinity) |
| Find the persistent CdbObject at a condition. | |
| virtual CdbStatus | objectIterator (CdbObjectItr &theItr, const BdbTime &theBeginValidity=BdbTime::minusInfinity, const BdbTime &theEndValidity=BdbTime::plusInfinity) |
| An iterator for the objects. | |
| virtual CdbStatus | objectIterator (CdbObjectItr &theItr, const CdbRevisionPolicy &thePolicy, const BdbTime &theBeginValidity=BdbTime::minusInfinity, const BdbTime &theEndValidity=BdbTime::plusInfinity) |
| An iterator for the objects. | |
| virtual CdbStatus | originalObjectIterator (CdbObjectItr &theItr, const BdbTime &theBeginInsertion=BdbTime::minusInfinity, const BdbTime &theEndInsertion=BdbTime::plusInfinity, const unsigned short thePartitionId=0) |
| An iterator for the 'original' objects. | |
| virtual CdbStatus | storeObject (CdbObjectFactoryBase &theObjectFactory, const BdbTime &theBegin, const BdbTime &theEnd, CdbObjectPtr &theObjectPtr) |
| Create and store a new condition object in the database. | |
| virtual CdbStatus | storeAndTruncateObject (CdbObjectFactoryBase &theObjectFactory, const BdbTime &theStoreTime, const BdbTime &theTruncateTime, CdbObjectPtr &theObjectPtr) |
| Create and store a new condition object in the database. | |
| virtual CdbStatus | split (const BdbTime &theTime) |
| Split the validity timeline at specified point. | |
| virtual CdbStatus | findRevision (CdbRevisionPtr &thePtr, const BdbTime &theId, unsigned short thePartitionId=0) |
| Find a revision by its revision identifier. | |
| virtual CdbStatus | findRevision (CdbRevisionPtr &thePtr, const char *theName, unsigned short thePartitionId=0) |
| Find a revision by its name. | |
| virtual CdbStatus | revisionIdIterator (CdbItr< BdbTime > &theItr, unsigned short thePartitionId=0) |
| An iterator for the known revision identifiers. | |
| virtual CdbStatus | revisionNameIterator (CdbItr< const char * > &theItr, unsigned short thePartitionId=0) |
| An iterator for the known revision names. | |
| virtual CdbStatus | createRevision (CdbRevisionPtr &thePtr, const BdbTime &theId, const char *theName, const char *theDescription, unsigned short thePartitionId=0) |
| Create a new revision. | |
| virtual CdbStatus | historyEventIterator (CdbHistoryEventItr &theItr, const BdbTime &theBeginTime, const BdbTime &theEndTime, const char **theEventsToSelect) |
| Initialize an instance of an iterator for the history events. | |
| virtual CdbStatus | historyEventTypeIterator (CdbHistoryEventTypeItr &theItr) |
| Initialize an instance of an iterator for the khistory events. | |
| virtual CdbStatus | hint (BdbRefAny &theHint, const BdbTime &theBegin, const BdbTime &theEnd) |
| Get the hint for specified parameters. | |
| virtual CdbStatus | verify (const BdbRefAny &theHint, const BdbRef(BdbObject)&theObjectRef) |
| Verify if created object matches the hint. | |
Protected Member Functions | |
| virtual CdbCondition * | clone () const |
| The cloning method. | |
It's a "wrapper" implementation on the top of the old Condition/DB API.
Definition at line 19 of file CdbBdbWCondition.hh.
|
||||||||||||||||
|
The normal constructor... More details... Definition at line 667 of file CdbBdbWCondition.cc. Referenced by clone(). |
|
|
The destructor. Is only available for the derived classes and friends to prevent accidental deletion of objects. Definition at line 675 of file CdbBdbWCondition.cc. |
|
|
The cloning method. Implements the corresponding method of a base class or interface.
Implements CdbCloneable< CdbCondition >. Definition at line 296 of file CdbBdbWCondition.cc. References CdbBdbWCondition(), CdbCondition::name(), CdbCondition::parent(), and CdbCondition::parentDatabase(). |
|
|
Close the component. Implements a pure virtual method of a base class or interface.
Implements CdbStateControl. Definition at line 697 of file CdbBdbWCondition.cc. References CdbStatus::Success. |
|
|
Get the condition creation time. Implements a pure virtual method of a base class or interface. NOTE: Since the old Condition/DB does not have these records so this method will always be returning -Infinity.
Implements CdbCondition. Definition at line 329 of file CdbBdbWCondition.cc. References BdbTime::minusInfinity. |
|
||||||||||||||||||||||||
|
Create a new revision. Implements a pure virtual method of a base class or interface.
Implements CdbCondition. Definition at line 915 of file CdbBdbWCondition.cc. References CdbStatus::NotImplemented. |
|
|
Obtain the condition description. Implements a pure virtual method of a base class or interface. NOTE: Since the old Condition/DB does not have these records so this method will always be returning "".
Implements CdbCondition. Definition at line 305 of file CdbBdbWCondition.cc. |
|
||||||||||||||||||||
|
Find the persistent CdbObject at a condition. Implements a pure virtual method of a base class or interface.
Implements CdbCondition. Definition at line 411 of file CdbBdbWCondition.cc. References findObject(). |
|
||||||||||||||||
|
Find the persistent CdbObject at a condition. Implements a pure virtual method of a base class or interface.
Implements CdbCondition. Definition at line 347 of file CdbBdbWCondition.cc. References BdbIntervalBase::beginTime(), CDB_DEBUG_STREAM, BdbIntervalBase::endTime(), CdbStatus::Error, CdbCondition::name(), CdbBdbObjectCreator::object(), CdbCondition::parent(), and BdbTime::plusInfinity. Referenced by findObject(). |
|
||||||||||||||||
|
Find a revision by its name. Implements a pure virtual method of a base class or interface.
Implements CdbCondition. Definition at line 795 of file CdbBdbWCondition.cc. References CdbStatus::Error, CdbCondition::name(), CdbCondition::parent(), and CdbStatus::Success. |
|
||||||||||||||||
|
Find a revision by its revision identifier. Implements a pure virtual method of a base class or interface.
Implements CdbCondition. Definition at line 703 of file CdbBdbWCondition.cc. References CdbStatus::Error, CdbCondition::name(), CdbCondition::parent(), BdbTime::plusInfinity, and CdbStatus::Success. |
|
||||||||||||||||
|
Get the hint for specified parameters. Implements a pure virtual method of a base class or interface.
Implements CdbBdbHintProvider. Definition at line 940 of file CdbBdbWCondition.cc. References CdbCondition::name(), CdbCondition::parent(), and CdbStatus::Success. |
|
||||||||||||||||||||
|
Initialize an instance of an iterator for the history events. Implements a pure virtual method of a base class or interface.
Implements CdbHistoryProvider. Definition at line 925 of file CdbBdbWCondition.cc. References CdbStatus::NotImplemented. |
|
|
Initialize an instance of an iterator for the khistory events. Implements a pure virtual method of a base class or interface.
Implements CdbHistoryProvider. Definition at line 934 of file CdbBdbWCondition.cc. References CdbStatus::NotImplemented. |
|
|
Check if the current API component is open. Implements a pure virtual method of a base class or interface.
Implements CdbStateControl. Definition at line 685 of file CdbBdbWCondition.cc. |
|
|
Obtain the condition type. Implements a pure virtual method of a base class or interface. NOTE: This method will always return FALSE.
Implements CdbCondition. Definition at line 311 of file CdbBdbWCondition.cc. |
|
|
Check if the current API context is valid. Implements a pure virtual method of a base class or interface.
Implements CdbStateControl. Definition at line 679 of file CdbBdbWCondition.cc. |
|
|
Obtain the condition modification time. Implements a pure virtual method of a base class or interface. NOTE: Since the old Condition/DB does not have these records so this method will always be returning -Infinity.
Implements CdbCondition. Definition at line 341 of file CdbBdbWCondition.cc. References BdbTime::minusInfinity. |
|
||||||||||||||||||||
|
An iterator for the objects. Implements a pure virtual method of a base class or interface.
Implements CdbCondition. Definition at line 513 of file CdbBdbWCondition.cc. References objectIterator(). |
|
||||||||||||||||
|
An iterator for the objects. Implements a pure virtual method of a base class or interface.
Implements CdbCondition. Definition at line 422 of file CdbBdbWCondition.cc. References CdbObjectItr, CdbStatus::Error, CdbCondition::name(), CdbCondition::parent(), and CdbStatus::Success. Referenced by objectIterator(). |
|
|
Open the component. Implements a pure virtual method of a base class or interface.
Implements CdbStateControl. Definition at line 691 of file CdbBdbWCondition.cc. References CdbStatus::Success. |
|
||||||||||||||||||||
|
An iterator for the 'original' objects. Implements a pure virtual method of a base class or interface.
Implements CdbCondition. Definition at line 524 of file CdbBdbWCondition.cc. References CdbStatus::NotImplemented. |
|
|
Obtain the full condition identifier in the 'physical' namespace. Implements a pure virtual method of a base class or interface. NOTE: Since the old Condition/DB does not have these records so this method will always be returning "0::0" for any condition.
Implements CdbCondition. Definition at line 323 of file CdbBdbWCondition.cc. |
|
|
Obtain the full condition name in the 'physical' namespace. Implements a pure virtual method of a base class or interface.
Implements CdbCondition. Definition at line 317 of file CdbBdbWCondition.cc. References CdbCondition::name(). |
|
|
Get the condition registration time. Implements a pure virtual method of a base class or interface. NOTE: Since the old Condition/DB does not have these records so this method will always be returning -Infinity.
Implements CdbCondition. Definition at line 335 of file CdbBdbWCondition.cc. References BdbTime::minusInfinity. |
|
||||||||||||
|
An iterator for the known revision identifiers. Implements a pure virtual method of a base class or interface.
Implements CdbCondition. Definition at line 887 of file CdbBdbWCondition.cc. References CdbStatus::Success. |
|
||||||||||||
|
An iterator for the known revision names. Implements a pure virtual method of a base class or interface.
Implements CdbCondition. Definition at line 901 of file CdbBdbWCondition.cc. References CdbStatus::Success. |
|
|
Split the validity timeline at specified point. Implements a pure virtual method of a base class or interface.
Implements CdbCondition. Definition at line 619 of file CdbBdbWCondition.cc. References CdbStatus::Error, CdbCondition::name(), CdbCondition::parent(), and CdbStatus::Success. |
|
||||||||||||||||||||
|
Create and store a new condition object in the database. Implements a pure virtual method of a base class or interface.
Implements CdbCondition. Definition at line 574 of file CdbBdbWCondition.cc. References CdbObjectFactoryBase::create(), CdbStatus::Error, CdbCPtr< CdbObject, CdbDoNotClosePolicy< CdbObject > >::isNull(), CdbCondition::name(), CdbBdbObjectConvertor::narrow(), CdbCondition::parent(), and CdbStatus::Success. |
|
||||||||||||||||||||
|
Create and store a new condition object in the database. Implements a pure virtual method of a base class or interface.
Implements CdbCondition. Definition at line 533 of file CdbBdbWCondition.cc. References CdbObjectFactoryBase::create(), CdbStatus::Error, CdbCPtr< CdbObject, CdbDoNotClosePolicy< CdbObject > >::isNull(), CdbCondition::name(), CdbBdbObjectConvertor::narrow(), CdbCondition::parent(), and CdbStatus::Success. |
|
||||||||||||
|
Verify if created object matches the hint. Implements a pure virtual method of a base class or interface.
Implements CdbBdbHintProvider. Definition at line 955 of file CdbBdbWCondition.cc. References BdbRef(), CdbStatus::Error, and CdbStatus::Success. |
1.3-rc3