Skip to content

TSortedCollection : Method overview by Name

Member Visibility Description
At(TCollection) default Return the item at a certain index.
AtDelete(TCollection) default Delete item at certain position.
AtFree(TCollection) default Free an item at the indicates position, calling it's destructor.
AtInsert(TCollection) default Insert an element at a certain position in the collection.
AtPut(TCollection) default Set collection item, overwriting an existing value.
Compare(TSortedCollection) default Compare two items in the collection.
Delete(TCollection) default Delete an item from the collection, but does not destroy it.
DeleteAll(TCollection) default Delete all elements from the collection. Objects are not destroyed.
Done(TObject) default Destroy an object.
Done(TCollection) default Clean up collection, release all memory.
Error(TCollection) default Set error code.
FirstThat(TCollection) default Return first item which matches a test.
ForEach(TCollection) default Execute procedure for each item in the list.
Free(TCollection) default Free item from collection, calling it's destructor.
Free(TObject) default Destroy an object and release all memory.
FreeAll(TCollection) default Release all objects from the collection.
FreeItem(TCollection) default Destroy a non-nil item.
GetItem(TCollection) default Read one item off the stream.
IndexOf(TSortedCollection) default Return index of an item in the collection.
IndexOf(TCollection) default Find the position of a certain item.
Init(TCollection) default Instantiate a new collection.
Init(TObject) default Construct (initialize) a new object
Init(TSortedCollection) default Instantiates a new instance of a TSortedCollection
Insert(TCollection) default Insert a new item in the collection at the end.
Insert(TSortedCollection) default Insert new item in collection.
Is_Object(TObject) default Check whether a pointer points to an object.
KeyOf(TSortedCollection) default Return the key of an item
LastThat(TCollection) default Return last item which matches a test.
Load(TCollection) default Initialize a new collection and load collection from a stream.
Load(TSortedCollection) default Instantiates a new instance of a TSortedCollection and loads it from stream.
Pack(TCollection) default Remove all >Nil pointers from the collection.
PutItem(TCollection) default Put one item on the stream
Search(TSortedCollection) default Search for item with given key.
SetLimit(TCollection) default Set maximum number of elements in the collection.
Store(TCollection) default Write collection to a stream.
Store(TSortedCollection) default Write the collection to the stream.