System.Object Extension

Location

 

AfterConstruction

 

method AfterConstruction

 

void AfterConstruction()

 

func AfterConstruction()

BeforeDestruction

 

method BeforeDestruction

 

void BeforeDestruction()

 

func BeforeDestruction()

ClassInfo

 

class method ClassInfo: Pointer

 

static Pointer ClassInfo()

 

static func ClassInfo() -> Pointer

ClassName

 

class method ClassName: String

 

static String ClassName()

 

static func ClassName() -> String

ClassNameIs

 

class method ClassNameIs(Name: String): Boolean

 

static Boolean ClassNameIs(String Name)

 

static func ClassNameIs(_ Name: String) -> Boolean

Parameters:

  • Name:

ClassParent

 

class method ClassParent: TClass

 

static TClass ClassParent()

 

static func ClassParent() -> TClass

ClassType

 

method ClassType: TClass

 

TClass ClassType()

 

func ClassType() -> TClass

CleanupInstance

 

method CleanupInstance

 

void CleanupInstance()

 

func CleanupInstance()

DefaultHandler

 

method DefaultHandler(var Message: Object)

 

void DefaultHandler(ref Object Message)

 

func DefaultHandler(_ Message: Object)

Parameters:

  • Message:

Destroy

 

method Destroy

 

void Destroy()

 

func Destroy()

Dispatch

 

method Dispatch(var Message: Object)

 

void Dispatch(ref Object Message)

 

func Dispatch(_ Message: Object)

Parameters:

  • Message:

FieldAddress

 

method FieldAddress(Name: String): Pointer

 

Pointer FieldAddress(String Name)

 

func FieldAddress(_ Name: String) -> Pointer

Parameters:

  • Name:

Free

 

method Free

 

void Free()

 

func Free()

FreeInstance

 

method FreeInstance

 

void FreeInstance()

 

func FreeInstance()

GetInterfaceEntry

 

class method GetInterfaceEntry(IID: TGUID): PInterfaceEntry

 

static PInterfaceEntry GetInterfaceEntry(TGUID IID)

 

static func GetInterfaceEntry(_ IID: TGUID) -> PInterfaceEntry

Parameters:

  • IID:

GetInterfaceTable

 

class method GetInterfaceTable: PInterfaceTable

 

static PInterfaceTable GetInterfaceTable()

 

static func GetInterfaceTable() -> PInterfaceTable

InheritsFrom

 

class method InheritsFrom(AClass: ^void): Boolean

 

static Boolean InheritsFrom(void* AClass)

 

static func InheritsFrom(_ AClass: UnsafeMutablePointer<void>) -> Boolean

 

static Boolean InheritsFrom(void* AClass)

Parameters:

  • AClass:

InitInstance

 

class method InitInstance(Instance: ^void): Object

 

static Object InitInstance(void* Instance)

 

static func InitInstance(_ Instance: UnsafeMutablePointer<void>) -> Object

 

static Object InitInstance(void* Instance)

Parameters:

  • Instance:

InstanceClassName

 

method InstanceClassName: String

 

String InstanceClassName()

 

func InstanceClassName() -> String

InstanceSize

 

class method InstanceSize: Int32

 

static Int32 InstanceSize()

 

static func InstanceSize() -> Int32

MethodAddress

 

class method MethodAddress(Name: String): Pointer

 

static Pointer MethodAddress(String Name)

 

static func MethodAddress(_ Name: String) -> Pointer

Parameters:

  • Name:

MethodName

 

class method MethodName(Address: ^void): String

 

static String MethodName(void* Address)

 

static func MethodName(_ Address: UnsafeMutablePointer<void>) -> String

 

static String MethodName(void* Address)

Parameters:

  • Address:

NewInstance

 

class method NewInstance: TObject

 

static TObject NewInstance()

 

static func NewInstance() -> TObject

SafeCallException

 

method SafeCallException(ExceptObject: Object; ExceptAddr: ^void): Int64

 

Int64 SafeCallException(Object ExceptObject, void* ExceptAddr)

 

func SafeCallException(_ ExceptObject: Object, _ ExceptAddr: UnsafeMutablePointer<void>) -> Int64

 

Int64 SafeCallException(Object ExceptObject, void* ExceptAddr)

Parameters:

  • ExceptObject:
  • ExceptAddr:

 

