1 #ifndef __JROOT__JTREEREADEROBJECTITERATOR__ 
    2 #define __JROOT__JTREEREADEROBJECTITERATOR__ 
   18 namespace JPP { 
using namespace JROOT; }
 
   49       gErrorIgnoreLevel = kError;
 
   70         return counter < this->
get()->GetEntries();
 
   87         this->
get()->GetEvent(
counter++);
 
  159         const TFile* file = this->
get()->GetCurrentFile();
 
  161         return (file != NULL && file->IsOpen());
 
  173     virtual void open(
const char* file_name)
 
  175       this->
load(TFile::Open(file_name));
 
  187         const TFile* file = this->
get()->GetCurrentFile();
 
JTreeReader object iterator. 
 
virtual void open(const char *file_name)
Open file. 
 
Interface for object iteration with rewinding. 
 
JTreeReaderObjectIterator()
Default constructor. 
 
unsigned int skip_type
Type definition for number of objects to skip. 
 
virtual skip_type skip(const skip_type ns)
Skip items. 
 
Type definition for counter for ROOT TTree and auxiliary methods. 
 
Long64_t counter_type
Type definition for counter. 
 
TTree reading for template data type. 
 
bool is_valid() const 
Check validity of pointer. 
 
const JTreeParameters & getTreeParameters() const 
Get TTree parameters. 
 
virtual void reset()
Reset pointer. 
 
JTreeReaderAccessibleObjectIterator()
Default constructor. 
 
counter_type getCounter() const 
Get internal counter. 
 
do set_variable OUTPUT_DIRECTORY $WORKDIR T
 
counter_type advance(counter_type &counter, const counter_type value, const counter_type limit=std::numeric_limits< counter_type >::max())
Advance counter. 
 
Auxiliary class for template TTree reading. 
 
Interface for object iteration with named access. 
 
JRewindableObjectIterator< T >::pointer_type pointer_type
 
T * getAddress() const 
Get address. 
 
virtual bool hasNext()
Check availability of next element. 
 
virtual bool is_open() const 
Check is file is open. 
 
virtual void close()
Close file. 
 
JTemplateTreeReader object iterator. 
 
virtual const pointer_type & next()
Get next element. 
 
virtual bool load(TFile *file)
Load TTree from given file. 
 
virtual void rewind()
Rewind.