| The Gaudi Framework v28r2-patches (bc4ad17a)

- 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,
14 const EventIDBase& stop )
15 : m_start(start), m_stop(stop) {
16 }
17
18 EventIDRange&
19 EventIDRange::operator= (const EventIDRange& r) {
20 if (this != &r) {
21 m_start = r.m_start;
22 m_stop = r.m_stop;
23 }
24 return *this;
25 }
26
27 std::ostream&
28 operator<< (std::ostream& os, const EventIDRange& rhs) {
29 os << (std::string) rhs;
30 return os;
31 }
32
EventIDRange::operator<<
friend std::ostream & operator<<(std::ostream &os, const EventIDRange &rhs)
Definition: EventIDRange.cpp:28
EventIDRange::m_stop
EventIDBase m_stop
Definition: EventIDRange.h:58
std::string
STL class.
EventIDRange
Event ID Range object.
Definition: EventIDRange.h:23
EventIDRange::operator=
EventIDRange & operator=(const EventIDRange &r)
Definition: EventIDRange.cpp:19
IOTest.start
start
Definition: IOTest.py:88
EventIDRange::EventIDRange
EventIDRange()
Definition: EventIDRange.h:25
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:57
std::ostream
STL class.