Celeritas 0.7.0-dev.246+develop.67e9bdac
Loading...
Searching...
No Matches
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 (EventReaderInterface const &)=default
 
EventReaderInterfaceoperator= (EventReaderInterface const &)=default
 
 EventReaderInterface (EventReaderInterface &&)=default
 
EventReaderInterfaceoperator= (EventReaderInterface &&)=default
 

Detailed Description

Abstract base class for reading all primaries from an event.

Constructor & Destructor Documentation

◆ EventReaderInterface() [1/3]

celeritas::EventReaderInterface::EventReaderInterface ( )
protecteddefault

Allow construction and assignment only through daughter classes

◆ EventReaderInterface() [2/3]

celeritas::EventReaderInterface::EventReaderInterface ( EventReaderInterface const )
protecteddefault

Allow construction and assignment only through daughter classes

◆ EventReaderInterface() [3/3]

celeritas::EventReaderInterface::EventReaderInterface ( EventReaderInterface &&  )
protecteddefault

Allow construction and assignment only through daughter classes

Member Function Documentation

◆ num_events()

virtual size_type celeritas::EventReaderInterface::num_events ( ) const
pure virtual

◆ operator()()

virtual result_type celeritas::EventReaderInterface::operator() ( )
pure virtual

◆ operator=() [1/2]

EventReaderInterface & celeritas::EventReaderInterface::operator= ( EventReaderInterface &&  )
protecteddefault

Allow construction and assignment only through daughter classes

◆ operator=() [2/2]

EventReaderInterface & celeritas::EventReaderInterface::operator= ( EventReaderInterface const )
protecteddefault

Allow construction and assignment only through daughter classes


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