UserInfoArray

Overview

UserInfoArray is a helper class that is used for serialization/deserialization UserInfo collection into stream.

Location

 

add

Append new UserInfo instance to the array and returns it

- (UserInfo *) add

addItem: addItem:(NSObject *)     (declared in ROArray)

Adds the given element to the array.

- (void) addItem:(NSObject *)object

Parameters:

  • object:

addItem: addItem:(UserInfo *)

Appends an existing UserInfo instance to the array

- (void) addItem:(UserInfo *)object

Parameters:

  • object: Represents an UserInfo instance we want to add to the array

array    (declared in ROArray)

Creates and returns a new, empty array instance.

+ (id) array

array    (declared in ROArray)

Creates and returns a new, empty array instance.

@property (readonly) NSArray *array

arrayWithCapacity:    (declared in ROArray)

Creates a new array instance and allocates storage for the given capacity. Use this method to avoid unnecessary reallocations as the array grows, if you already know the final number of elements.

+ (id) arrayWithCapacity:(NSUInteger)capacity

Parameters:

  • capacity:

arrayWithNSArray:    (declared in ROArray)

Creates a new array instance with data from the passed NSArray. It is assumed that all elements of the NSArray are of the appropriate type; this will not be checked or enforced at runtime.

+ (id) arrayWithNSArray:(NSArray *)aArray

Parameters:

  • aArray:

containsItem:    (declared in ROArray)

- (BOOL) containsItem:(id)object

Parameters:

  • object:

count    (declared in ROArray)

...

- (NSUInteger) count

dealloc    (declared in ROArray)

- (void) dealloc

deepCopyWithZone:  deprecated    (declared in ROArray)

- (id) deepCopyWithZone:(NSZone *)zone

Parameters:

  • zone:

getAttributeValue:    (declared in ROArray)

+ (NSString *) getAttributeValue:(NSString *)aName

Parameters:

  • aName:

indexOfItem:    (declared in ROArray)

...

- (NSUInteger) indexOfItem:(id)object

Parameters:

  • object:

init    (declared in ROArray)

Initializes a new array instance.

- (id) init

initWithCapacity:    (declared in ROArray)

Initializes a new array instance and allocates storage for the given capacity. Use this method to avoid unnecessary reallocations as the array grows, if you already know the final number of elements.

- (id) initWithCapacity:(NSUInteger)capacity

Parameters:

  • capacity:

initWithNSArray:    (declared in ROArray)

Initializes a new array instance with data from the passed NSArray. It is assumed that all elements of the NSArray are of the appropriate type; this will not be checked or enforced at runtime.

- (id) initWithNSArray:(NSArray *)aArray

Parameters:

  • aArray:

insertItem:atIndex: insertItem:(NSObject *) atIndex:(NSUInteger)     (declared in ROArray)

Inserts an element into the array at the given index.

- (void) insertItem:(NSObject *)object atIndex:(NSUInteger)index

Parameters:

  • object:
  • index:

insertItem:atIndex: insertItem:(UserInfo *) atIndex:(NSUInteger)

Insert existing UserInfo instance to the array at given index

- (void) insertItem:(UserInfo *)object atIndex:(NSUInteger)index

Parameters:

  • object: Represents an UserInfo instance we want to insert to the array
  • index: index at which we want to insert the item

itemAtIndex:

creates and insert new UserInfo instance at given index

- (UserInfo *) itemAtIndex:(NSUInteger)index

Parameters:

  • index:

itemClass    (declared in ROArray)

returns the Objective-C Class of items that the specific ROArray descendant is made to contain, or nil if the array contains non-object types.

- (Class) itemClass

itemEnumerator    (declared in ROArray)

...

- (NSEnumerator *) itemEnumerator

itemTypeName    (declared in ROArray)

- (NSString *) itemTypeName

readFromMessage:withName:andCount:    (declared in ROArray)

For internal use, used by the RO/OSX framework to stream the array contents from a message packet.

- (void) readFromMessage:(ROMessage *)aMessage withName:(NSString *)aName andCount:(int)count

Parameters:

  • aMessage:
  • aName:
  • count:

readItemFromCoder:forKey:toIndex:    (declared in ROArray)

- (void) readItemFromCoder:(NSCoder *)decoder forKey:(NSString *)aKey toIndex:(int)i

Parameters:

  • decoder:
  • aKey:
  • i:

readItemFromMessage:toIndex:    (declared in ROArray)

For internal use, used by the RO/OSX framework to stream the individual items from a message packet.

- (void) readItemFromMessage:(ROMessage *)aMessage toIndex:(int)i

