博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Delphi 深入浅出VCL(2)-TObject所有对象的根
阅读量:5153 次
发布时间:2019-06-13

本文共 2782 字,大约阅读时间需要 9 分钟。

TObject = class  public    constructor Create;    procedure Free;    procedure DisposeOf; {
$IFNDEF AUTOREFCOUNT} inline; {
$ENDIF} class function InitInstance(Instance: Pointer): TObject {
$IFDEF AUTOREFCOUNT} unsafe {
$ENDIF}; procedure CleanupInstance; function ClassType: TClass; inline; class function ClassName: string; class function ClassNameIs(const Name: string): Boolean; class function ClassParent: TClass; class function ClassInfo: Pointer; inline; class function InstanceSize: Integer; inline; class function InheritsFrom(AClass: TClass): Boolean; class function MethodAddress(const Name: _ShortStr): Pointer; overload; class function MethodAddress(const Name: string): Pointer; overload; class function MethodName(Address: Pointer): string; class function QualifiedClassName: string; function FieldAddress(const Name: _ShortStr): Pointer; overload; function FieldAddress(const Name: string): Pointer; overload; function GetInterface(const IID: TGUID; out Obj): Boolean; class function GetInterfaceEntry(const IID: TGUID): PInterfaceEntry; class function GetInterfaceTable: PInterfaceTable; inline; class function UnitName: string; class function UnitScope: string;{
$IFDEF AUTOREFCOUNT} function __ObjAddRef: Integer; virtual; function __ObjRelease: Integer; virtual;{
$ENDIF} function Equals(Obj: TObject): Boolean; virtual; function GetHashCode: Integer; virtual; function ToString: string; virtual; function SafeCallException(ExceptObject: TObject; ExceptAddr: Pointer): HResult; virtual; procedure AfterConstruction; virtual; procedure BeforeDestruction; virtual; procedure Dispatch(var Message); virtual; procedure DefaultHandler(var Message); virtual; class function NewInstance: TObject {
$IFDEF AUTOREFCOUNT} unsafe {
$ENDIF}; virtual; procedure FreeInstance; virtual;{
$IFDEF AUTOREFCOUNT} protected{
$ENDIF} destructor Destroy; virtual;{
$IFDEF CPP_ABI_SUPPORT} procedure CPP_ABI_1; virtual; procedure CPP_ABI_2; virtual; procedure CPP_ABI_3; virtual;{
$ENDIF !CPP_ABI_SUPPORT} protected function GetDisposed: Boolean; inline; procedure CheckDisposed; {
$IFNDEF AUTOREFCOUNT} inline; {
$ENDIF}{
$IFDEF AUTOREFCOUNT} private const objDestroyingFlag = Integer($80000000); objDisposedFlag = Integer($40000000); protected [Volatile] FRefCount: Integer; class procedure __MarkDestroying(const Obj); static; inline; class function __SetDisposed(const Obj): Boolean; static; inline; public property RefCount: Integer read FRefCount;{
$ENDIF AUTOREFCOUNT} property Disposed: Boolean read GetDisposed; end;

 

转载于:https://www.cnblogs.com/YiShen/p/9872482.html

你可能感兴趣的文章
tornado异步请求非阻塞
查看>>
常用的python模块
查看>>
Web Server 和 HTTP 协议
查看>>
深度解读最流行的优化算法:梯度下降
查看>>
开源TinyXML 最简单的新手教程
查看>>
对Unity3d C#手动处理异常产生
查看>>
软件安全性能測试(转载)
查看>>
jQuery取得select选中的值
查看>>
html5新特性
查看>>
server2003 IIS6.0 网站不可用
查看>>
iOS检测QQ是否安装
查看>>
前端工程师需要掌握的技能
查看>>
数据结构学习之栈
查看>>
18. 爱吃皮蛋的小明(斐波那契数列)
查看>>
dos
查看>>
Bitmap对图像的处理
查看>>
[FZYZOJ 1073] Password
查看>>
定时器之Timer
查看>>
mysql如何选择合适的引擎
查看>>
图层控制
查看>>