|
Samond Classes Library 1.1.6-RELEASE build 132
|
Objects list ancestor class. More...
#import <SCList.h>
Objects list ancestor class.
Class combines common methods of other objects list types.
Class was introduced in version 1.1.3.
Class declares the following properties:
| - (BOOL) currentBool |
Returns as a boolean value the current object from the receiving list.
| SCCollectionException | - list error detected |
| - (SCByte) currentByte |
Returns as a signed 8-bit integer value the current object from the receiving list.
| SCCollectionException | - list error detected |
| - (char) currentChar |
Returns as a char value the current object from the receiving list.
| SCCollectionException | - list error detected |
| - (const char *) currentCharString |
Returns as a char string the current object from the receiving list.
| SCCollectionException | - list error detected |
| - (SCDouble) currentDouble |
Returns as a double precision float value the current object from the receiving list.
| SCCollectionException | - list error detected |
| - (SCFloat) currentFloat |
Returns as a single precision float value the current object from the receiving list.
| SCCollectionException | - list error detected |
| - (SCInteger) currentInteger |
Returns as a signed 32-bit integer value the current object from the receiving list.
| SCCollectionException | - list error detected |
| - (SCLong) currentLong |
Returns as a signed 64-bit integer value the current object from the receiving list.
| SCCollectionException | - list error detected |
| - (NSNumber *) currentNumber |
Returns as a number the current object from the receiving list.
| SCCollectionException | - list error detected |
| - (id) currentObject |
Return the current object from the receiving list.
| - (SCShort) currentShort |
Returns as a signed 16-bit integer value the current object from the receiving list.
| SCCollectionException | - list error detected |
| - (NSString *) currentString |
Returns as a string the current object from the receiving list.
| SCCollectionException | - list error detected |
| - (SCUByte) currentUByte |
Returns as an unsigned 8-bit integer value the current object from the receiving list.
| SCCollectionException | - list error detected |
| - (SCUInteger) currentUInteger |
Returns as an unsigned 32-bit integer value the current object from the receiving list.
| SCCollectionException | - list error detected |
| - (SCULong) currentULong |
Returns as an unsigned 64-bit integer value the current object from the receiving list.
| SCCollectionException | - list error detected |
| - (unichar) currentUnichar |
Returns as an unichar value the current object from the receiving list.
| SCCollectionException | - list error detected |
| - (SCUShort) currentUShort |
Returns as an unsigned 16-bit integer value the current object from the receiving list.
| SCCollectionException | - list error detected |
| - (void) duplicateCurrentObject |
Duplicates the current object of the receiving list.
| SCCollectionException | - list error detected |
| - (void) duplicateFirstObject |
Duplicates the first object of the receiving list.
| SCCollectionException | - list error detected |
| - (BOOL) firstBool |
Returns as a boolean value the first object from the receiving list.
| SCCollectionException | - list error detected |
| - (SCByte) firstByte |
Returns as a signed 8-bit integer value the first object from the receiving list.
| SCCollectionException | - list error detected |
| - (char) firstChar |
Returns as a char value the first object from the receiving list.
| SCCollectionException | - list error detected |
| - (const char *) firstCharString |
Returns as a char string the first object from the receiving list.
| SCCollectionException | - list error detected |
| - (SCDouble) firstDouble |
Returns as a double precision float value the first object from the receiving list.
| SCCollectionException | - list error detected |
| - (SCFloat) firstFloat |
Returns as a single precision float value the first object from the receiving list.
| SCCollectionException | - list error detected |
| - (SCInteger) firstInteger |
Returns as a signed 32-bit integer value the first object from the receiving list.
| SCCollectionException | - list error detected |
| - (SCLong) firstLong |
Returns as a signed 64-bit integer value the first object from the receiving list.
| SCCollectionException | - list error detected |
| - (NSNumber *) firstNumber |
Returns as a number the first object from the receiving list.
| SCCollectionException | - list error detected |
| - (id) firstObject |
Returns the first object from the receiving list.
| - (SCShort) firstShort |
Returns as a signed 16-bit integer value the first object from the receiving list.
| SCCollectionException | - list error detected |
| - (NSString *) firstString |
Returns as a string the first object from the receiving list.
| SCCollectionException | - list error detected |
| - (SCUByte) firstUByte |
Returns as an unsigned 8-bit integer value the first object from the receiving list.
| SCCollectionException | - list error detected |
| - (SCUInteger) firstUInteger |
Returns as an unsigned 32-bit integer value the first object from the receiving list.
| SCCollectionException | - list error detected |
| - (SCULong) firstULong |
Returns as an unsigned 64-bit integer value the first object from the receiving list.
| SCCollectionException | - list error detected |
| - (unichar) firstUnichar |
Returns as an unichar value the first object from the receiving list.
| SCCollectionException | - list error detected |
| - (SCUShort) firstUShort |
Returns as an unsigned 16-bit integer value the first object from the receiving list.
| SCCollectionException | - list error detected |
| - (id) initWithCapacity: | (SCULong) | capacity |
Initializes the list using the specified capacity.
| capacity | - list capacity |
| - (id) initWithCollection: | (id) | collection |
Initializes the list using the specified existing collection.
| collection | - existing collection |
| SCCollectionException | - list error detected |
| - (id) initWithDelegate: | (id<SCCollectionDelegate>) | delegate |
Initializes the list using the specified delegate object.
| delegate | - delegate object |
| - (id) initWithDelegate: | (id<SCCollectionDelegate>) | delegate | |
| collection: | (id) | collection | |
Initializes the list using the specified delegate object and existing collection.
| delegate | - delegate object |
| collection | - existing collection |
| SCCollectionException | - list error detected |
| - (id) initWithDelegate: | (id<SCCollectionDelegate>) | delegate | |
| object: | (id) | object | |
Initializes the list using the specified delegate object and existing object.
| delegate | - delegate object |
| object | - existing object |
| SCCollectionException | - list error detected |
| - (id) initWithDelegate: | (id<SCCollectionDelegate>) | delegate | |
| objects: | (id) | object | |
| , | ... | ||
Initializes the list using the specified delegate object and list of existing objects.
| delegate | - delegate object |
| object | - first existing object |
| ... | - other existing objects |
| SCCollectionException | - list error detected |
| - (id) initWithList: | (SCList *) | list |
Initializes the list using the existing list.
| list | - source list |
| SCCollectionError | - list error detected |
| - (id) initWithListName: | (NSString *) | name |
Initializes the list using the specified name.
| name | - list name |
| - (id) initWithListName: | (NSString *) | name | |
| capacity: | (SCULong) | capacity | |
Initializes the list using the specified name and capacity.
| name | - list name |
| capacity | - list capacity |
| - (id) initWithObject: | (id) | object |
Initializes the list using the specified existing object.
| object | - existing object |
| SCCollectionException | - list error detected |
| - (id) initWithObjects: | (id) | object | |
| , | ... | ||
Initializes the list using the specified list of existing objects.
| object | - first existing object |
| ... | - other existing objects |
| SCCollectionException | - list error detected |
| - (void) insertCurrentBool: | (BOOL) | boolean |
Inserts the specified boolean value before the current object of the specified list.
| boolean | - inserted value |
| SCCollectionException | - list error detected |
| - (void) insertCurrentByte: | (SCByte) | byte |
Inserts the specified signed 8-bit integer value before the current object of the specified list.
| byte | - inserted value |
| SCCollectionException | - list error detected |
| - (void) insertCurrentChar: | (char) | chr |
Inserts the specified char value before the current object of the specified list.
| chr | - inserted value |
| SCCollectionException | - list error detected |
| - (void) insertCurrentCharString: | (const char *) | string |
Inserts the specified char string before the current object of the specified list.
| string | - inserted string |
| SCCollectionException | - list error detected |
| - (void) insertCurrentDouble: | (SCDouble) | dbl |
Inserts the specified double precision float value before the current object of the specified list.
| dbl | - inserted value |
| SCCollectionException | - list error detected |
| - (void) insertCurrentFloat: | (SCFloat) | flt |
Inserts the specified single precision float value before the current object of the specified list.
| flt | - inserted value |
| SCCollectionException | - list error detected |
| - (void) insertCurrentInteger: | (SCInteger) | integer |
Inserts the specified signed 32-bit integer value before the current object of the specified list.
| integer | - inserted value |
| SCCollectionException | - list error detected |
| - (void) insertCurrentLong: | (SCLong) | longint |
Inserts the specified signed 64-bit integer value before the current object of the specified list.
| longint | - inserted value |
| SCCollectionException | - list error detected |
| - (void) insertCurrentObject: | (id) | object |
Inserts the specified object before current object of the receiving list.
| object | - inserted object |
| SCCollectionException | - list error detected |
| - (void) insertCurrentObjects: | (id) | object | |
| , | ... | ||
Inserts into the receiving list before current object the objects from the specified objects list.
| object | - first object |
| ... | - other objects with nil terminate |
| SCCollectionException | - list error detected |
| - (void) insertCurrentObjectsFromCollection: | (id) | collection |
Inserts into the receiving list before current object the objects from the specified collection.
| collection | - collection of the source objects |
| SCCollectionException | - list error detected |
| - (void) insertCurrentShort: | (SCShort) | shortint |
Inserts the specified signed 16-bit integer value before the current object of the specified list.
| shortint | - inserted value |
| SCCollectionException | - list error detected |
| - (void) insertCurrentUByte: | (SCUByte) | byte |
Inserts the specified unsigned 8-bit integer value before the current object of the specified list.
| byte | - inserted value |
| SCCollectionException | - list error detected |
| - (void) insertCurrentUInteger: | (SCUInteger) | integer |
Inserts the specified unsigned 32-bit integer value before the current object of the specified list.
| integer | - inserted value |
| SCCollectionException | - list error detected |
| - (void) insertCurrentULong: | (SCULong) | longint |
Inserts the specified unsigned 64-bit integer value before the current object of the specified list.
| longint | - inserted value |
| SCCollectionException | - list error detected |
| - (void) insertCurrentUnichar: | (unichar) | chr |
Inserts the specified unichar value before the current object of the specified list.
| chr | - inserted value |
| SCCollectionException | - list error detected |
| - (void) insertCurrentUShort: | (SCUShort) | shortint |
Inserts the specified unsigned 16-bit integer value before the current object of the specified list.
| shortint | - inserted value |
| SCCollectionException | - list error detected |
| - (void) insertFirstBool: | (BOOL) | boolean |
Inserts the specified boolean value as a first object into the receiving list.
| boolean | - inserted value |
| SCCollectionException | - list error detected |
| - (void) insertFirstByte: | (SCByte) | byte |
Inserts the specified signed 8-bit integer value as a first object into the receiving list.
| byte | - inserted value |
| SCCollectionException | - list error detected |
| - (void) insertFirstChar: | (char) | chr |
Inserts the specified char value as a first object into the receiving list.
| chr | - inserted value |
| SCCollectionException | - list error detected |
| - (void) insertFirstCharString: | (const char *) | string |
Inserts the specified char string as a first object into the receiving list.
| string | - inserted string |
| SCCollectionException | - list error detected |
| - (void) insertFirstDouble: | (SCDouble) | dbl |
Inserts the specified double precision float value as a first object into the receiving list.
| dbl | - inserted value |
| SCCollectionException | - list error detected |
| - (void) insertFirstFloat: | (SCFloat) | flt |
Inserts the specified single precision float value as a first object into the receiving list.
| flt | - inserted value |
| SCCollectionException | - list error detected |
| - (void) insertFirstInteger: | (SCInteger) | integer |
Inserts the specified signed 32-bit integer value as a first object into the receiving list.
| integer | - inserted value |
| SCCollectionException | - list error detected |
| - (void) insertFirstLong: | (SCLong) | longint |
Inserts the specified signed 64-bit integer value as a first object into the receiving list.
| longint | - inserted value |
| SCCollectionException | - list error detected |
| - (void) insertFirstObject: | (id) | object |
Inserts the specified object before the first object into the receiving list.
| object | - inserted object |
| SCCollectionException | - list error detected |
| - (void) insertFirstObjects: | (id) | object | |
| , | ... | ||
Inserts into the receiving list before first object the objects from the specified objects list.
| object | - first object |
| ... | - other objects with nil terminate |
| SCCollectionException | - list error detected |
| - (void) insertFirstObjectsFromCollection: | (id) | collection |
Inserts into the receiving list before first object the objects from the specified collection.
| collection | - collection of the source objects |
| SCCollectionException | - list error detected |
| - (void) insertFirstShort: | (SCShort) | shortint |
Inserts the specified signed 16-bit integer value as a first object into the receiving list.
| shortint | - inserted value |
| SCCollectionException | - list error detected |
| - (void) insertFirstUByte: | (SCUByte) | byte |
Inserts the specified unsigned 8-bit integer value as a first object into the receiving list.
| byte | - inserted value |
| SCCollectionException | - list error detected |
| - (void) insertFirstUInteger: | (SCUInteger) | integer |
Inserts the specified unsigned 32-bit integer value as a first object into the receiving list.
| integer | - inserted value |
| SCCollectionException | - list error detected |
| - (void) insertFirstULong: | (SCULong) | longint |
Inserts the specified unsigned 64-bit integer value as a first object into the receiving list.
| longint | - inserted value |
| SCCollectionException | - list error detected |
| - (void) insertFirstUnichar: | (unichar) | chr |
Inserts the specified unichar value as a first object into the receiving list.
| chr | - inserted value |
| SCCollectionException | - list error detected |
| - (void) insertFirstUShort: | (SCUShort) | shortint |
Inserts the specified unsigned 16-bit integer value as a first object into the receiving list.
| shortint | - inserted value |
| SCCollectionException | - list error detected |
| - (NSString *) listName |
Returns the name of the receiving list.
| - (id) nextObject |
Shifts the current object pointer to the next object in the receiving list and return a pointer to the next object.
| - (void) removeCurrentObject |
Removes the current object from the specified list.
| SCCollectionException | - list error detected |
| - (void) removeFirstObject |
Removes the first object from the specified list.
| SCCollectionException | - list error detected |
| - (void) replaceCurrentObjectWithBool: | (BOOL) | boolean |
Replaces the current object of receiving list with the specified boolean value.
| boolean | - replacing value |
| SCCollectionException | - list error detected |
| - (void) replaceCurrentObjectWithByte: | (SCByte) | byte |
Replaces the current object of receiving list with the specified signed 8-bit integer value.
| byte | - replacing value |
| SCCollectionException | - list error detected |
| - (void) replaceCurrentObjectWithChar: | (char) | chr |
Replaces the current object of receiving list with the specified char value.
| chr | - replacing value |
| SCCollectionException | - list error detected |
| - (void) replaceCurrentObjectWithCharString: | (const char *) | string |
Replaces the current object of receiving list with the specified char string.
| string | - replacing string |
| SCCollectionException | - list error detected |
| - (void) replaceCurrentObjectWithDouble: | (SCDouble) | dbl |
Replaces the current object of receiving list with the specified double precision float value.
| dbl | - replacing value |
| SCCollectionException | - list error detected |
| - (void) replaceCurrentObjectWithFloat: | (SCFloat) | flt |
Replaces the current object of receiving list with the specified single precision float value.
| flt | - replacing value |
| SCCollectionException | - list error detected |
| - (void) replaceCurrentObjectWithInteger: | (SCInteger) | integer |
Replaces the current object of receiving list with the specified signed 32-bit integer value.
| integer | - replacing value |
| SCCollectionException | - list error detected |
| - (void) replaceCurrentObjectWithLong: | (SCLong) | longint |
Replaces the current object of receiving list with the specified signed 64-bit integer value.
| longint | - replacing value |
| SCCollectionException | - list error detected |
| - (void) replaceCurrentObjectWithObject: | (id) | object |
Replaces the first object of receiving collection with the specified object.
| object | - replacing object |
| SCCollectionException | - list error detected |
| - (void) replaceCurrentObjectWithShort: | (SCShort) | shortint |
Replaces the current object of receiving list with the specified signed 16-bit integer value.
| shortint | - replacing value |
| SCCollectionException | - list error detected |
| - (void) replaceCurrentObjectWithUByte: | (SCUByte) | byte |
Replaces the current object of receiving list with the specified unsigned 8-bit integer value.
| byte | - replacing value |
| SCCollectionException | - list error detected |
| - (void) replaceCurrentObjectWithUInteger: | (SCUInteger) | integer |
Replaces the current object of receiving list with the specified unsigned 32-bit integer value.
| integer | - replacing value |
| SCCollectionException | - list error detected |
| - (void) replaceCurrentObjectWithULong: | (SCULong) | longint |
Replaces the current object of receiving list with the specified unsigned 64-bit integer value.
| longint | - replacing value |
| SCCollectionException | - list error detected |
| - (void) replaceCurrentObjectWithUnichar: | (unichar) | chr |
Replaces the current object of receiving list with the specified unichar value.
| chr | - replacing value |
| SCCollectionException | - list error detected |
| - (void) replaceCurrentObjectWithUShort: | (SCUShort) | shortint |
Replaces the current object of receiving list with the specified unsigned 16-bit integer value.
| shortint | - replacing value |
| SCCollectionException | - list error detected |
| - (void) replaceFirstObjectWithBool: | (BOOL) | boolean |
Replaces the first object of receiving list with the specified boolean value.
| boolean | - replacing value |
| SCCollectionException | - list error detected |
| - (void) replaceFirstObjectWithByte: | (SCByte) | byte |
Replaces the first object of receiving list with the specified signed 8-bit integer value.
| byte | - replacing value |
| SCCollectionException | - list error detected |
| - (void) replaceFirstObjectWithChar: | (char) | chr |
Replaces the first object of receiving list with the specified char value.
| chr | - replacing value |
| SCCollectionException | - list error detected |
| - (void) replaceFirstObjectWithCharString: | (const char *) | string |
Replaces the first object of receiving list with the specified character string value.
| string | - replacing string |
| SCCollectionException | - list error detected |
| - (void) replaceFirstObjectWithDouble: | (SCDouble) | dbl |
Replaces the first object of receiving list with the specified double precision float value.
| dbl | - replacing value |
| SCCollectionException | - list error detected |
| - (void) replaceFirstObjectWithFloat: | (SCFloat) | flt |
Replaces the first object of receiving list with the specified single precision float value.
| flt | - replacing value |
| SCCollectionException | - list error detected |
| - (void) replaceFirstObjectWithInteger: | (SCInteger) | integer |
Replaces the first object of receiving list with the specified signed 32-bit integer value.
| integer | - replacing value |
| SCCollectionException | - list error detected |
| - (void) replaceFirstObjectWithLong: | (SCLong) | longint |
Replaces the first object of receiving list with the specified signed 64-bit integer value.
| longint | - replacing value |
| SCCollectionException | - list error detected |
| - (void) replaceFirstObjectWithObject: | (id) | object |
Replaces the first object of receiving collection with the specified object.
| object | - replacing object |
| SCCollectionException | - list error detected |
| - (void) replaceFirstObjectWithShort: | (SCShort) | shortint |
Replaces the first object of receiving list with the specified signed 16-bit integer value.
| shortint | - replacing value |
| SCCollectionException | - list error detected |
| - (void) replaceFirstObjectWithUByte: | (SCUByte) | byte |
Replaces the first object of receiving list with the specified unsigned 8-bit integer value.
| byte | - replacing value |
| SCCollectionException | - list error detected |
| - (void) replaceFirstObjectWithUInteger: | (SCUInteger) | integer |
Replaces the first object of receiving list with the specified unsigned 32-bit integer value.
| integer | - replacing value |
| SCCollectionException | - list error detected |
| - (void) replaceFirstObjectWithULong: | (SCULong) | longint |
Replaces the first object of receiving list with the specified unsigned 64-bit integer value.
| longint | - replacing value |
| SCCollectionException | - list error detected |
| - (void) replaceFirstObjectWithUnichar: | (unichar) | chr |
Replaces the first object of receiving list with the specified unichar value.
| chr | - replacing value |
| SCCollectionException | - list error detected |
| - (void) replaceFirstObjectWithUShort: | (SCUShort) | shortint |
Replaces the first object of receiving list with the specified unsigned 16-bit integer value.
| shortint | - replacing value |
| SCCollectionException | - list error detected |
| - (void) setListName: | (NSString *) | listName |
Sets the name of the receiving list.
| listName | - list name |
1.7.3