Parameters:

  • aMessage:
  • i:

reinitWithCapacity:    (declared in ROArray)

Reallocates new storage for the array with the given capacity. Use this method to avoid unnecessary reallocations as the array grows, if you already know the final number of elements.

- (void) reinitWithCapacity:(NSUInteger)capacity

Parameters:

  • capacity:

removeAllItems    (declared in ROArray)

...

- (void) removeAllItems

removeItem:    (declared in ROArray)

...

- (void) removeItem:(id)object

Parameters:

  • object:

removeItemAtIndex:    (declared in ROArray)

...

- (void) removeItemAtIndex:(NSUInteger)index

Parameters:

  • index:

removeLastItem    (declared in ROArray)

...

- (void) removeLastItem

replaceItemAtIndex:withItem: replaceItemAtIndex:(NSUInteger) withItem:(NSObject *)     (declared in ROArray)

...

- (void) replaceItemAtIndex:(NSUInteger)index withItem:(NSObject *)object

Parameters:

  • index:
  • object:

replaceItemAtIndex:withItem: replaceItemAtIndex:(NSUInteger) withItem:(UserInfo *)

Replaces item at given index with another UserInfo instance

- (void) replaceItemAtIndex:(NSUInteger)index withItem:(UserInfo *)object

Parameters:

  • index:
  • object:

sortUsingDescriptors:    (declared in ROArray)

- (void) sortUsingDescriptors:(NSArray *)sortDescriptors

Parameters:

  • sortDescriptors:

writeItemToCoder:forKey:fromIndex:    (declared in ROArray)

- (void) writeItemToCoder:(NSCoder *)encoder forKey:(NSString *)aKey fromIndex:(int)i

Parameters:

  • encoder:
  • aKey:
  • i:

writeItemToMessage:fromIndex:    (declared in ROArray)

For internal use, used by the RO/OSX framework to stream the individual items to a message packet.

- (void) writeItemToMessage:(ROMessage *)aMessage fromIndex:(int)i

Parameters:

  • aMessage:
  • i:

writeToMessage:withName:    (declared in ROArray)

For internal use, used by the RO/OSX framework to stream the array contents to a message packet.

- (void) writeToMessage:(ROMessage *)aMessage withName:(NSString *)aName

Parameters:

  • aMessage:
  • aName:

 

array    (declared in ROArray)

Creates and returns a new, empty array instance.

@property (readonly) NSArray *array

 

array    (declared in ROArray)

Creates and returns a new, empty array instance.

+ (id) array

arrayWithCapacity:    (declared in ROArray)

Creates a new array instance and allocates storage for the given capacity. Use this method to avoid unnecessary reallocations as the array grows, if you already know the final number of elements.

+ (id) arrayWithCapacity:(NSUInteger)capacity

Parameters:

  • capacity:

arrayWithNSArray:    (declared in ROArray)

Creates a new array instance with data from the passed NSArray. It is assumed that all elements of the NSArray are of the appropriate type; this will not be checked or enforced at runtime.

+ (id) arrayWithNSArray:(NSArray *)aArray

Parameters:

  • aArray:

getAttributeValue:    (declared in ROArray)

+ (NSString *) getAttributeValue:(NSString *)aName

Parameters:

  • aName:

 

add

Append new UserInfo instance to the array and returns it

- (UserInfo *) add

addItem: addItem:(NSObject *)     (declared in ROArray)

Adds the given element to the array.

- (void) addItem:(NSObject *)object

Parameters:

  • object:

addItem: addItem:(UserInfo *)

Appends an existing UserInfo instance to the array

- (void) addItem:(UserInfo *)object

Parameters:

  • object: Represents an UserInfo instance we want to add to the array

containsItem:    (declared in ROArray)

- (BOOL) containsItem:(id)object

Parameters:

  • object:

count    (declared in ROArray)

...

- (NSUInteger) count

dealloc    (declared in ROArray)

- (void) dealloc

deepCopyWithZone:  deprecated    (declared in ROArray)

- (id) deepCopyWithZone:(NSZone *)zone

Parameters:

  • zone:

indexOfItem:    (declared in ROArray)

...

- (NSUInteger) indexOfItem:(id)object

Parameters:

  • object:

init    (declared in ROArray)

Initializes a new array instance.

- (id) init

initWithCapacity:    (declared in ROArray)

Initializes a new array instance and allocates storage for the given capacity. Use this method to avoid unnecessary reallocations as the array grows, if you already know the final number of elements.

- (id) initWithCapacity:(NSUInteger)capacity

