Go to the documentation of this file. 1 #ifndef __JLANG__JOBJECTID__
2 #define __JLANG__JOBJECTID__
16 namespace JPP {
using namespace JLANG; }
80 return this->
getID() <
object.getID();
90 inline bool less(
const int id)
const
92 return this->
getID() < id;
102 inline bool more(
const int id)
const
104 return this->
getID() > id;
117 return in >>
object.__id;
130 return out <<
object.__id;
143 return in >>
object.__id;
156 return out <<
object.__id;
friend JReader & operator>>(JReader &in, JObjectID &object)
Read object identifier from input.
Interface for binary input.
const JObjectID & getUndefinedObjectID()
Get undefined object identifier.
bool less(const int id) const
Less than method.
friend std::istream & operator>>(std::istream &in, JObjectID &object)
Read object identifier from input.
bool more(const int id) const
More than method.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
void setID(const int id)
Set identifier.
int getID() const
Get identifier.
friend JWriter & operator<<(JWriter &out, const JObjectID &object)
Write object identifier to output.
Interface for binary output.
friend std::ostream & operator<<(std::ostream &out, const JObjectID &object)
Write object identifier to output.
Auxiliary class for object identification.
Template definition of auxiliary base class for comparison of data structures.
JObjectID(const int id)
Constructor.
JObjectID()
Default constructor.
Auxiliary classes and methods for language specific functionality.
bool less(const JObjectID &object) const
Less than method.