#include <graphcode.h>
Classes | |
struct | id_eq |
Public Member Functions | |
objref (GraphID_t i=0, int p=myid(), object *o=NULL) | |
objref (GraphID_t i, int p, object &o) | |
objref (const objref &x) | |
objref & | operator= (const objref &x) |
object & | operator* () |
object * | operator-> () |
const object & | operator* () const |
const object * | operator-> () const |
void | addref (object *o, bool mflag=false) |
bool | nullref () const |
void | nullify () |
is reference invalid? | |
Public Attributes | |
GraphID_t | ID |
object's ID | |
unsigned int | proc |
location of object | |
Friends | |
class | omap |
Reference to an object type
|
inline |
add a reference to an object. mflag indicates object should be deleted when the objref is
Referenced by GRAPHCODE_NS::Graph::AddObject(), and nullify().