![]() 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 : /proc/self/root/usr/share/GNUstep/Documentation/Developer/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="NSIndexPath" up="Base"> <head> <title>NSIndexPath class documentation</title> <author name="Richard Frith-Macdonald"> <email address="rfm@gnu.org"> rfm@gnu.org </email> </author> <copy>2006 Free Software Foundation, Inc.</copy> </head> <body> <front><contents /></front> <chapter> <heading> Software documentation for the NSIndexPath class </heading> <class name="NSIndexPath" super="NSObject" ovadd="10.4.0" gvadd="1.2.0"> <declared>Foundation/NSIndexPath.h</declared> <conform>NSCopying</conform> <conform>NSCoding</conform> <desc> Instances of this class represent a series of indexes into a hierarchy of arrays. <br /> Each instance is a unique shared object. </desc> <method type="id" factory="yes" ovadd="10.4.0" gvadd="1.2.0"> <sel>indexPathWithIndex:</sel> <arg type="NSUInteger">anIndex</arg> <desc> Return a path containing the single value <var>anIndex</var>. </desc> </method> <method type="id" factory="yes" ovadd="10.4.0" gvadd="1.2.0"> <sel>indexPathWithIndexes:</sel> <arg type="NSUInteger*">indexes</arg> <sel>length:</sel> <arg type="NSUInteger">length</arg> <desc> Return a path containing all the <var>indexes</var> in the supplied array. </desc> </method> <method type="NSComparisonResult" ovadd="10.4.0" gvadd="1.2.0"> <sel>compare:</sel> <arg type="NSIndexPath*">other</arg> <desc> Compares <var>other</var> with the receiver. <br /> Returns NSOrderedSame if the two are identical. <br /> Returns NSOrderedAscending if <var>other</var> is less than the receiver in a depth-wise comparison. <br /> Returns NSOrderedDescending otherwise. </desc> </method> <method type="void" ovadd="10.4.0" gvadd="1.2.0"> <sel>getIndexes:</sel> <arg type="NSUInteger*">aBuffer</arg> <desc> Copies all index values from the receiver into <var>aBuffer</var>. </desc> </method> <method type="NSUInteger" ovadd="10.4.0" gvadd="1.2.0"> <sel>indexAtPosition:</sel> <arg type="NSUInteger">position</arg> <desc> Return the index at the specified <var>position</var> or NSNotFound if there is no index at the specified <var>position</var>. </desc> </method> <method type="NSIndexPath*" ovadd="10.4.0" gvadd="1.2.0"> <sel>indexPathByAddingIndex:</sel> <arg type="NSUInteger">anIndex</arg> <desc> Return path formed by adding <var>anIndex</var> to the receiver. <br /> Return path formed by adding the index to the receiver. </desc> </method> <method type="NSIndexPath*" ovadd="10.4.0" gvadd="1.2.0"> <sel>indexPathByRemovingLastIndex</sel> <desc> Return path formed by removing the last index from the receiver. </desc> </method> <method type="id" init="yes" ovadd="10.4.0" gvadd="1.2.0"> <sel>initWithIndex:</sel> <arg type="NSUInteger">anIndex</arg> <desc> Returns the shared instance containing the specified index, creating it and destroying the receiver if necessary. </desc> </method> <method type="id" init="yes" ovadd="10.4.0" gvadd="1.2.0"> <sel>initWithIndexes:</sel> <arg type="NSUInteger*">indexes</arg> <sel>length:</sel> <arg type="NSUInteger">length</arg> <desc> Returns the shared instance containing the specified index array, creating it and destroying the receiver if necessary. <br /> Initialise the receiver to contain the specified <var>indexes</var>. <br /> May return an existing index path. </desc> </method> <method type="NSUInteger" ovadd="10.4.0" gvadd="1.2.0"> <sel>length</sel> <desc> Returns the number of index values present in the receiver. </desc> </method> </class> </chapter> </body> </gsdoc>