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

CdbRooRoTimeR.rdl

Go to the documentation of this file.
00001 #ifndef CDBROOREADONLY_TIME_R_RDL
00002 #define CDBROOREADONLY_TIME_R_RDL
00003 
00004 // File and Version Information:
00005 //      $Id: CdbRooRoTimeR.rdl,v 1.1 2004/11/09 20:33:07 gapon Exp $
00006 
00007 #include "BdbTime/BdbTime.hh"
00008 
00009 #include <Rtypes.h>
00010 
00011 /// A persistent "origin"
00012 /**
00013   */
00014 class CdbRooRoTimeR {
00015 
00016 public:
00017 
00018     CdbRooRoTimeR( const BdbTime& theBdbTime = BdbTime::minusInfinity ) :
00019         _seconds    ( theBdbTime.getGmtSec( )),
00020         _nanoseconds( theBdbTime.getGmtNsec( ))
00021     { }
00022 
00023     BdbTime getBdbTime( ) const
00024     {
00025         return BdbTime( _seconds,
00026                         _nanoseconds );
00027     }
00028 
00029 private:
00030 
00031     UInt_t _seconds;
00032     UInt_t _nanoseconds;
00033 
00034     ClassDef(CdbRooRoTimeR,1);
00035 };
00036 
00037 #endif /* CDBROOREADONLY_TIME_R_RDL */

Generated on Mon Dec 5 18:22:11 2005 for CDB by doxygen1.3-rc3