CoreClasses REAL Studio Plugin

ObjectArray Class

ObjectArray is a high speed relocatable object array class.

The object array is different from REALbasic array since a object array can be inherited, objects can be sorted, items can be swapped, plugins can use it for cross talk, and it has a iterator interface.

Object
   ObjectArray

class ObjectArray implements

IArray

IIterator

IArrayReader

IObjectAddable

Constructors

ObjectArrayThe default constructor for the ObjectArray class.
ObjectArrayUse this constructor to construct a instance of the array and have influence on the grow rate of the array.

Methods

AddUse this method to add a object to the array.
AddItemsUse this method to add multiple objects from any container that implements the IIterator interface.
AppendUse this method to append a object to the array.
CountUse this function to get the element count from the array.
GetAtUse this function to read a item from the array.
GetNextUse this function to get next item from the ObjectArray.
HasNextUse this function to get info if there are more items in the ObjectArray.
IndexOfReturns a index of a element in the array.
InsertUse this method to insert a object to the array.
ItemUse this setter/getter function to read or write to a item in the array.
MoveFirstUse to reset the iterator in the ObjectArray.
Operator_RedimImplements the Redim operator.
Operator_SubscriptImplements operator to read from the array with the ( ) indexer operator.
Operator_SubscriptImplements operator to write to the array with the ( ) indexer operator.
PeekNextUse this function to peek at next item from the ObjectArray without iterating to next item.
RemoveUse this method to remove objects from the array.
RemoveUse this method to remove a single object from the array.
RemoveAtUse this method to remove a single object from the array.
ResizeUse this method to resize the array.
SetAtUse this function to write a item to the array.
SortUse this method to sort the array.
SwapUse this method to swap two objects in the array.

Supported Platforms:

  • MacOS X PPC - (Mach-O)
  • MacOS X Universal Binary (Mach-O)
  • Win32 - Windows
  • Linux x86

    Unsupported Platforms: