1#ifndef __JSUPPORT__JPARALLELFILESCANNER__
2#define __JSUPPORT__JPARALLELFILESCANNER__
34 public JFileScanner_t<T>
38 typedef typename JFileScanner_t<JNullType>::input_type
input_type;
79 ps.
set(JFileScanner_t<T>::next());
86 using JFileScanner_t<T>
::next;
93 template<
class JHead_t,
class JTail_t,
template<
class>
class JFileScanner_t>
100 typedef typename JFileScanner_t<JNullType>::input_type
input_type;
200 template<
class JHead_t,
template<
class>
class JFileScanner_t>
#define THROW(JException_t, A)
Marco for throwing exception with std::ostream compatible message.
Scanning of objects from multiple files according a format that follows from the extension of each fi...
Scanning of objects from a single file according a format that follows from the extension of each fil...
virtual skip_type skip(const skip_type ns)
Skip items.
virtual void set(JClass_t *p) override
Set pointer.
virtual void rewind()=0
Rewind.
JParallelFileScanner(const input_type &input)
Constructor.
JParallelFileScanner()
Default constructor.
JParallelFileScanner< JHead_t, JFileScanner_t >::input_type input_type
JParallelFileScanner(const input_type &input, const JLimit &limit)
Constructor.
JParallelFileScanner< JHead_t, JFileScanner_t >::multi_pointer_type multi_pointer_type
JParallelFileScanner(const input_type &input, const JLimit &limit)
Constructor.
virtual bool hasNext() override
Check availability of next element.
JParallelFileScanner()
Default constructor.
JFileScanner_t< JNullType >::input_type input_type
virtual skip_type skip(const skip_type ns) override
Skip items.
JMultiPointer< JTypeList< JHead_t, JTail_t > > multi_pointer_type
virtual void rewind() override
Rewind.
JParallelFileScanner(const input_type &input)
Constructor.
virtual const multi_pointer_type & next() override
Get next element.
General purpose class for parallel reading of objects from a single file or multiple files.
JMultiPointer< T > multi_pointer_type
virtual const multi_pointer_type & next() override
Get next element.
JParallelFileScanner(const input_type &input)
Constructor.
JParallelFileScanner(const input_type &input, const JLimit &limit)
Constructor.
JFileScanner_t< JNullType >::input_type input_type
JParallelFileScanner()
Default constructor.
Object reading from a list of files.
counter_type getCounter() const
Get counter.
std::string getFilename(const std::string &file_name)
Get file name part, i.e. part after last JEEP::PATHNAME_SEPARATOR if any.
unsigned int skip_type
Type definition for number of objects to skip.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Support classes and methods for experiment specific I/O.
Implementation of multiple pointers for multiple data types.
General purpose class for multiple pointers.
void reset(const JMultiPointer< JClass_t > &pointer)
Reset multi-pointer.
Auxiliary class for no type definition.
Auxiliary class for defining the range of iterations of objects.