1 #ifndef __JLANG__JOBJECTID__ 
    2 #define __JLANG__JOBJECTID__ 
   16 namespace JPP { 
using namespace JLANG; }
 
   79       return this->
getID() < 
object.getID();
 
   89     inline bool less(
const int id)
 const 
   91       return this->
getID() < id;
 
  101     inline bool more(
const int id)
 const 
  103       return this->
getID() > id;
 
  116       return in >> 
object.__id;
 
  129       return out << 
object.__id;
 
  142       return in >> 
object.__id;
 
  155       return out << 
object.__id;
 
Interface for binary output. 
 
JObjectID(const int id)
Constructor. 
 
JObjectID()
Default constructor. 
 
int getID() const 
Get identifier. 
 
bool more(const int id) const 
More than method. 
 
bool less(const JObjectID &object) const 
Less than method. 
 
Interface for binary input. 
 
Template definition of auxiliary base class for comparison of data structures. 
 
friend std::istream & operator>>(std::istream &in, JObjectID &object)
Read object identifier from input. 
 
friend JReader & operator>>(JReader &in, JObjectID &object)
Read object identifier from input. 
 
Auxiliary class for object identification. 
 
void setID(const int id)
Set identifier. 
 
const JObjectID & getUndefinedObjectID()
Get undefined object identifier. 
 
friend std::ostream & operator<<(std::ostream &out, const JObjectID &object)
Write object identifier to output. 
 
bool less(const int id) const 
Less than method. 
 
friend JWriter & operator<<(JWriter &out, const JObjectID &object)
Write object identifier to output.