ATLAS Offline Software
IEvtSelectorSeek.h
Go to the documentation of this file.
1 // This file's extension implies that it's C, but it's really -*- C++ -*-.
2 
3 /*
4  * Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration.
5  */
6 
7 // $Id$
15 #ifndef ATHENAKERNEL_IEVTSELECTORSEEK_H
16 #define ATHENAKERNEL_IEVTSELECTORSEEK_H
17 
18 #include "GaudiKernel/StatusCode.h"
19 #include "GaudiKernel/INamedInterface.h"
20 #include "GaudiKernel/IEvtSelector.h"
21 
27 class IEvtSelectorSeek : virtual public INamedInterface
28 {
29 public:
31 
32 
37  virtual StatusCode seek (IEvtSelector::Context& c, int evtnum) const = 0;
38 
39 
44  virtual int curEvent (const IEvtSelector::Context& c) const = 0;
45 
46 
50  virtual int size (IEvtSelector::Context& c) const = 0;
51 };
52 
53 
54 #endif // not ATHENAKERNEL_IEVTSELECTORSEEK_H
55 
IEvtSelectorSeek::DeclareInterfaceID
DeclareInterfaceID(IEvtSelectorSeek, 1, 0)
IEvtSelectorSeek::seek
virtual StatusCode seek(IEvtSelector::Context &c, int evtnum) const =0
Seek to a given event number.
IEvtSelectorSeek::curEvent
virtual int curEvent(const IEvtSelector::Context &c) const =0
return the current event number.
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
IEvtSelectorSeek::size
virtual int size(IEvtSelector::Context &c) const =0
Return the size of the collection, or -1 if we can't get the size.
python.compressB64.c
def c
Definition: compressB64.py:93
IEvtSelectorSeek
Abstract interface for seeking for an event selector.
Definition: IEvtSelectorSeek.h:28