![]() |
|
|
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 /BdbTime/BdbIntervalBase.cc
Go to the documentation of this file.00001 //----------------------------------------------------------------------------- 00002 // 00003 // File and Version Information: 00004 // $Id: BdbIntervalBase.cc,v 1.1 1998/12/22 22:49:07 brownd Exp $ 00005 // 00006 // Description: 00007 // Class BdbIntervalBase 00008 // 00009 // Environment: 00010 // Software developed for the BaBar Detector at the SLAC B-Factory. 00011 // 00012 // Author List: 00013 // Dave Brown, 11-12-97 00014 // 00015 // Copyright Information: 00016 // Copyright (C) 1997 Lawrence Berkeley Laboratory 00017 // 00018 //----------------------------------------------------------------------------- 00019 #include "BaBar/BaBar.hh" 00020 //----------------------- 00021 // This Class's Header -- 00022 //----------------------- 00023 #include "BdbTime/BdbIntervalBase.hh" 00024 00025 // ---------------------------------------- 00026 // -- Public Member Function Definitions -- 00027 // ---------------------------------------- 00028 00029 //---------------- 00030 // Constructors -- 00031 //---------------- 00032 00033 BdbIntervalBase::BdbIntervalBase( const BdbTime& begin, const BdbTime& end ) : 00034 _beginTime( begin ), _endTime( end ) 00035 { 00036 } 00037 00038 BdbIntervalBase::BdbIntervalBase(const BdbIntervalBase& other ) : 00039 _beginTime( other._beginTime ), _endTime( other._endTime ) 00040 { 00041 } 00042 00043 // overloaded stream-insertion operator << 00044 ostream & operator << ( ostream& os, const BdbIntervalBase& interval ) 00045 { 00046 os << "Start time = " << interval.beginTime( ) 00047 << " , End time = " << interval.endTime( ); 00048 return os; 00049 } 00050 00051 00052 00053
BaBar Public Site | SLAC | News | Links | Who's Who | Contact Us
Page Owner: Jacek Becla
Last Update: October 04, 2002