Object. More...
#include <robjg.h>
Inheritance diagram for RObjG:
Collaboration diagram for RObjG:
Public Member Functions | |
RObjG (const size_t id, const RString &name) | |
int | Compare (const size_t id) const |
int | Compare (const RObjG &obj) const |
int | Compare (const RObjG *obj) const |
size_t | GetId (void) const |
RString | GetName (void) const |
virtual | ~RObjG (void) |
Protected Attributes | |
size_t | Id |
RString | Name |
Detailed Description
Object.
The RObjg class provides a representation of an object to place in a group.
Constructor & Destructor Documentation
Construct the object.
- Parameters
-
id Identifier. name Name of the object.
|
virtual |
Destruct the object.
Member Function Documentation
int Compare | ( | const size_t | id | ) | const |
Comparison function
int Compare | ( | const RObjG & | obj | ) | const |
Comparison function
int Compare | ( | const RObjG * | obj | ) | const |
Comparison function
size_t GetId | ( | void | ) | const |
Return the identifier of the object.
RString GetName | ( | void | ) | const |
Return the Name of the object.
Member Data Documentation
|
protected |
The identifier of the object.
|
protected |
Name of the object.