Show: Delphi C++
Display Preferences

TCppInterfacedObject Inherited Members

From XE2 API Documentation
Jump to: navigation, search



C++

System.TInterfacedObject

RefCountIndicates the number of interface pointers currently dependent upon the object.
FRefCount
AfterConstructionResponds after the last constructor executes.
BeforeDestructionChecks that the reference count is zero before allowing the interfaced object to be destroyed.
NewInstanceAllocates memory for each instance of an interfaced object.
QueryInterfaceImplements the IInterfaceQueryInterface method.
_AddRefImplements the IInterface_AddRef method.
_ReleaseImplements the IInterface_Release method.

System.TObject

AfterConstructionResponds after the last constructor has executed.
BeforeDestructionResponds before the first destructor executes.
ClassInfoReturns a pointer to the run-time type information (RTTI) table for the object type.
ClassNameReturns a string indicating the type of the object instance (as opposed to the type of the variable passed as an argument).
ClassNameIsDetermines whether an object is of a specific type.
ClassParentReturns the type of the immediate ancestor of a class.
ClassTypeReturns the class reference for the object's class.
CleanupInstancePerforms finalization on long strings, variants, and interface variables within a class.
CreateConstructs an object and initializes its data before the object is first used.
DefaultHandlerProvides the interface for a method that processes message records.
DestroyDisposes of an object instance.
DispatchCalls message-handling methods for the object, based on the contents of the Message parameter.
EqualsChecks whether the current instance and the parameter are equal.
FieldAddressReturns the address of a published object field.
FreeDestroys an object and frees its associated memory, if necessary.
FreeInstanceDeallocates memory allocated by a previous call to the NewInstance method.
GetHashCodeReturns an integer containing the hash code.
GetInterfaceRetrieves a specified interface.
GetInterfaceEntryReturns the entry for a specific interface implemented in a class.
GetInterfaceTableReturns a pointer to a structure containing all of the interfaces implemented by a given class.
InheritsFromDetermines the relationship of two object types.
InitInstanceInitializes a newly allocated object instance to all zeros and initializes the instance's virtual method table pointer.
InstanceSizeReturns the size in bytes of each instance of the object type.
MethodAddressReturns the address of a class method by name.
MethodNameReturns the name of a class method by address.
NewInstanceAllocates memory for an instance of an object type and returns a pointer to that new instance.
QualifiedClassNameReturns the qualified name of the class.
SafeCallExceptionHandles exceptions in methods declared using the safecall calling convention.
ToStringReturns a string containing the class name.
UnitNameReturns the name of the unit where the class is defined.
UnitScopeReturns the class's unit scope.


Personal tools
Previous Versions
Translations