ESCORefTable class documentation

Authors

Generated by builder

Software documentation for the ESCORefTable class

ESCORefTable : NSObject

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

sharedCORefTable 

+ (ESCORefTable*) sharedCORefTable;
Returns the global pointer/CORef mapping object.

CORefFromPointer: 

- (CORef) CORefFromPointer: (void*)aPointer;
Returns a CORef for aPointer, inserting the pair into the internal map table if necessary.

done 

- (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.

use 

- (void) use;
Description forthcoming.



Instance Variables for ESCORefTable Class

_lock

@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.

_nextCORef

@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.

_pointerToCORefMap

@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.

_refCount

@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.