ERXRetainer Class Reference

Collaboration diagram for ERXRetainer:

Collaboration graph
[legend]

List of all members.

Static Public Member Functions

static boolean isObjectRetained (Object object)
static void release (Object object)
static void retain (Object object)

Static Private Attributes

static NSMutableSet _retainerSet = new NSMutableSet()
static EOEditingContext ec


Detailed Description

Used as a generic way to retain a reference to an object so that it will not be collected by the garbage collector. This class is most often used to retain objects used to observe {link

}s.

Note that the current implementation does not implement reference counting so calling retain multiple times on the same object does not have any effect after the first call.


Member Function Documentation

static boolean isObjectRetained ( Object  object  )  [static]

Tests if the given object is being retained by the ERXRetainer class.

Parameters:
object object to be tested.
Returns:
returns if the given object is currently retained.

static void release ( Object  object  )  [static]

Releases the reference to the object.

Parameters:
object object to be released.

static void retain ( Object  object  )  [static]

Retains a reference to the object.

Parameters:
object object to be retained.


Member Data Documentation

NSMutableSet _retainerSet = new NSMutableSet() [static, private]

set used to retain references to objects

EOEditingContext ec [static, private]


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

Generated on Sat May 26 06:43:13 2012 for Project Wonder by  doxygen 1.5.8