LCIO  02.17
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SIOIndexHandler.h
Go to the documentation of this file.
1 #ifndef SIO_SIOIndexHandler_H
2 #define SIO_SIOIndexHandler_H 1
3 
4 // -- lcio headers
5 #include "SIO/RunEventMap.h"
6 
7 // -- sio headers
8 #include "sio/block.h"
9 
10 // -- std headers
11 #include <memory>
12 
13 namespace SIO {
14 
20  class SIOIndexHandler : public sio::block {
22  public:
23  SIOIndexHandler(const SIOIndexHandler&) = delete;
24  SIOIndexHandler& operator=(const SIOIndexHandler&) = delete ;
25  ~SIOIndexHandler() = default ;
26 
28  SIOIndexHandler() ;
29 
32 
35 
36  // from sio::block
37  void read( sio::read_device &device, sio::version_type vers ) override ;
38  void write( sio::write_device &device ) override ;
39 
40  private:
43  }; // class
44 
45 } // namespace
46 
47 #endif /* ifndef SIO_SIORUNHEADERHANDLER_H */
std::shared_ptr< RunEventMap > runEventMap() const
Get the run / event map.
void read(sio::read_device &device, sio::version_type vers) override
void write(sio::write_device &device) override
void setRunEventMap(std::shared_ptr< RunEventMap > remap)
Set the run / event map to read or write.
~SIOIndexHandler()=default
SIOIndexHandler & operator=(const SIOIndexHandler &)=delete
RunEvent::long64 long64
long long long64
Definition: RunEventMap.h:15
Handler for LCIOrandomAccess and LCIOIndex objects/blocks.
std::shared_ptr< RunEventMap > _runEventMap
The run / event map to read/write.
SIOIndexHandler()
Constructor.