| 
    Jpp
    master_rocky-40-g5f0272dcd
    
   the software that should make you happy 
   | 
 
Auxiliary class to sample from a list of files. More...
#include <JMultipleFileSampler.hh>
  
Public Types | |
| typedef JSampler_t< T > | sampler_type | 
| typedef JObjectIterator< T >::pointer_type | pointer_type | 
Public Member Functions | |
| JMultipleFileSampler (const sampler_type &sampler=sampler_type()) | |
| Constructor.  More... | |
| const JMultipleFileScanner< T > *const | operator-> () const | 
| Smart pointer operator.  More... | |
| JMultipleFileScanner< T > * | operator-> () | 
| Smart pointer operator.  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 Attributes | |
| JMultipleFileScanner< T > | scanner | 
| 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 55 of file JMultipleFileSampler.hh.
| typedef JSampler_t<T> JSUPPORT::JMultipleFileSampler< T, JSampler_t >::sampler_type | 
Definition at line 60 of file JMultipleFileSampler.hh.
      
  | 
  inherited | 
Definition at line 45 of file JObjectSampler.hh.
      
  | 
  inline | 
Constructor.
| sampler | sampler | 
Definition at line 68 of file JMultipleFileSampler.hh.
      
  | 
  inlineinherited | 
Smart pointer operator.
Definition at line 31 of file JMultipleFileSampler.hh.
      
  | 
  inlineinherited | 
Smart pointer operator.
Definition at line 41 of file JMultipleFileSampler.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::JSTDObjectIterator< T >, JLANG::JPipe< T >, JLANG::JPipe< JTail_t >, JLANG::JPipe< JHead_t >, and JLANG::JAbstractObjectReader< T >.
Definition at line 90 of file JObjectIterator.hh.
      
  | 
  protectedinherited | 
Definition at line 47 of file JMultipleFileSampler.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.