1#ifndef __JIO__JSERIALISABLE__
2#define __JIO__JSERIALISABLE__
17namespace JPP {
using namespace JIO; }
83 return object.
read(*
this);
95 JReader&
operator>>(
unsigned long int& value) {
read((
char*) &value,
sizeof(
unsigned long int));
return *
this; }
97 JReader&
operator>>(
unsigned long long int& value) {
read((
char*) &value,
sizeof(
unsigned long long int));
return *
this; }
112 return object.
read(*
this);
125 return *
this >> object;
146 return object.
write(*
this);
158 JWriter&
operator<<(
const unsigned long int value) {
write((
const char*) &value,
sizeof(
unsigned long int));
return *
this; }
160 JWriter&
operator<<(
const unsigned long long int value) {
write((
const char*) &value,
sizeof(
unsigned long long int));
return *
this; }
175 return object.
write(*
this);
188 return *
this << object;
Interface for binary input.
JReader & operator>>(unsigned long long int &value)
JReader & operator>>(bool &value)
JReader & operator>>(JLANG::JObjectID &value)
JReader & operator>>(JSerialisable &object)
Read serialisable data object.
JReader & operator>>(float &value)
JReader & operator>>(short &value)
JReader & operator>>(unsigned short &value)
JReader & operator>>(int &value)
JReader & operator>>(long int &value)
JReader & load(JSerialisable &object)
Read object.
JReader & load(T &object)
Read object.
virtual void clear()
Clear status of reader.
JReader & operator>>(double &value)
JReader & operator>>(char &value)
JReader & operator>>(unsigned long int &value)
JReader & operator>>(unsigned char &value)
JReader & operator>>(long double &value)
JReader & operator>>(unsigned int &value)
JReader & operator>>(long long int &value)
Forward declaration of binary output.
virtual ~JSerialisable()
Virtual destructor.
virtual JWriter & write(JWriter &out) const =0
Write to output.
virtual JReader & read(JReader &in)=0
Read from input.
Interface for binary output.
JWriter & operator<<(const double value)
JWriter & operator<<(const float value)
JWriter & operator<<(const bool value)
JWriter & operator<<(const long long int value)
JWriter & operator<<(const unsigned short value)
JWriter & operator<<(const unsigned int value)
JWriter & operator<<(const unsigned long long int value)
JWriter & operator<<(const int value)
JWriter & operator<<(const short value)
JWriter & operator<<(const JLANG::JObjectID &value)
JWriter & operator<<(const JSerialisable &object)
Write serialisable data object.
JWriter & operator<<(const char value)
JWriter & operator<<(const long int value)
JWriter & operator<<(const long double value)
JWriter & operator<<(const unsigned long int value)
JWriter & store(const T &object)
Write object.
JWriter & store(const JSerialisable &object)
Write object.
JWriter & operator<<(const unsigned char value)
Interface for binary output.
virtual int write(const char *buffer, const int length)=0
Write byte array.
Auxiliary class for object identification.
int getID() const
Get identifier.
Auxiliary classes and methods for binary I/O.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Interface for status of object.