![]() System : Linux absol.cf 5.4.0-198-generic #218-Ubuntu SMP Fri Sep 27 20:18:53 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, Directory : /usr/share/doc/gnustep-base-doc/Base/Reference/ |
Upload File : |
<?xml version="1.0"?> <!DOCTYPE gsdoc PUBLIC "-//GNUstep//DTD gsdoc 1.0.4//EN" "http://www.gnustep.org/gsdoc-1_0_4.dtd"> <gsdoc base="NSMapTable" up="Base"> <head> <title>NSMapTable class reference</title> <author name="Richard Frith-Macdonald"> <email address="rfm@gnu.org"> rfm@gnu.org </email> </author> <copy>2009 Free Software Foundation, Inc.</copy> </head> <body> <front><contents /></front> <chapter> <heading> Software documentation for the NSMapTable class </heading> <class name="NSMapTable" super="NSObject" ovadd="1.0.0"> <declared>Foundation/NSMapTable.h</declared> <conform>NSCopying</conform> <conform>NSCoding</conform> <conform>NSFastEnumeration</conform> <desc> <em>Description forthcoming.</em> </desc> <method type="id" factory="yes" ovadd="1.0.0"> <sel>mapTableWithKeyOptions:</sel> <arg type="NSPointerFunctionsOptions">keyOptions</arg> <sel>valueOptions:</sel> <arg type="NSPointerFunctionsOptions">valueOptions</arg> <desc> Return a map table initialised using the specified options for keys and values. </desc> </method> <method type="id" factory="yes" ovadd="1.0.0"> <sel>mapTableWithStrongToStrongObjects</sel> <desc> Convenience method for creating a map table to store object values using object keys. </desc> </method> <method type="id" factory="yes" ovadd="1.0.0"> <sel>mapTableWithStrongToWeakObjects</sel> <desc> Convenience method for creating a map table to store non-retained object values with retained object keys. </desc> </method> <method type="id" factory="yes" ovadd="1.0.0"> <sel>mapTableWithWeakToStrongObjects</sel> <desc> Convenience method for creating a map table to store retained object values with non-retained object keys. </desc> </method> <method type="id" factory="yes" ovadd="1.0.0"> <sel>mapTableWithWeakToWeakObjects</sel> <desc> Convenience method for creating a map table to store non-retained object values with non-retained object keys. </desc> </method> <method type="id" factory="yes" ovadd="1.0.0"> <sel>strongToStrongObjectsMapTable</sel> <desc> Convenience method for creating a map table to store object values using object keys. The collection will retain both the key and the value. </desc> </method> <method type="id" factory="yes" ovadd="1.0.0"> <sel>strongToWeakObjectsMapTable</sel> <desc> Convenience method for creating a map table to store object values using object keys. The collection will retain the key, the value will be a zeroing weak reference. </desc> </method> <method type="id" factory="yes" ovadd="1.0.0"> <sel>weakToStrongObjectsMapTable</sel> <desc> Convenience method for creating a map table to store object values using object keys. The collection will retain the value, the key will be a zeroing weak reference. </desc> </method> <method type="id" factory="yes" ovadd="1.0.0"> <sel>weakToWeakObjectsMapTable</sel> <desc> Convenience method for creating a map table to store object values using object keys. The collection will use zeroing weak references for both the key and the value. </desc> </method> <method type="NSUInteger" ovadd="1.0.0"> <sel>count</sel> <desc> Return the number of items stored in the map. </desc> </method> <method type="NSDictionary*" ovadd="1.0.0"> <sel>dictionaryRepresentation</sel> <desc> Return a dictionary containing the keys and values in the receiver. </desc> </method> <method type="id" ovadd="1.0.0"> <sel>initWithKeyOptions:</sel> <arg type="NSPointerFunctionsOptions">keyOptions</arg> <sel>valueOptions:</sel> <arg type="NSPointerFunctionsOptions">valueOptions</arg> <sel>capacity:</sel> <arg type="NSUInteger">initialCapacity</arg> <desc> Initialiser using option bitmasks to describe the keys and values. </desc> </method> <method type="id" ovadd="1.0.0"> <sel>initWithKeyPointerFunctions:</sel> <arg type="NSPointerFunctions*">keyFunctions</arg> <sel>valuePointerFunctions:</sel> <arg type="NSPointerFunctions*">valueFunctions</arg> <sel>capacity:</sel> <arg type="NSUInteger">initialCapacity</arg> <desc> Initialiser using full pointer function information to describe the keys and values. </desc> </method> <method type="NSEnumerator*" ovadd="1.0.0"> <sel>keyEnumerator</sel> <desc> Return an enumerator able to enumerate the keys in the receiver. </desc> </method> <method type="NSPointerFunctions*" ovadd="1.0.0"> <sel>keyPointerFunctions</sel> <desc> Return an NSPointerFunctions value describind the functions used by the receiver to handle keys. </desc> </method> <method type="NSEnumerator*" ovadd="1.0.0"> <sel>objectEnumerator</sel> <desc> Return an enumerator able to enumerate the values in the receiver. </desc> </method> <method type="id" ovadd="1.0.0"> <sel>objectForKey:</sel> <arg type="id">aKey</arg> <desc> Return the object stored under the specified key. </desc> </method> <method type="void" ovadd="1.0.0"> <sel>removeAllObjects</sel> <desc> Empty the receiver of all stored values. </desc> </method> <method type="void" ovadd="1.0.0"> <sel>removeObjectForKey:</sel> <arg type="id">aKey</arg> <desc> Remove the object stored under the specified key. </desc> </method> <method type="void" ovadd="1.0.0"> <sel>setObject:</sel> <arg type="id">anObject</arg> <sel>forKey:</sel> <arg type="id">aKey</arg> <desc> Store the object under the specified key, replacing any object which was previously stored under that key. </desc> </method> <method type="NSPointerFunctions*" ovadd="1.0.0"> <sel>valuePointerFunctions</sel> <desc> Return an NSPointerFunctions value describind the functions used by the receiver to handle values. </desc> </method> </class> </chapter> </body> </gsdoc>