| 
    Jpp
    
   | 
 
Auxiliary class to sample from a list of files. More...
#include <JMultipleFileSampler.hh>
  
 Public Types | |
| typedef JSampler_t< T > | sampler_type | 
| typedef JTemplate< JType_t > | template_type | 
| typedef JObjectIterator< T > ::pointer_type  | pointer_type | 
Public Member Functions | |
| JMultipleFileSampler (const sampler_type &sampler=sampler_type()) | |
| Constructor.  More... | |
| operator const JType_t & () const | |
| Type conversion.  More... | |
| operator JType_t & () | |
| Type conversion.  More... | |
| const JType_t * | operator-> () const | 
| Smart pointer operator.  More... | |
| JType_t * | operator-> () | 
| Smart pointer operator.  More... | |
| template<class T , bool use_polymorphism = false> | |
| const T & | get () const | 
| Get reference to object.  More... | |
| template<class T , bool use_polymorphism = false> | |
| T & | get () | 
| Get reference to object.  More... | |
| template_type & | set (const JType_t &value) | 
| Set value.  More... | |
| template<bool use_polymorphism, class T > | |
| template_type & | set (const T &value) | 
| Set value.  More... | |
| virtual bool | hasNext () override | 
| Check availability of next element.  More... | |
| virtual const pointer_type & | next () override | 
| Get next element.  More... | |
| const JSampler_t< T > & | getSampler () const | 
| Get sampler.  More... | |
| JSampler_t< T > & | getSampler () | 
| Get sampler.  More... | |
| virtual skip_type | skip (const skip_type ns) | 
| Skip items.  More... | |
Protected Member Functions | |
| const JType_t & | c_get (JBool< true > option) const | 
| Get reference to object.  More... | |
| JType_t & | c_get (JBool< true > option) | 
| Get reference to object.  More... | |
| template<class T > | |
| template_type & | c_set (const T &value, JBool< true > option) | 
| Set value.  More... | |
Protected Attributes | |
| JType_t | object | 
| object  More... | |
| JRewindableObjectIterator< T > & | in | 
| JSampler_t< T > | sampler | 
| JPointer< T > | ps | 
| bool | has_next | 
Auxiliary class to sample from a list of files.
Definition at line 28 of file JMultipleFileSampler.hh.
| typedef JSampler_t<T> JSUPPORT::JMultipleFileSampler< T, JSampler_t >::sampler_type | 
Definition at line 33 of file JMultipleFileSampler.hh.
      
  | 
  inherited | 
Definition at line 42 of file JTemplate.hh.
      
  | 
  inherited | 
Definition at line 45 of file JObjectSampler.hh.
      
  | 
  inline | 
Constructor.
| sampler | sampler | 
Definition at line 41 of file JMultipleFileSampler.hh.
      
  | 
  inlineinherited | 
      
  | 
  inlineinherited | 
      
  | 
  inlineinherited | 
      
  | 
  inlineinherited | 
      
  | 
  inlineinherited | 
Get reference to object.
Definition at line 113 of file JTemplate.hh.
      
  | 
  inlineinherited | 
Get reference to object.
Definition at line 125 of file JTemplate.hh.
      
  | 
  inlineinherited | 
Set value.
| value | value | 
Definition at line 137 of file JTemplate.hh.
      
  | 
  inlineinherited | 
Set value.
| value | value | 
Definition at line 150 of file JTemplate.hh.
      
  | 
  inlineprotectedinherited | 
Get reference to object.
| option | true | 
Definition at line 188 of file JTemplate.hh.
      
  | 
  inlineprotectedinherited | 
Get reference to object.
| option | true | 
Definition at line 200 of file JTemplate.hh.
      
  | 
  inlineprotectedinherited | 
Set value.
| value | value | 
| option | true | 
Definition at line 214 of file JTemplate.hh.
      
  | 
  inlineoverridevirtualinherited | 
Check availability of next element.
Implements JLANG::JObjectIterator< T >.
Definition at line 78 of file JObjectSampler.hh.
      
  | 
  inlineoverridevirtualinherited | 
Get next element.
Implements JLANG::JObjectIterator< T >.
Definition at line 120 of file JObjectSampler.hh.
      
  | 
  inlineinherited | 
      
  | 
  inlineinherited | 
      
  | 
  inlinevirtualinherited | 
Skip items.
| ns | number of items to skip | 
Reimplemented in JLANG::JPipe< T >, JLANG::JPipe< JTail_t >, JLANG::JPipe< JHead_t >, JLANG::JSTDObjectIterator< T >, JLANG::JAbstractObjectReader< T >, JLANG::JAbstractObjectReader< JNullType >, JLANG::JAbstractObjectReader< const T >, JLANG::JAbstractObjectReader< JTail_t >, JLANG::JAbstractObjectReader< JHead_t >, JLANG::JAbstractObjectReader< KM3NETDAQ::KM3NETDAQ::JDAQEvent >, JLANG::JAbstractObjectReader< JDAQSummaryslice >, and JLANG::JAbstractObjectReader< JTypeList< JDAQEvent, JTypelist_t > >.
Definition at line 90 of file JObjectIterator.hh.
      
  | 
  protectedinherited | 
object
Definition at line 222 of file JTemplate.hh.
      
  | 
  protectedinherited | 
Definition at line 154 of file JObjectSampler.hh.
      
  | 
  protectedinherited | 
Definition at line 155 of file JObjectSampler.hh.
      
  | 
  protectedinherited | 
Definition at line 156 of file JObjectSampler.hh.
      
  | 
  protectedinherited | 
Definition at line 157 of file JObjectSampler.hh.
 1.8.5