Go to the documentation of this file.    1 #ifndef __JROOT__JTREEREADEROBJECTITERATOR__ 
    2 #define __JROOT__JTREEREADEROBJECTITERATOR__ 
   18 namespace JPP { 
using namespace JROOT; }
 
   49       gErrorIgnoreLevel = kError;
 
   81     virtual const pointer_type& 
next() 
 
  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();
 
 
unsigned int skip_type
Type definition for number of objects to skip.
 
virtual JClass_t * get() const
Get pointer.
 
Auxiliary classes and methods for ROOT I/O.
 
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.
 
JRewindableObjectIterator< T >::pointer_type pointer_type
 
virtual bool hasNext()
Check availability of next element.
 
virtual void close()
Close file.
 
T * getAddress() const
Get address.
 
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
 
virtual void rewind()
Rewind.
 
virtual const pointer_type & next()
Get next element.
 
Interface for object iteration with named access.
 
virtual void open(const char *file_name)
Open file.
 
virtual void reset()
Reset pointer.
 
counter_type getCounter() const
Get internal counter.
 
virtual bool is_open() const
Check is file is open.
 
virtual bool load(TFile *file)
Load TTree from given file.
 
JTreeReaderObjectIterator()
Default constructor.
 
const JTreeParameters & getTreeParameters() const
Get TTree parameters.
 
Interface for object iteration with rewinding.
 
virtual skip_type skip(const skip_type ns)
Skip items.
 
JTreeReader object iterator.
 
JTemplateTreeReader object iterator.
 
JTreeReaderAccessibleObjectIterator()
Default constructor.
 
Long64_t counter_type
Type definition for counter.
 
bool is_valid() const
Check validity of pointer.