Go to the documentation of this file. 1 #ifndef __JLANG__JCONVERSIONITERATOR__
2 #define __JLANG__JCONVERSIONITERATOR__
12 namespace JPP {
using namespace JLANG; }
19 template<
class JInput_t,
class JOutput_t>
56 const JInput_t* p =
in.
next();
59 ps.reset(
new JOutput_t(*p));
virtual bool hasNext()
Check availability of next element.
JConversionIterator(JObjectIterator< JInput_t > &input)
Constructor.
virtual bool hasNext()=0
Check availability of next element.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
JObjectIterator< JInput_t > & in
JObjectIterator< JOutput_t >::pointer_type pointer_type
Interface of object iteration for a single data type.
virtual const pointer_type & next()
Get next element.
Auxiliary classes and methods for language specific functionality.
virtual const pointer_type & next()=0
Get next element.
Interface for object iteration with type conversion.