|
Samond Classes Library 1.1.6-RELEASE build 132
|
Bidirectional objects list class. More...
#import <SCBidirectionalList.h>
Bidirectional objects list class.
Class represents the bidirectional objects list class - special collection of objects, which stored as a bidirectional (from previous to next item and from next item to previous) list.
Class was introduced in version 1.1.3.
Class declares the following properties:
| - (void) duplicateLastObject |
Duplicates the last object of the receiving list.
| SCCollectionException | - list error detected |
| - (void) insertLastBool: | (BOOL) | boolean |
Inserts the specified boolean value before the last object of the receiving list.
| boolean | - inserted value |
| SCCollectionException | - list error detected |
| - (void) insertLastByte: | (SCByte) | byte |
Inserts the specified signed 8-bit integer value before the last object of the receiving list.
| byte | - inserted value |
| SCCollectionException | - list error detected |
| - (void) insertLastChar: | (char) | chr |
Inserts the specified char value before the last object of the receiving list.
| chr | - inserted value |
| SCCollectionException | - list error detected |
| - (void) insertLastCharString: | (const char *) | string |
Inserts the specified char string before the last object of the receiving list.
| string | - inserted string |
| SCCollectionException | - list error detected |
| - (void) insertLastDouble: | (SCDouble) | dbl |
Inserts the specified double precision float value before the last object of the receiving list.
| dbl | - inserted value |
| SCCollectionException | - list error detected |
| - (void) insertLastFloat: | (SCFloat) | flt |
Inserts the specified single precision float value before the last object of the receiving list.
| flt | - inserted value |
| SCCollectionException | - list error detected |
| - (void) insertLastInteger: | (SCInteger) | integer |
Inserts the specified signed 32-bit integer value before the last object of the receiving list.
| integer | - inserted value |
| SCCollectionException | - list error detected |
| - (void) insertLastLong: | (SCLong) | longint |
Inserts the specified signed 64-bit integer value before the last object of the receiving list.
| longint | - inserted value |
| SCCollectionException | - list error detected |
| - (void) insertLastObject: | (id) | object |
Inserts the specified object before the last object of the receiving list.
| object | - inserted object |
| SCCollectionException | - list error detected |
| - (void) insertLastObjects: | (id) | object | |
| , | ... | ||
Inserts the specified objects before the last object of the receiving list.
| object | - first inserted object |
| ... | - other inserted objects from nil terminated list |
| SCCollectionException | - list error detected |
| - (void) insertLastObjectsFromCollection: | (id) | collection |
Inserts the objects from the specified collection before the last object of the receiving list.
| collection | - source collection |
| SCCollectionException | - list error detected |
| - (void) insertLastShort: | (SCShort) | shortint |
Inserts the specified signed 16-bit integer value before the last object of the receiving list.
| shortint | - inserted value |
| SCCollectionException | - list error detected |
| - (void) insertLastUByte: | (SCUByte) | byte |
Inserts the specified unsigned 8-bit integer value before the last object of the receiving list.
| byte | - inserted value |
| SCCollectionException | - list error detected |
| - (void) insertLastUInteger: | (SCUInteger) | integer |
Inserts the specified unsigned 32-bit integer value before the last object of the receiving list.
| integer | - inserted value |
| SCCollectionException | - list error detected |
| - (void) insertLastULong: | (SCULong) | longint |
Inserts the specified unsigned 64-bit integer value before the last object of the receiving list.
| longint | - inserted value |
| SCCollectionException | - list error detected |
| - (void) insertLastUnichar: | (unichar) | chr |
Inserts the specified unichar value before the last object of the receiving list.
| chr | - inserted value |
| SCCollectionException | - list error detected |
| - (void) insertLastUShort: | (SCUShort) | shortint |
Inserts the specified unsigned 16-bit integer value before the last object of the receiving list.
| shortint | - inserted value |
| SCCollectionException | - list error detected |
| - (BOOL) lastBool |
Returns as a boolean value the last object from the receiving list.
| SCCollectionException | - list error detected |
| - (SCByte) lastByte |
Returns as a signed 8-bit integer value the last object from the receiving list.
| SCCollectionException | - list error detected |
| - (char) lastChar |
Returns as a char value the last object from the receiving list.
| SCCollectionException | - list error detected |
| - (const char *) lastCharString |
Returns as a char string the last object from the receiving list.
| SCCollectionException | - list error detected |
| - (SCDouble) lastDouble |
Returns as a double precision float value the last object from the receiving list.
| SCCollectionException | - list error detected |
| - (SCFloat) lastFloat |
Returns as a single precision float value the last object from the receiving list.
| SCCollectionException | - list error detected |
| - (SCInteger) lastInteger |
Returns as a signed 32-bit integer value the last object from the receiving list.
| SCCollectionException | - list error detected |
| - (SCLong) lastLong |
Returns as a signed 64-bit integer value the last object from the receiving list.
| SCCollectionException | - list error detected |
| - (NSNumber *) lastNumber |
Returns as a number the last object from the receiving list.
| SCCollectionException | - list error detected |
| - (id) lastObject |
Returns the last object from the receiving list.
| - (SCShort) lastShort |
Returns as a signed 16-bit integer value the last object from the receiving list.
| SCCollectionException | - list error detected |
| - (NSString *) lastString |
Returns as a string the last object from the receiving list.
| SCCollectionException | - list error detected |
| - (SCUByte) lastUByte |
Returns as an unsigned 8-bit integer value the last object from the receiving list.
| SCCollectionException | - list error detected |
| - (SCUInteger) lastUInteger |
Returns as an unsigned 32-bit integer value the last object from the receiving list.
| SCCollectionException | - list error detected |
| - (SCULong) lastULong |
Returns as an unsigned 64-bit integer value the last object from the receiving list.
| SCCollectionException | - list error detected |
| - (unichar) lastUnichar |
Returns as an unichar value the last object from the receiving list.
| SCCollectionException | - list error detected |
| - (SCUShort) lastUShort |
Returns as an unsigned 16-bit integer value the last object from the receiving list.
| SCCollectionException | - list error detected |
| + (SCBidirectionalList *) list |
Returns a list created by using the default settings.
| + (SCBidirectionalList *) listWithCapacity: | (SCULong) | capacity |
Returns a list created by using the specified capacity.
| capacity | - list capacity |
| + (SCBidirectionalList *) listWithCoder: | (NSCoder *) | coder |
Returns a list created by using the specified coder.
| coder | - source coder |
| + (SCBidirectionalList *) listWithCollection: | (id) | collection |
Returns a list created by using the specified existing collection.
| collection | - existing collection |
| SCCollectionException | - list error detected |
| + (SCBidirectionalList *) listWithContentsOfSerializedFile: | (NSString *) | path |
Returns a list created by using the contents of serialized file with the specified path.
| path | - source serialized file path |
| + (SCBidirectionalList *) listWithDataDictionary: | (NSDictionary *) | dictionary |
Returns a list created by using the specified dictionary.
| dictionary | - source dictionary |
| + (SCBidirectionalList *) listWithDataDictionaryFromFile: | (NSString *) | path |
Returns a list created by using the dictionary from the specified file.
| path | - source dictionary file path |
| + (SCBidirectionalList *) listWithDelegate: | (id<SCCollectionDelegate>) | delegate |
Returns a list created by using the specified delegate object.
| delegate | - delegate object |
| + (SCBidirectionalList *) listWithDelegate: | (id<SCCollectionDelegate>) | delegate | |
| collection: | (id) | collection | |
Returns a list created by using the specified delegate object and existing collection.
| delegate | - delegate object |
| collection | - existing collection |
| SCCollectionException | - list error detected |
| + (SCBidirectionalList *) listWithDelegate: | (id<SCCollectionDelegate>) | delegate | |
| object: | (id) | object | |
Returns a list created by using the delegate object and existing object.
| delegate | - delegate object |
| object | - existing object |
| SCCollectionException | - list error detected |
| + (SCBidirectionalList *) listWithDelegate: | (id<SCCollectionDelegate>) | delegate | |
| objects: | (id) | object | |
| , | ... | ||
Returns the list created by using the specified delegate object and list of existing objects.
| delegate | - delegate object |
| object | - first existing object |
| ... | - other existing objects |
| SCCollectionException | - list error detected |
| + (SCBidirectionalList *) listWithFileStream: | (NSString *) | path |
Returns a list created from the stream file with the specified path.
| path | - stream file path |
| SCStreamException | - stream operation error detected |
| + (SCBidirectionalList *) listWithList: | (SCList *) | list |
Returns the list created by using the existing list.
| list | - source list |
| SCCollectionError | - list error detected |
| + (SCBidirectionalList *) listWithListName: | (NSString *) | name |
Returns a list created by using the specified name.
| name | - list name |
| + (SCBidirectionalList *) listWithListName: | (NSString *) | name | |
| capacity: | (SCULong) | capacity | |
Returns a list created by using the specified name and capaicty.
| name | - list name |
| capacity | - list capacity |
| + (SCBidirectionalList *) listWithObject: | (id) | object |
Returns a list created by using the existing object.
| object | - existing object |
| SCCollectionException | - list error detected |
| + (SCBidirectionalList *) listWithObjects: | (id) | object | |
| , | ... | ||
Returns the list created by using the specified list of existing objects.
| object | - first existing object |
| ... | - other existing objects |
| SCCollectionException | - list error detected |
| + (SCBidirectionalList *) listWithStream: | (SCStream *) | stream |
Returns a list created from the specified stream.
| stream | - stream for reading list |
| SCStreamException | - stream operation error detected |
| SCSystemException | - system error detected |
| - (id) previousObject |
Shifts the current object pointer to the previous object in the receiving list and return a pointer to the previous object.
| - (void) removeLastObject |
Removes the last objects of the receiving list.
| SCCollectionException | - list error detected |
| - (void) replaceLastObjectWithBool: | (BOOL) | boolean |
Replaces the last object of receiving list with the specified boolean value.
| boolean | - replacing value |
| SCCollectionException | - list error detected |
| - (void) replaceLastObjectWithByte: | (SCByte) | byte |
Replaces the last object of receiving list with the specified signed 8-bit integer value.
| byte | - replacing value |
| SCCollectionException | - list error detected |
| - (void) replaceLastObjectWithChar: | (char) | chr |
Replaces the last object of receiving list with the specified char value.
| chr | - replacing value |
| SCCollectionException | - list error detected |
| - (void) replaceLastObjectWithCharString: | (const char *) | string |
Replaces the last object of receiving list with the specified character string.
| string | - replacing string |
| SCCollectionException | - list error detected |
| - (void) replaceLastObjectWithDouble: | (SCDouble) | dbl |
Replaces the last object of receiving list with the specified double precision float value.
| dbl | - replacing value |
| SCCollectionException | - list error detected |
| - (void) replaceLastObjectWithFloat: | (SCFloat) | flt |
Replaces the last object of receiving list with the specified single precision float value.
| flt | - replacing value |
| SCCollectionException | - list error detected |
| - (void) replaceLastObjectWithInteger: | (SCInteger) | integer |
Replaces the last object of receiving list with the specified signed 32-bit integer value.
| integer | - replacing value |
| SCCollectionException | - list error detected |
| - (void) replaceLastObjectWithLong: | (SCLong) | longint |
Replaces the last object of receiving list with the specified signed 64-bit integer value.
| longint | - replacing value |
| SCCollectionException | - list error detected |
| - (void) replaceLastObjectWithObject: | (id) | object |
Replaces the last object of receiving collection with the specified object.
| object | - replacing object |
| SCCollectionException | - list error detected |
| - (void) replaceLastObjectWithShort: | (SCShort) | shortint |
Replaces the last object of receiving list with the specified signed 16-bit integer value.
| shortint | - replacing value |
| SCCollectionException | - list error detected |
| - (void) replaceLastObjectWithUByte: | (SCUByte) | byte |
Replaces the last object of receiving list with the specified unsigned 8-bit integer value.
| byte | - replacing value |
| SCCollectionException | - list error detected |
| - (void) replaceLastObjectWithUInteger: | (SCUInteger) | integer |
Replaces the last object of receiving list with the specified unsigned 32-bit integer value.
| integer | - replacing value |
| SCCollectionException | - list error detected |
| - (void) replaceLastObjectWithULong: | (SCULong) | longint |
Replaces the last object of receiving list with the specified unsigned 64-bit integer value.
| longint | - replacing value |
| SCCollectionException | - list error detected |
| - (void) replaceLastObjectWithUnichar: | (unichar) | chr |
Replaces the last object of receiving list with the specified unichar value.
| chr | - replacing value |
| SCCollectionException | - list error detected |
| - (void) replaceLastObjectWithUShort: | (SCUShort) | shortint |
Replaces the last object of receiving list with the specified unsigned 16-bit integer value.
| shortint | - replacing value |
| SCCollectionException | - list error detected |
1.7.3