1#ifndef __JLANG__JOBJECTITERATOR__
2#define __JLANG__JOBJECTITERATOR__
18namespace JPP {
using namespace JLANG; }
34 template<
class T>
class JValve;
94 for ( ; i != ns &&
hasNext(); ++i) {
110 JObjectOutput <T>& out)
114 const T* p = in.
next();
190 template<
class JBase_t>
208 template<
class JHead_t,
class JTail_t>
226 template<
class JOutputIterator_t>
303 template<
class JBase_t>
317 template<
class JHead_t>
Interface for object iteration with named access.
Interface for named access of a device.
Auxiliary class for object iteration via multiple pipes, e.g. operator:
Interface of object iteration for a single data type.
JObjectIterator()
Default constructor.
virtual skip_type skip(const skip_type ns)
Skip items.
friend JMultiPipe< T, 0 > & operator|(JObjectIterator< T > &left, const JValve< T > &right)
Pipe operator.
friend JObjectMultiplexer< T, JBase_t > & operator|(JObjectIterator< T > &left, const JType< JBase_t > &right)
Pipe operator.
friend JMultiPipe< T, 0 > & operator|(JObjectIterator< T > &left, const JRegulator &right)
Pipe operator.
friend JObjectIterator< T > & operator>>(JObjectIterator< T > &in, JObjectOutput< T > &out)
Copy to object output.
virtual bool hasNext()=0
Check availability of next element.
friend void operator|(JObjectIterator< T > &left, JObjectOutput< T > &right)
Pipe terminator.
JPointer< T > pointer_type
Type definition of pointer_type.
virtual const pointer_type & next()=0
Get next element.
friend JMultiPipe< T, 0 > & operator|(JObjectIterator< T > &left, const JObjectSelector< T > &right)
Pipe operator.
virtual ~JObjectIterator()
Virtual destructor.
Auxiliary class for multiplexing object iterators.
Template interface of object output for single data type.
virtual bool put(const T &object)=0
Object output.
Interface for selection of objects.
Template implementation of class that holds pointer to object(s).
Interface for controlling object throughput.
Interface for object iteration with rewinding.
Template interface of rewindable object.
Auxiliary class for selection of data type.
Auxiliary classes and methods for language specific functionality.
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).
Implementation for null iteration.
virtual bool hasNext()
Check availability of next element.
JObjectIterator< T >::pointer_type pointer_type
virtual const pointer_type & next()
Get next element.
Auxiliary class for no type definition.
Auxiliary class for a type holder.