Array

The Array object allows to store object references into an array and manipulate it.

Functions

DeleteDeletes the objects and sets the items to null.
DeleteAllDeletes all object instances and sets the items to null.
DeleteAndRemoveDeletes objects, then removes the items.
DeleteAndRemoveClonesDeletes all clones, then removes items.
DeleteAndRemoveFoundFinds items, then deletes objects and removes the items.
DeleteClonesDeletes all clones and sets the items to null.
DeleteFoundFinds the specified item, delete it and sets the item to null.
DeleteLastDeletes the last object and sets the item to null.
FastFindFinds an item faster than Array.Find.
FastIndexRetrieves the index of the specified item to insert.
FastInsertRetrieves the correct index of the new item before inserting it.
FindFinds the specified item.
GetRetrieves the object instance of the item.
GetCompareModeRetrieves the compare mode.
GetCountRetrieves the number of items.
GetFirstRetrieves the first item of the array.
GetLastRetrieves the last item of the array.
GetRandomRetrieves one item randomly.
GetTypeRetrieves the object type ID of the specified item.
InsertInserts a new item and sets the value to obj.
LoadFileLoads in memory an array from a File object.
LoadPathLoads in memory an array file.
LoadResourceLoads in memory an array from the resources.
MoveMoves one or several items.
RandomSorts the array randomly.
RemoveRemoves the items from the list without deleting objects.
RemoveAllRemoves all the items wihtout deleting objects.
RemoveClonesRemoves all clones without deleting objects.
RemoveFoundFinds the specified item and removes it from the list.
RemoveLastRemoves the last item without deleting the object.
SaveFileSaves the array in a File object.
SavePathSaves the array in a file.
SetChanges the object instance of the item.
SetCompareModeChanges the compare mode.
SetCountChanges the number of items without deleting objects.
SortSorts the items.
SwapSwaps two items.

Events

OnCompareIs called when two items must be compared.
OnDeleteIs called when an item was deleted.
OnLoadIs called for each item when an array file is loading.
OnNewIs called when a new item was inserted.
OnSaveIs called for each item when the array is saving.

Constants

The Array object has no constants.

Example

SECCIA Documentation - Copyright © 2001-2009 Sylvain Seccia