|
Jpp test-rotations-new
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. | |
| const JMultipleFileScanner< T > *const | operator-> () const |
| Smart pointer operator. | |
| JMultipleFileScanner< T > * | operator-> () |
| Smart pointer operator. | |
| virtual bool | hasNext () override |
| Check availability of next element. | |
| virtual const pointer_type & | next () override |
| Get next element. | |
| const JSampler_t< T > & | getSampler () const |
| Get sampler. | |
| JSampler_t< T > & | getSampler () |
| Get sampler. | |
| virtual skip_type | skip (const skip_type ns) |
| Skip items. | |
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.
| 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::JAbstractObjectReader< T >, JLANG::JAbstractObjectReader< const event_type >, JLANG::JAbstractObjectReader< Evt >, JLANG::JAbstractObjectReader< JDAQSummaryslice >, JLANG::JAbstractObjectReader< JHead_t >, JLANG::JAbstractObjectReader< JTail_t >, JLANG::JAbstractObjectReader< JTypeList< JDAQEvent, JNullType > >, JLANG::JAbstractObjectReader< KM3NETDAQ::JDAQEvent >, JLANG::JPipe< T >, JLANG::JPipe< JHead_t >, JLANG::JPipe< JTail_t >, JLANG::JSTDObjectIterator< T >, JROOT::JRootFileReader< T, false >, JROOT::JTreeReaderObjectIterator< T >, JSUPPORT::JMultipleFileScanner< T >, JSUPPORT::JMultipleFileScanner< Evt >, JSUPPORT::JMultipleFileScanner< JDAQSummaryslice >, JSUPPORT::JMultipleFileScanner< JHead_t >, JSUPPORT::JMultipleFileScanner< JTail_t >, JSUPPORT::JMultipleFileScanner< JTypeList< JDAQEvent, JNullType > >, JSUPPORT::JMultipleFileScanner< JTypeList< JHead_t, JTail_t > >, JSUPPORT::JMultipleFileScanner< KM3NETDAQ::JDAQEvent >, JSUPPORT::JMultipleFileScanner<>, JSUPPORT::JSingleFileScanner< T >, JSUPPORT::JSingleFileScanner< JHead_t >, JSUPPORT::JSingleFileScanner< JTail_t >, JSUPPORT::JSingleFileScanner< JTypeList< JHead_t, JTail_t > >, and JSUPPORT::JSingleFileScanner<>.
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.