Public Member Functions | Public Attributes

wali::Countable Class Reference

List of all members.

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.
Countableoperator= (const Countable &c ATTR_UNUSED) throw ()
 Countable::operator= does not modify "this's" count.
virtual ~Countable ()

Public Attributes

ref_ptr< Countable >::count_t count

Constructor & Destructor Documentation

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]

Member Function Documentation

Countable& wali::Countable::operator= ( const Countable &c  ATTR_UNUSED  )  throw ()

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.


Member Data Documentation


The documentation for this class was generated from the following file: