Public Member Functions | |
Countable () | |
Note: The capability that a reference counted object should never be reclaimed has been removed. | |
Countable (const Countable &c ATTR_UNUSED) | |
The copy constructor creates a new instance of Countable, therefore its "count" is initialized to 0. | |
Countable & | operator= (const Countable &c ATTR_UNUSED) throw () |
Countable::operator= does not modify "this's" count. | |
virtual | ~Countable () |
Public Attributes | |
ref_ptr< Countable >::count_t | count |
wali::Countable::Countable | ( | ) |
Note: The capability that a reference counted object should never be reclaimed has been removed.
If you require an object to "live forever", then it is up to you to hold onto a reference to the object.
wali::Countable::Countable | ( | const Countable &c | ATTR_UNUSED | ) |
The copy constructor creates a new instance of Countable, therefore its "count" is initialized to 0.
virtual wali::Countable::~Countable | ( | ) | [virtual] |
Countable::operator= does not modify "this's" count.
This is because operator= does not modify the number of pointers which refer to this. Therefore, operator= is a nop.
ref_ptr<Countable>::count_t wali::Countable::count |
Referenced by wali::graph::InterGraph::InterGraph().