Go to the documentation of this file. 1 #ifndef __JLANG__JSTDOBJECTITERATOR__
2 #define __JLANG__JSTDOBJECTITERATOR__
17 namespace JPP {
using namespace JLANG; }
27 !JClass<typename T::reference>::is_constant>::value_type>
29 typedef typename JCategory<
typename T::value_type,
JRewindableObjectIterator< value_type >::pointer_type pointer_type
unsigned int skip_type
Type definition for number of objects to skip.
Implementation of object iteration from STD container.
counter_type advance(counter_type &counter, const counter_type value, const counter_type limit=std::numeric_limits< counter_type >::max())
Advance counter.
Auxiliary class to define value, reference and pointer types for given data type and category.
JSTDObjectIterator(T begin, T end)
Constructor.
Template for generic class types.
std::vector< T >::difference_type distance(typename std::vector< T >::const_iterator first, typename PhysicsEvent::const_iterator< T > second)
Specialisation of STL distance.
virtual void rewind()
Rewind.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
virtual skip_type skip(const skip_type ns)
Skip items.
Interface for object iteration with rewinding.
virtual bool hasNext()
Check availability of next element.
JCategory< typename T::value_type, !JClass< typename T::reference >::is_constant >::value_type value_type
Auxiliary classes and methods for language specific functionality.
virtual const pointer_type & next()
Get next element.
JSTDObjectIterator()
Default constructor.