Skip to content

TStrings : Method overview By inheritance

TStrings

Member Visibility Description
Add public Add a string to the list
AddCommaText public
AddDelimitedText public
AddObject public Add a string and associated object to the list.
AddPair public Add a name-value pair
AddStrings public Add contents of another stringlist to this list.
AddText public Add text to the string list.
Append public Add a string to the list.
Assign public Assign the contents of another stringlist to this one.
BeginUpdate public Mark the beginning of an update batch.
Clear public Removes all strings and associated objects from the list.
Create public Initializ a new TStrings instance
Delete public Delete a string from the list.
Destroy public Frees all strings and objects, and removes the list from memory.
EndUpdate public Mark the end of an update batch.
Equals public Compares the contents of two stringlists.
Exchange public Exchanges two strings in the list.
ExtractName public Extract the name part of a string
Fill public
Filter public
ForEach public
GetEnumerator public Create an IEnumerator instance
GetNameValue public Return both name and value of a name,value pair based on it's index.
GetText public Returns the contents as a PChar
IndexOf public Find a string in the list and return its position.
IndexOfName public Finds the index of a name in the name-value pairs.
IndexOfObject public Finds an object in the list and returns its index.
Insert public Insert a string in the list.
InsertObject public Insert a string and associated object in the list.
LastIndexOf public
LoadFromFile public Load the contents of a file as a series of strings.
LoadFromStream public Load the contents of a stream as a series of strings.
Map public
Move public Move a string from one place in the list to another.
Pop public
Reduce public
Reverse public
SaveToFile public Save the contents of the list to a file.
SaveToStream public Save the contents of the string to a stream.
SetStrings public
SetText public Set the contents of the list from a PChar.
Shift public
Slice public
ToObjectArray public
ToStringArray public

TPersistent

Member Visibility Description
Assign public Assign the contents of one class to another.
Destroy public Destroys the TPersistent instance.
FPOAttachObserver public Add an observer to the list of observers.
FPODetachObserver public Remove an observer from the list of observers
FPONotifyObservers public Notify observers of changes.
GetNamePath public Returns a string that can be used to identify the class instance.

TObject

Member Visibility Description
AfterConstruction public Method called after the constructor was called.
BeforeDestruction public Method called before the destructor is called.
ClassInfo public Return a pointer to the type information for this class.
ClassName public Return the current class name.
ClassNameIs public Check whether the class name equals the given name.
ClassParent public Return the parent class.
ClassType public Return a "class of" pointer for the current class
CleanupInstance public Finalize the class instance.
Create public TObject Constructor
DefaultHandler public Default handler for integer message handlers.
DefaultHandlerStr public Default handler for string messages.
Destroy public TObject destructor.
Dispatch public Dispatch an integer message
DispatchStr public Dispatch a string message.
Equals public Check if two objects are equal.
FieldAddress public Return the address of a field.
Free public Check for Nil and call destructor.
FreeInstance public Clean up instance and free the memory reserved for the instance.
GetHashCode public Return a hash code for the object
GetInterface public Return a reference to an interface
GetInterfaceByStr public Return an interface based on its GUID
GetInterfaceEntry public Return the interface table entry by GUID
GetInterfaceEntryByStr public Return the interface table entry by string
GetInterfaceTable public Return a pointer to the table of implemented interfaces for a class
GetInterfaceWeak public Get a reference to an interface, not increasing the reference count
InheritsFrom public Check whether class is an ancestor.
InitInstance public Initialize a new class instance.
InstanceSize public Return the size of an instance.
MethodAddress public Return the address of a method
MethodName public Return the name of a method.
newinstance public Allocate memory on the heap for a new instance
QualifiedClassName public Fully qualified classname
SafeCallException public Handle exception object
StringMessageTable public Return a pointer to the string message table.
ToString public Return a string representation for the object
UnitName public Unit name