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,
 
Interface for object iteration with rewinding. 
 
std::vector< T >::difference_type distance(typename std::vector< T >::const_iterator first, typename PhysicsEvent::const_iterator< T > second)
Specialisation of STL distance. 
 
unsigned int skip_type
Type definition for number of objects to skip. 
 
virtual bool hasNext() override
Check availability of next element. 
 
JSTDObjectIterator()
Default constructor. 
 
virtual skip_type skip(const skip_type ns) override
Skip items. 
 
virtual void rewind() override
Rewind. 
 
Implementation of object iteration from STD container. 
 
do set_variable OUTPUT_DIRECTORY $WORKDIR T
 
counter_type advance(counter_type &counter, const counter_type value, const counter_type limit=std::numeric_limits< counter_type >::max())
Advance counter. 
 
JSTDObjectIterator(T begin, T end)
Constructor. 
 
virtual const pointer_type & next() override
Get next element. 
 
Template for generic class types. 
 
JRewindableObjectIterator< value_type >::pointer_type pointer_type
 
JCategory< typename T::value_type, JClass< typename T::reference >::is_constant >::value_type value_type
 
Auxiliary class to define value, reference and pointer types for given data type and category...