Celeritas  0.5.0-86+4a8eea4
Public Member Functions | List of all members
celeritas::EventReaderInterface Class Referenceabstract

Abstract base class for reading all primaries from an event. More...

#include <EventIOInterface.hh>

Inheritance diagram for celeritas::EventReaderInterface:
Inheritance graph
[legend]

Public Types

Type aliases
using VecPrimary = std::vector< Primary >
 
using result_type = VecPrimary
 

Public Member Functions

virtual result_type operator() ()=0
 Read all primaries from a single event.
 
virtual size_type num_events () const =0
 Get total number of events.
 

Protected Member Functions

 EventReaderInterface ()=default
 
 CELER_DEFAULT_COPY_MOVE (EventReaderInterface)
 

Detailed Description

Abstract base class for reading all primaries from an event.

Constructor & Destructor Documentation

◆ EventReaderInterface()

celeritas::EventReaderInterface::EventReaderInterface ( )
protecteddefault

Allow construction and assignment only through daughter classes

Member Function Documentation

◆ CELER_DEFAULT_COPY_MOVE()

celeritas::EventReaderInterface::CELER_DEFAULT_COPY_MOVE ( EventReaderInterface  )
protected

Allow construction and assignment only through daughter classes


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