1#ifndef __JIO__JWRITEROBJECTITERATOR__
2#define __JIO__JWRITEROBJECTITERATOR__
19namespace JPP {
using namespace JIO; }
54 virtual bool put(
const T&
object)
override
60 bool put(
const T&
object, std::true_type) {
return (
bool)
object.write(
out); }
61 bool put(
const T&
object, std::false_type) {
return (
bool) (
out << object); }
75 template<
class JHead_t,
class JTail_t>
98 template<
class JHead_t>
JWriterObjectOutput(JWriter &writer)
Constructor.
JWriterObjectOutput(JWriter &writer)
Constructor.
Implementation of object output using JIO::JWriter for single data type.
JWriterObjectOutput(JWriter &writer)
Constructor.
bool put(const T &object, std::true_type)
virtual bool put(const T &object) override
Object output.
bool put(const T &object, std::false_type)
Interface for binary output.
Template interface of object output for single data type.
Auxiliary classes and methods for binary I/O.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Template class test for polymorphism.
Auxiliary class for no type definition.