psana::RunIter Class Reference
[psana package]

Class representing iterator over runs. More...

#include <RunIter.h>

List of all members.

Public Types

typedef Run value_type

Public Member Functions

 RunIter ()
 Default constructor makes invalid iterator.
 RunIter (const boost::shared_ptr< EventLoop > &evtLoop)
 Constructor takes event loop instance.
 ~RunIter ()
value_type next ()
 get next run, when done returns object which is convertible to "false"
std::pair< value_type, boost::shared_ptr<
PSEvt::Event > > 
nextWithEvent ()
 get next run, when done returns object which is convertible to "false"


Detailed Description

Class representing iterator over runs.

This software was developed for the LCLS project. If you use all or part of it, please give an appropriate acknowledgment.

Version:
Id
RunIter.h 8825 2014-08-28 01:16:10Z davidsch@SLAC.STANFORD.EDU
Author:
Andy Salnikov

Definition at line 55 of file RunIter.h.


Member Typedef Documentation

typedef Run psana::RunIter::value_type

Definition at line 58 of file RunIter.h.


Constructor & Destructor Documentation

psana::RunIter::RunIter (  ) 

Default constructor makes invalid iterator.

Definition at line 41 of file RunIter.cpp.

psana::RunIter::RunIter ( const boost::shared_ptr< EventLoop > &  evtLoop  ) 

Constructor takes event loop instance.

Definition at line 47 of file RunIter.cpp.

psana::RunIter::~RunIter (  ) 

Definition at line 60 of file RunIter.cpp.


Member Function Documentation

RunIter::value_type psana::RunIter::next (  ) 

get next run, when done returns object which is convertible to "false"

Definition at line 98 of file RunIter.cpp.

References nextWithEvent().

Referenced by BOOST_AUTO_TEST_CASE().

std::pair< RunIter::value_type, boost::shared_ptr< PSEvt::Event > > psana::RunIter::nextWithEvent (  ) 

get next run, when done returns object which is convertible to "false"

Definition at line 66 of file RunIter.cpp.

References psana::EventLoop::BeginRun, and psana::EventLoop::None.

Referenced by next().


The documentation for this class was generated from the following files:
Generated on 19 Dec 2016 for PSANAclasses by  doxygen 1.4.7