1#ifndef __JLANG__JOBJECTID__
2#define __JLANG__JOBJECTID__
15namespace JPP {
using namespace JLANG; }
86 return this->
getID() <
object.getID();
96 inline bool less(
const int id)
const
98 return this->
getID() < id;
108 inline bool more(
const int id)
const
110 return this->
getID() > id;
123 return in >>
object.__id;
136 return out <<
object.__id;
Auxiliary class for object identification.
bool less(const int id) const
Less than method.
void setID(const int id)
Set identifier.
JObjectID(const int id)
Constructor.
JObjectID()
Default constructor.
bool more(const int id) const
More than method.
int & getID()
Get identifier.
friend std::istream & operator>>(std::istream &in, JObjectID &object)
Read object identifier from input.
friend std::ostream & operator<<(std::ostream &out, const JObjectID &object)
Write object identifier to output.
bool less(const JObjectID &object) const
Less than method.
int getID() const
Get identifier.
Auxiliary classes and methods for language specific functionality.
const JObjectID & getUndefinedObjectID()
Get undefined object identifier.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Template definition of auxiliary base class for comparison of data structures.