| The Gaudi Framework v30r0 (c919700c)

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

EventIDRange.cpp
Go to the documentation of this file.
1 #include "GaudiKernel/EventIDRange.h"
2
3 /*****************************************************************************
4 *
5 * EventIDRange.cpp
6 *
7 * Author: Charles Leggett
8 *
9 * Validity Range object. Holds two EventIDBases (start and stop)
10 *
11 *****************************************************************************/
12
13 EventIDRange::EventIDRange( const EventIDBase& start, const EventIDBase& stop ) : m_start( start ), m_stop( stop ) {}
14
15 EventIDRange& EventIDRange::operator=( const EventIDRange& r )
16 {
17 if ( this != &r ) {
18 m_start = r.m_start;
19 m_stop = r.m_stop;
20 }
21 return *this;
22 }
23
24 std::ostream& operator<<( std::ostream& os, const EventIDRange& rhs )
25 {
26 os << (std::string)rhs;
27 return os;
28 }
EventIDRange::operator<<
friend std::ostream & operator<<(std::ostream &os, const EventIDRange &rhs)
Definition: EventIDRange.cpp:24
EventIDRange::m_stop
EventIDBase m_stop
Definition: EventIDRange.h:57
std::string
STL class.
EventIDRange
Event ID Range object.
Definition: EventIDRange.h:23
EventIDRange::operator=
EventIDRange & operator=(const EventIDRange &r)
Definition: EventIDRange.cpp:15
IOTest.start
start
Definition: IOTest.py:99
EventIDRange::EventIDRange
EventIDRange()
Definition: EventIDRange.h:26
EventIDBase
This class provides a unique identification for each event, in terms of run/event number and/or a tim...
Definition: EventIDBase.h:29
EventIDRange.h
EventIDRange::m_start
EventIDBase m_start
Definition: EventIDRange.h:56
std::ostream
STL class.