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

CdbHistoryEvent Class Reference

The transient interface to history events. More...

#include <CdbHistoryEvent.hh>

List of all members.

Public Member Functions

virtual ~CdbHistoryEvent ()
 The destructor.

BdbTime timeStamp () const
 Return the timestamp when this even happened.

std::string typeName () const
 Return the type name of the event.

virtual void dump (std::ostream &theStream) const
 Dump the contents of an event onto specified stream.


Protected Member Functions

 CdbHistoryEvent (const BdbTime &theTimeStamp, const std::string &theTypeName)
 The normal constructor.

 CdbHistoryEvent (const CdbHistoryEvent &theEvent)
 The copy constructor.

CdbHistoryEvent & operator= (const CdbHistoryEvent &theEvent)
 The assignment operator.


Friends

class CdbCPtrBase< CdbHistoryEvent >


Detailed Description

The transient interface to history events.

The constructors of this class are hidden to prevent creating these objects on their own. Only subclasses can call use these methods.

Definition at line 21 of file CdbHistoryEvent.hh.


Constructor & Destructor Documentation

CdbHistoryEvent::CdbHistoryEvent const BdbTime   theTimeStamp,
const std::string &    theTypeName
[protected]
 

The normal constructor.

Initialize local context with specified parameters.

See also:
BdbTime
Parameters:
theTimeStamp  the timestamp when this even happened
theTypeName  the name of the event

Definition at line 15 of file CdbHistoryEvent.cc.

CdbHistoryEvent::CdbHistoryEvent const CdbHistoryEvent &    theEvent [protected]
 

The copy constructor.

Definition at line 21 of file CdbHistoryEvent.cc.

CdbHistoryEvent::~CdbHistoryEvent   [virtual]
 

The destructor.

Definition at line 26 of file CdbHistoryEvent.cc.


Member Function Documentation

void CdbHistoryEvent::dump std::ostream &    theStream const [virtual]
 

Dump the contents of an event onto specified stream.

This operation will dump the local context of objects of this class. It can be ovverriden by the subclasses. The dump is followed by the end of line.

Definition at line 40 of file CdbHistoryEvent.cc.

CdbHistoryEvent & CdbHistoryEvent::operator= const CdbHistoryEvent &    theEvent [protected]
 

The assignment operator.

Definition at line 30 of file CdbHistoryEvent.cc.

References _timestamp, and _typeName.

BdbTime CdbHistoryEvent::timeStamp   const [inline]
 

Return the timestamp when this even happened.

See also:
BdbTime

Definition at line 61 of file CdbHistoryEvent.hh.

std::string CdbHistoryEvent::typeName   const [inline]
 

Return the type name of the event.

Definition at line 65 of file CdbHistoryEvent.hh.


Friends And Related Function Documentation

friend class CdbCPtrBase< CdbHistoryEvent > [friend]
 

Definition at line 23 of file CdbHistoryEvent.hh.


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