AutoPurgeableOwner |
|
|
ContainsAutoPurgeable Purging |
Class AutoPurgeableOwner defines no new attributes.
Fields
No fields are defined by AutoPurgeableOwner or any of its superclasses.
Instance template
Class AutoPurgeableOwner cannot be instantiated.
Class definition
Define Class AutoPurgeableOwner; mixes in with Object; operation Purging(purgeThis: AutoPurgeable): Boolean, noFail, noMethod; // called by system when low on memory to reclaim memory used by <purgeThis> // must override to remove <purgeThis> from data structures // Return true if object can be purged, false if not. #ifdef DEBUG operation ContainsAutoPurgeable(candidate: AutoPurgeable): Boolean, noFail, noMethod; // called from debugging code to check whether or not <candidate> is // currently stored by self #endif end class;