TInterfacedPersistent - C++ Builder

C++ Builder 參考手冊(cè) ? TInterfacedPersistent


System::Classes::TInterfacedPersistent 是所有圖片類的父類

  • 簡(jiǎn)介
  • 成員

一. System::Classes::TInterfacedPersistent 簡(jiǎn)介

  • 繼承關(guān)系:
    System::TObject
    ?╙ System::Classes::TPersistent
    ???┗ System::Classes::TInterfacedPersistent
  • 頭文件:#include <System.Classes.hpp>
  • 命名空間:System::Classes
  • System::Classes::TInterfacedPersistent 是所有圖片類的父類

二. System::Classes::TInterfacedPersistent 成員

成員函數(shù) 說明
public: ?
AfterConstruction 在構(gòu)造函數(shù)結(jié)束的時(shí)候自動(dòng)調(diào)用
operator _di_IInterface 類型轉(zhuǎn)換操作符,轉(zhuǎn)為 _di_IInterface 類型
QueryInterface 返回當(dāng)前組件所支持的 COM 接口的引用
TInterfacedPersistent 構(gòu)造函數(shù)
~TInterfacedPersistent 析構(gòu)函數(shù)
protected: ?
_AddRef 調(diào)用 COM 接口增加引用計(jì)數(shù)
_Release 調(diào)用 COM 接口減少引用計(jì)數(shù) / 銷毀對(duì)象
TPersistent:: System::Classes::TPersistent 繼承過來的
public: System::Classes::TPersistent 繼承過來的
Assign 把 Source 對(duì)象的所有的屬性和數(shù)據(jù)賦值到當(dāng)前對(duì)象
GetNamePath 返回在 Object Inspector 屬性面板里面的名稱
TPersistent 構(gòu)造函數(shù)
~TPersistent 析構(gòu)函數(shù)
protected: ?
AssignTo 把當(dāng)前對(duì)象的所有屬性和數(shù)據(jù)都賦值到 Dest 對(duì)象
DefineProperties 把非 __published: 屬性和數(shù)據(jù)存入流中
GetOwner 返回對(duì)象的擁有者
TObject:: System::TObject 繼承過來的
public: System::TObject 繼承過來的
BeforeDestruction 在執(zhí)行析構(gòu)函數(shù)之前自動(dòng)調(diào)用
ClassInfo 返回運(yùn)行時(shí)類型信息表 (RTTI table)
ClassName 獲取類名,不包含命名空間的類名字符串
ClassNameIs 判斷類名是否為參數(shù)指定的字符串
ClassParent 返回父類的類型信息
ClassType 返回類的類型信息
CleanupInstance 清除長(zhǎng)字符串、Variants、接口變量等
DefaultHandler 默認(rèn)的消息處理
Dispatch 處理消息的函數(shù)
DisposeOf 強(qiáng)制銷毀對(duì)象
Equals 比較當(dāng)前對(duì)象和 Obj 對(duì)象是否相同
FieldAddress 通過成員名稱返回成員的地址
Free 銷毀對(duì)象 (Delphi)
FreeInstance 釋放 NewInstance 分配的內(nèi)存
GetInterface 獲取指定的接口
GetInterfaceEntry 獲取接口項(xiàng)目
GetInterfaceTable 獲取接口表
GetHashCode 返回對(duì)象的 hash 值
InheritsFrom 當(dāng)前對(duì)象的類是否從 AClass 繼承過來的
InitInstance 初始化成員,給他們清零
InstanceSize 返回給實(shí)例數(shù)據(jù)分配內(nèi)存需要多少字節(jié)數(shù)
MethodAddress 通過名稱返方法的地址
MethodName 通過方法的地址返回名稱
NewInstance 給實(shí)例分配內(nèi)存,并且返回新的實(shí)例的地址
QualifiedClassName 返回包含命名空間的類名
SafeCallException 處理異常的函數(shù)
ToString 轉(zhuǎn)為字符串
UnitName 返回類所在的命名空間
UnitScope 返回類所在的命名空間

參考:


C++ Builder 參考手冊(cè) ? TInterfacedPersistent

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時(shí)請(qǐng)結(jié)合常識(shí)與多方信息審慎甄別。
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡(jiǎn)書系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

友情鏈接更多精彩內(nèi)容