Parameters:

  • capacity:

initWithNSArray:    (declared in ROArray)

Initializes a new array instance with data from the passed NSArray. It is assumed that all elements of the NSArray are of the appropriate type; this will not be checked or enforced at runtime.

- (id) initWithNSArray:(NSArray *)aArray

Parameters:

  • aArray:

insertItem:atIndex: insertItem:(NSObject *) atIndex:(NSUInteger)     (declared in ROArray)

Inserts an element into the array at the given index.

- (void) insertItem:(NSObject *)object atIndex:(NSUInteger)index

Parameters:

  • object:
  • index:

insertItem:atIndex: insertItem:(UserInfo *) atIndex:(NSUInteger)

Insert existing UserInfo instance to the array at given index

- (void) insertItem:(UserInfo *)object atIndex:(NSUInteger)index

Parameters:

  • object: Represents an UserInfo instance we want to insert to the array
  • index: index at which we want to insert the item

itemAtIndex:

creates and insert new UserInfo instance at given index

- (UserInfo *) itemAtIndex:(NSUInteger)index

Parameters:

  • index:

itemClass    (declared in ROArray)

returns the Objective-C Class of items that the specific ROArray descendant is made to contain, or nil if the array contains non-object types.

- (Class) itemClass

itemEnumerator    (declared in ROArray)

...

- (NSEnumerator *) itemEnumerator

itemTypeName    (declared in ROArray)

- (NSString *) itemTypeName

readFromMessage:withName:andCount:    (declared in ROArray)

For internal use, used by the RO/OSX framework to stream the array contents from a message packet.

- (void) readFromMessage:(ROMessage *)aMessage withName:(NSString *)aName andCount:(int)count

Parameters:

  • aMessage:
  • aName:
  • count:

readItemFromCoder:forKey:toIndex:    (declared in ROArray)

- (void) readItemFromCoder:(NSCoder *)decoder forKey:(NSString *)aKey toIndex:(int)i

Parameters:

  • decoder:
  • aKey:
  • i:

readItemFromMessage:toIndex:    (declared in ROArray)

For internal use, used by the RO/OSX framework to stream the individual items from a message packet.

- (void) readItemFromMessage:(ROMessage *)aMessage toIndex:(int)i

Parameters:

  • aMessage:
  • i:

reinitWithCapacity:    (declared in ROArray)

Reallocates new storage for the array with the given capacity. Use this method to avoid unnecessary reallocations as the array grows, if you already know the final number of elements.

- (void) reinitWithCapacity:(NSUInteger)capacity

Parameters:

  • capacity:

removeAllItems    (declared in ROArray)

...

- (void) removeAllItems

removeItem:    (declared in ROArray)

...

- (void) removeItem:(id)object

Parameters:

  • object:

removeItemAtIndex:    (declared in ROArray)

...

- (void) removeItemAtIndex:(NSUInteger)index

Parameters:

  • index:

removeLastItem    (declared in ROArray)

...

- (void) removeLastItem

replaceItemAtIndex:withItem: replaceItemAtIndex:(NSUInteger) withItem:(NSObject *)     (declared in ROArray)

...

- (void) replaceItemAtIndex:(NSUInteger)index withItem:(NSObject *)object

Parameters:

  • index:
  • object:

replaceItemAtIndex:withItem: replaceItemAtIndex:(NSUInteger) withItem:(UserInfo *)

Replaces item at given index with another UserInfo instance

- (void) replaceItemAtIndex:(NSUInteger)index withItem:(UserInfo *)object

Parameters:

  • index:
  • object:

sortUsingDescriptors:    (declared in ROArray)

- (void) sortUsingDescriptors:(NSArray *)sortDescriptors

Parameters:

  • sortDescriptors:

writeItemToCoder:forKey:fromIndex:    (declared in ROArray)

- (void) writeItemToCoder:(NSCoder *)encoder forKey:(NSString *)aKey fromIndex:(int)i

Parameters:

  • encoder:
  • aKey:
  • i:

writeItemToMessage:fromIndex:    (declared in ROArray)

For internal use, used by the RO/OSX framework to stream the individual items to a message packet.

- (void) writeItemToMessage:(ROMessage *)aMessage fromIndex:(int)i

Parameters:

  • aMessage:
  • i:

writeToMessage:withName:    (declared in ROArray)

For internal use, used by the RO/OSX framework to stream the array contents to a message packet.

- (void) writeToMessage:(ROMessage *)aMessage withName:(NSString *)aName

Parameters:

  • aMessage:
  • aName: