1 #ifndef __JSUPPORT__JPARALLELFILESCANNER__
2 #define __JSUPPORT__JPARALLELFILESCANNER__
19 namespace JPP {
using namespace JSUPPORT; }
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>
JFileScanner_t< JNullType >::input_type input_type
virtual const multi_pointer_type & next() override
Get next element.
void reset(const JMultiPointer< JClass_t > &pointer)
Reset multi-pointer.
unsigned int skip_type
Type definition for number of objects to skip.
JParallelFileScanner(const input_type &input)
Constructor.
#define THROW(JException_t, A)
Marco for throwing exception with std::ostream compatible message.
JParallelFileScanner(const input_type &input, const JLimit &limit)
Constructor.
General purpose class for parallel reading of objects from a single file or multiple files...
JParallelFileScanner(const input_type &input, const JLimit &limit)
Constructor.
Scanning of objects from a single file according a format that follows from the extension of each fil...
std::ostream & rewind(std::ostream &out)
Rewind character.
Auxiliary class for defining the range of iterations of objects.
virtual void rewind() override
Rewind.
Implementation of multiple pointers for multiple data types.
JParallelFileScanner()
Default constructor.
JMultiPointer< JTypeList< JHead_t, JTail_t > > multi_pointer_type
Auxiliary class for no type definition.
virtual bool hasNext() override
Check availability of next element.
JParallelFileScanner< JHead_t, JFileScanner_t >::input_type input_type
virtual const multi_pointer_type & next() override
Get next element.
virtual skip_type skip(const skip_type ns) override
Skip items.
Scanning of objects from multiple files according a format that follows from the extension of each fi...
JParallelFileScanner(const input_type &input)
Constructor.
JMultiPointer< T > multi_pointer_type
JParallelFileScanner()
Default constructor.
JParallelFileScanner< JHead_t, JFileScanner_t >::multi_pointer_type multi_pointer_type
JParallelFileScanner(const input_type &input, const JLimit &limit)
Constructor.
JParallelFileScanner(const input_type &input)
Constructor.
JParallelFileScanner()
Default constructor.
Object reading from a list of files.
JFileScanner_t< JNullType >::input_type input_type
General purpose class for multiple pointers.
virtual void set(JClass_t *p) override
Set pointer.