|
Jpp 21.0.0-rc.1
the software that should make you happy
|
Auxiliary base class for object identification. More...
#include <JObjectID.hh>
Public Member Functions | |
| JObjectID () | |
| Default constructor. | |
| JObjectID (const int id) | |
| Constructor. | |
| int | getID () const |
| Get identifier. | |
| int & | getID () |
| Get identifier. | |
| void | setID (const int id) |
| Set identifier. | |
| bool | less (const JObjectID &object) const |
| Less than method. | |
| bool | less (const int id) const |
| Less than method. | |
| bool | more (const int id) const |
| More than method. | |
Protected Attributes | |
| int | _id_ |
Friends | |
| std::istream & | operator>> (std::istream &in, JObjectID &object) |
| Read object identifier from input. | |
| std::ostream & | operator<< (std::ostream &out, const JObjectID &object) |
| Write object identifier to output. | |
Auxiliary base class for object identification.
Definition at line 35 of file JObjectID.hh.
|
inline |
Default constructor.
Definition at line 43 of file JObjectID.hh.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Less than method.
| object | object identifier |
Definition at line 97 of file JObjectID.hh.
|
inline |
Less than method.
| id | identifier |
Definition at line 109 of file JObjectID.hh.
|
inline |
More than method.
| id | identifier |
Definition at line 121 of file JObjectID.hh.
|
friend |
Read object identifier from input.
| in | input stream |
| object | object identifier |
Definition at line 134 of file JObjectID.hh.
|
friend |
Write object identifier to output.
| out | output stream |
| object | object identifier |
Definition at line 147 of file JObjectID.hh.
|
protected |
Definition at line 153 of file JObjectID.hh.