ClassInfo

 

class method ClassInfo: Pointer

 

static Pointer ClassInfo()

 

static func ClassInfo() -> Pointer

ClassName

 

class method ClassName: String

 

static String ClassName()

 

static func ClassName() -> String

ClassNameIs

 

class method ClassNameIs(Name: String): Boolean

 

static Boolean ClassNameIs(String Name)

 

static func ClassNameIs(_ Name: String) -> Boolean

Parameters:

  • Name:

ClassParent

 

class method ClassParent: TClass

 

static TClass ClassParent()

 

static func ClassParent() -> TClass

GetInterfaceEntry

 

class method GetInterfaceEntry(IID: TGUID): PInterfaceEntry

 

static PInterfaceEntry GetInterfaceEntry(TGUID IID)

 

static func GetInterfaceEntry(_ IID: TGUID) -> PInterfaceEntry

Parameters:

  • IID:

GetInterfaceTable

 

class method GetInterfaceTable: PInterfaceTable

 

static PInterfaceTable GetInterfaceTable()

 

static func GetInterfaceTable() -> PInterfaceTable

InheritsFrom

 

class method InheritsFrom(AClass: ^void): Boolean

 

static Boolean InheritsFrom(void* AClass)

 

static func InheritsFrom(_ AClass: UnsafeMutablePointer<void>) -> Boolean

 

static Boolean InheritsFrom(void* AClass)

Parameters:

  • AClass:

InitInstance

 

class method InitInstance(Instance: ^void): Object

 

static Object InitInstance(void* Instance)

 

static func InitInstance(_ Instance: UnsafeMutablePointer<void>) -> Object

 

static Object InitInstance(void* Instance)

Parameters:

  • Instance:

InstanceSize

 

class method InstanceSize: Int32

 

static Int32 InstanceSize()

 

static func InstanceSize() -> Int32

MethodAddress

 

class method MethodAddress(Name: String): Pointer

 

static Pointer MethodAddress(String Name)

 

static func MethodAddress(_ Name: String) -> Pointer

Parameters:

  • Name:

MethodName

 

class method MethodName(Address: ^void): String

 

static String MethodName(void* Address)

 

static func MethodName(_ Address: UnsafeMutablePointer<void>) -> String

 

static String MethodName(void* Address)

Parameters:

  • Address:

NewInstance

 

class method NewInstance: TObject

 

static TObject NewInstance()

 

static func NewInstance() -> TObject

 

AfterConstruction

 

method AfterConstruction

 

void AfterConstruction()

 

func AfterConstruction()

BeforeDestruction

 

method BeforeDestruction

 

void BeforeDestruction()

 

func BeforeDestruction()

ClassType

 

method ClassType: TClass

 

TClass ClassType()

 

func ClassType() -> TClass

CleanupInstance

 

method CleanupInstance

 

void CleanupInstance()

 

func CleanupInstance()

DefaultHandler

 

method DefaultHandler(var Message: Object)

 

void DefaultHandler(ref Object Message)

 

func DefaultHandler(_ Message: Object)

Parameters:

  • Message:

Destroy

 

method Destroy

 

void Destroy()

 

func Destroy()

Dispatch

 

method Dispatch(var Message: Object)

 

void Dispatch(ref Object Message)

 

func Dispatch(_ Message: Object)

Parameters:

  • Message:

FieldAddress

 

method FieldAddress(Name: String): Pointer

 

Pointer FieldAddress(String Name)

 

func FieldAddress(_ Name: String) -> Pointer

Parameters:

  • Name:

Free

 

method Free

 

void Free()

 

func Free()

FreeInstance

 

method FreeInstance

 

void FreeInstance()

 

func FreeInstance()

InstanceClassName

 

method InstanceClassName: String

 

String InstanceClassName()

 

func InstanceClassName() -> String

SafeCallException

 

method SafeCallException(ExceptObject: Object; ExceptAddr: ^void): Int64

 

Int64 SafeCallException(Object ExceptObject, void* ExceptAddr)

 

func SafeCallException(_ ExceptObject: Object, _ ExceptAddr: UnsafeMutablePointer<void>) -> Int64

 

Int64 SafeCallException(Object ExceptObject, void* ExceptAddr)

Parameters:

  • ExceptObject:
  • ExceptAddr: