Authors
- Generated by builder
-
- Declared in:
- ESCORefTable.h
ESCORefTable maintains a global mapping of
pointers and CORefs. It is presently only used on
64bit architectures. A reference to the singleton
managing the map table can be obtained with
+sharedCORefMap
.
Instance Variables
Method summary
+ (
ESCORefTable*)
sharedCORefTable;
Returns the global pointer/CORef mapping object.
- (
CORef)
CORefFromPointer: (void*)aPointer;
Returns a CORef for aPointer, inserting
the pair into the internal map table if necessary.
- (void)
done;
If a serializer does not want to use the shared CORefMap
anymore, it can waive its usage with
-done
. If no serializer is actively using it, the map table
will be cleaned up.
- (void)
use;
Description forthcoming.
Instance Variables for ESCORefTable Class
@protected NSLock* _lock;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected CORef _nextCORef;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSMapTable* _pointerToCORefMap;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSUInteger _refCount;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.