1 #ifndef __JLANG__JOBJECTOUTPUT__
2 #define __JLANG__JOBJECTOUTPUT__
15 namespace JPP {
using namespace JLANG; }
46 virtual bool put(
const T&
object) = 0;
59 while (in.hasNext()) {
61 const T* p = in.
next();
82 template<
class JHead_t,
class JTail_t>
104 template<
class JInputIterator_t>
105 friend inline JObjectOutput& operator<<(JObjectOutput<typelist>& out, JInputIterator_t& in)
118 template<
class JHead_t>
151 virtual bool put(
const T&
object)
166 template<
class JHead_t,
class JTail_t>
176 template<
class JHead_t>
virtual bool put(const T &object)
Object output.
Interface for null access.
Interface of object iteration for a single data type.
virtual ~JObjectOutput()
Virtual destructor.
Implementation for null output with null access.
virtual const pointer_type & next()=0
Get next element.
JTypeList< JHead_t, JTail_t > typelist
Auxiliary class for no type definition.
JObjectOutput()
Default constructor.
Implementation of null output for single data type.
Forward declarations for definitions of I/O redirect and pipe operators.
virtual bool put(const T &object)=0
Object output.
Interface for object output with named access.
Interface for named access of a device.