#include <MVATrainerLooper.h>
Public Types | |
typedef std::vector< Trainer * > ::const_iterator | const_iterator |
Public Member Functions | |
void | add (Trainer *trainer) |
const_iterator | begin () const |
void | clear () |
bool | empty () const |
const_iterator | end () const |
~TrainerContainer () | |
Private Attributes | |
std::vector< Trainer * > | content |
Definition at line 54 of file MVATrainerLooper.h.
typedef std::vector<Trainer*>::const_iterator PhysicsTools::MVATrainerLooper::TrainerContainer::const_iterator |
Definition at line 59 of file MVATrainerLooper.h.
PhysicsTools::MVATrainerLooper::TrainerContainer::~TrainerContainer | ( | ) |
void PhysicsTools::MVATrainerLooper::TrainerContainer::add | ( | Trainer * | trainer | ) | [inline] |
Definition at line 65 of file MVATrainerLooper.h.
References content.
Referenced by PhysicsTools::MVATrainerLooper::addTrainer().
{ content.push_back(trainer); }
const_iterator PhysicsTools::MVATrainerLooper::TrainerContainer::begin | ( | void | ) | const [inline] |
Definition at line 61 of file MVATrainerLooper.h.
References content.
Referenced by PhysicsTools::MVATrainerLooper::duringLoop(), and PhysicsTools::MVATrainerLooper::startingNewLoop().
{ return content.begin(); }
void PhysicsTools::MVATrainerLooper::TrainerContainer::clear | ( | void | ) |
Definition at line 65 of file MVATrainerLooper.cc.
References begin, ws_sso_content_reader::content, and end.
Referenced by PhysicsTools::MVATrainerLooper::duringLoop().
{ std::for_each(begin(), end(), deleter<Trainer>()); content.clear(); }
bool PhysicsTools::MVATrainerLooper::TrainerContainer::empty | ( | void | ) | const [inline] |
Definition at line 63 of file MVATrainerLooper.h.
References content.
Referenced by PhysicsTools::MVATrainerLooper::duringLoop().
{ return content.empty(); }
const_iterator PhysicsTools::MVATrainerLooper::TrainerContainer::end | ( | void | ) | const [inline] |
Definition at line 62 of file MVATrainerLooper.h.
References content.
Referenced by PhysicsTools::MVATrainerLooper::duringLoop(), PhysicsTools::MVATrainerContainerLooperImpl< Record_t >::produce(), and PhysicsTools::MVATrainerLooper::startingNewLoop().
{ return content.end(); }
std::vector<Trainer*> PhysicsTools::MVATrainerLooper::TrainerContainer::content [private] |