System.Generics.Collections.TObjectList Methods
InheritedProtected
Add | public | Adds an item to the end of a list. |
AddRange | public | Add a collection to the end of a list. |
AfterConstruction | public | Responds after the last constructor has executed. |
BeforeDestruction | public | Responds before the first destructor executes. |
BinarySearch | public | Search a sorted list for an element using binary search. |
CheckDisposed | protected | |
ClassInfo | public | Returns a pointer to the run-time type information (RTTI) table for the object type. |
ClassName | public | Returns a string indicating the type of the object instance (as opposed to the type of the variable passed as an argument). |
ClassNameIs | public | Determines whether an object is of a specific type. |
ClassParent | public | Returns the type of the immediate ancestor of a class. |
ClassType | public | Returns the class reference for the object's class. |
CleanupInstance | public | Performs finalization on long strings, variants, and interface variables within a class. |
Clear | public | Removes all list entries. |
Contains | public | Test whether an element is in a list. |
Create | public | Create TObjectList instance. |
DefaultHandler | public | Provides the interface for a method that processes message records. |
Delete | public | Remove entry at Index. |
DeleteRange | public | Remove several entries at index. |
Destroy | public | Destroys an instance of TObjectList. |
Dispatch | public | Calls message-handling methods for the object, based on the contents of the Message parameter. |
DisposeOf | public | DisposeOf forces the execution of the destructor code in an object. |
DoGetEnumerator | protected | |
Equals | public | Checks whether the current instance and the Obj parameter are equal. |
Error | public | Raises an exception with the specified error message. |
Exchange | public | Swaps the position of two items in the list. |
Expand | public | Grows the list if the list is full, so that it can contain more items, and returns the expanded list. |
Extract | public | Removes and returns a list entry. |
ExtractAt | public | |
ExtractItem | public | Removes and returns a list entry, looping through the list items in the specified direction. |
FieldAddress | public | Returns the address of a published object field. |
First | public | Returns the first element in the list. |
Free | public | Destroys an object and frees its associated memory, if necessary. |
FreeInstance | public | Deallocates memory allocated by a previous call to the NewInstance method. |
GetDisposed | protected | Getter for the Disposed property. |
GetEnumerator | public | Returns an enumerator for the container. |
GetHashCode | public | Returns an integer containing the hash code. |
GetInterface | public | Retrieves a specified interface. |
GetInterfaceEntry | public | Returns the entry for a specific interface implemented in a class. |
GetInterfaceTable | public | Returns a pointer to a structure containing all of the interfaces implemented by a given class. |
IndexOf | public | Searches for an element using linear search. |
IndexOfItem | public | Searches for an element using linear search, looping through the list items in the specified direction. |
InheritsFrom | public | Determines the relationship of two object types. |
InitInstance | public | Initializes a newly allocated object instance to all zeros and initializes the instance's virtual method table pointer. |
Insert | public | Insert entry in list. |
InsertRange | public | Insert collection into list. |
InstanceSize | public | Returns the size in bytes of each instance of the object type. |
ItemValue | protected | |
Last | public | Returns the last element in the list. |
LastIndexOf | public | Get index of last instance of entry. |
MethodAddress | public | Returns the address of a class method by name. |
MethodName | public | Returns the name of a class method by address. |
Move | public | Changes the position of an item in the list. |
NewInstance | public | Allocates memory for an instance of an object type and returns a pointer to that new instance. |
Notify | protected | Triggers the OnNotify event. |
operator [] | public | Returns an item of the list with the specified index. |
Pack | public | Removes empty items from the list. |
QualifiedClassName | public | Returns the qualified name of the class. |
Remove | public | Remove first occurrence of value. |
RemoveItem | public | Removes the first occurrence of value, looping through the list items in the specified direction. |
Reverse | public | Reverse list order. |
SafeCallException | public | Handles exceptions in methods declared using the safecall calling convention. |
Sort | public | Sort list. |
ToArray | public | Returns the content of the list as a TArray. |
ToString | public | Returns a string containing the class name. |
TrimExcess | public | Set list capacity to number of list elements. |
UnitName | public | Returns the name of the unit where the class is defined. |
UnitScope | public | Returns the class's unit scope. |