![]() |
|
|
Bdb packages | Design docs | Source docs | Guidelines | Recent releases |
|
Main Page Modules Namespace List Class Hierarchy Alphabetical List Compound List File List Compound Members File Members CdbRevision Class Reference
The transient abstract class providing an interface to persistent revisions. More...
[CdbBase]
#include <CdbRevision.hh>
Inheritance diagram for CdbRevision:
List of all members.
Public Methods
const CdbConditionPtr & parent () const Return a smart pointer back to the parent object. virtual BdbTime id () const=0 The revision identifier. virtual std::string name () const=0 The revision name. virtual BdbTime created () const=0 The time when this revision was created. virtual std::string description () const=0 The revision description. Protected Methods
CdbRevision (const CdbConditionPtr &thePtr) The normal constructor. CdbRevision (const CdbRevision &theRevision) The copy constructor. virtual ~CdbRevision () The destructor. CdbRevision & operator= (const CdbRevision &theRevision) The assignment operator. Private Methods
CdbRevision () The default constructor (NOT IMPLEMENTED). Private Attributes
CdbConditionPtr _myParent Friends
class CdbCPtrBase< CdbRevision > Detailed Description
The transient abstract class providing an interface to persistent revisions.The objects of concrete subclasses of this class deliver various characteristics of a revision.
Definition at line 17 of file CdbRevision.hh.
Constructor & Destructor Documentation
CdbRevision::CdbRevision ( ) [private]
The default constructor (NOT IMPLEMENTED).
Is disabled...
CdbRevision::CdbRevision ( const CdbConditionPtr & thePtr ) [protected]
The normal constructor.
More details...
- Parameters:
thePtr the back link to the parent object Definition at line 13 of file CdbRevision.cc.
CdbRevision::CdbRevision ( const CdbRevision & theRevision ) [protected]
The copy constructor.
More details...
Definition at line 19 of file CdbRevision.cc.
CdbRevision::~CdbRevision ( ) [protected, virtual]
The destructor.
More details...
Definition at line 23 of file CdbRevision.cc.
Member Function Documentation
virtual BdbTime CdbRevision::created ( ) [pure virtual]
The time when this revision was created.
Note, that this time can be different from the "timestamp" (the above defined identifier) the revision.
Implemented in CdbBdbSRevision, and CdbBdbWRevision.
virtual std::string CdbRevision::description ( ) [pure virtual]
The revision description.
To explain why this revision was created.
- Returns:
- a string with the name
Implemented in CdbBdbSRevision, and CdbBdbWRevision.
virtual BdbTime CdbRevision::id ( ) [pure virtual]
The revision identifier.
More info...
Implemented in CdbBdbSRevision, and CdbBdbWRevision.
virtual std::string CdbRevision::name ( ) [pure virtual]
The revision name.
More info...
Implemented in CdbBdbSRevision, and CdbBdbWRevision.
CdbRevision & CdbRevision::operator= ( const CdbRevision & theRevision ) [protected]
The assignment operator.
More details...
Definition at line 27 of file CdbRevision.cc.
References _myParent.
const CdbConditionPtr & CdbRevision::parent ( )
Return a smart pointer back to the parent object.
- See also:
- CdbCondition , CdbConditionPtr
Definition at line 36 of file CdbRevision.cc.
References _myParent.
Friends And Related Function Documentation
friend class CdbCPtrBase< CdbRevision > [friend]
Definition at line 19 of file CdbRevision.hh.
Member Data Documentation
CdbConditionPtr CdbRevision::_myParent [private]
Definition at line 94 of file CdbRevision.hh.
Referenced by operator=(), and parent().
The documentation for this class was generated from the following files:
- /CdbBase/CdbRevision.hh
- /CdbBase/CdbRevision.cc
BaBar Public Site | SLAC | News | Links | Who's Who | Contact Us
Page Owner: Jacek Becla
Last Update: October 04, 2002