LCIO  02.17
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Attributes | Static Private Attributes | List of all members
SIO::SIOEventHandler Class Reference

Handler for LCEvent/LCEventIOImpl objects. More...

#include <SIOEventHandler.h>

+ Inheritance diagram for SIO::SIOEventHandler:

Public Member Functions

 SIOEventHandler (const SIOEventHandler &)=delete
 
SIOEventHandleroperator= (const SIOEventHandler &)=delete
 
 ~SIOEventHandler ()=default
 
 SIOEventHandler ()
 Constructor. More...
 
void read (sio::read_device &device, sio::version_type vers) override
 
void write (sio::write_device &device) override
 
void setEvent (EVENT::LCEvent *evt)
 Set the event to read/write. More...
 
void setCollectionNames (const std::set< std::string > &colnames)
 Set the collection to read or write only. More...
 

Private Attributes

EVENT::LCEvent_event {nullptr}
 
std::set< std::string_colSubSet {}
 List of collection to read only. More...
 

Static Private Attributes

static constexpr const char * SubsetPostfix = "_References"
 

Detailed Description

Handler for LCEvent/LCEventIOImpl objects.

Author
gaede
Version
Id:
SIOEventHandler.h,v 1.8 2005-04-15 08:37:42 gaede Exp

Definition at line 23 of file SIOEventHandler.h.

Constructor & Destructor Documentation

SIO::SIOEventHandler::SIOEventHandler ( const SIOEventHandler )
delete
SIO::SIOEventHandler::~SIOEventHandler ( )
default
SIO::SIOEventHandler::SIOEventHandler ( )

Constructor.

Definition at line 17 of file SIOEventHandler.cc.

Member Function Documentation

SIOEventHandler& SIO::SIOEventHandler::operator= ( const SIOEventHandler )
delete
void SIO::SIOEventHandler::read ( sio::read_device &  device,
sio::version_type  vers 
)
override
void SIO::SIOEventHandler::setCollectionNames ( const std::set< std::string > &  colnames)

Set the collection to read or write only.

Definition at line 30 of file SIOEventHandler.cc.

References _colSubSet.

void SIO::SIOEventHandler::setEvent ( EVENT::LCEvent evt)

Set the event to read/write.

Definition at line 24 of file SIOEventHandler.cc.

References _event.

void SIO::SIOEventHandler::write ( sio::write_device &  device)
override

Member Data Documentation

std::set<std::string> SIO::SIOEventHandler::_colSubSet {}
private

List of collection to read only.

Definition at line 49 of file SIOEventHandler.h.

Referenced by read(), setCollectionNames(), and write().

EVENT::LCEvent* SIO::SIOEventHandler::_event {nullptr}
private

Definition at line 47 of file SIOEventHandler.h.

Referenced by read(), setEvent(), and write().

constexpr const char* SIO::SIOEventHandler::SubsetPostfix = "_References"
staticprivate

Definition at line 43 of file SIOEventHandler.h.

Referenced by read(), and write().


The documentation for this class was generated from the following files: