Status.cc
Go to the documentation of this file.
1 
7 #include <utl/config.h>
8 #include "Status.h"
9 
10 #include <utl/AugerException.h>
11 
12 #include <evt/Event.h>
13 
14 #include <iostream>
15 #include <string>
16 
17 using namespace std;
18 using namespace otoa;
19 
22  fIsMCEvent(false),
23  fEvent(NULL)
24 {
25 }
26 
27 
29 Status::Status(const evt::Event& event) :
30  fIsMCEvent(false),
31  fEvent(&event)
32 {
33 }
34 
35 
37 const evt::Event&
39  const
40 {
41  if (fEvent != NULL)
42  return *fEvent;
43  else
45 }
46 
47 
50 {
51 }
52 
53 
54 
Base class for exceptions trying to access non-existing components.
Status
Return code for seek operation.
Definition: IoCodes.h:24
const evt::Event * fEvent
Definition: Status.h:31
const evt::Event & GetEvent() const
Returns the current evt::Event. Use only in dire need (otherwise pass things as arguments) ...
Definition: Status.cc:38

, generated on Tue Sep 26 2023.