Skip to content

TObjectDynArray

Declaration

Source position: types.pp line 120

type
  TObjectDynArray = Array of TObject = class
strict private
  class procedure InitZeroedInstance(instance: pointer);
protected
  function GetDisposed : Boolean;
  property Disposed : Boolean;
public
  SystemHasExtendedRTTI = False;
  constructor Create;
  destructor Destroy;  virtual;
  class function newinstance : TObject;  virtual;
  procedure FreeInstance;  virtual;
  function SafeCallException(exceptobject: TObject; 
                            exceptaddr: CodePointer) : HRESULT;  virtual;
  procedure DefaultHandler(var message);  virtual;
  procedure Free;
  class function InitInstance(instance: pointer) : TObject;
  procedure CleanupInstance;
  class function ClassType : TClass;
  class function ClassInfo : pointer;
  class function ClassName : shortstring;
  ClassNameIs;
  class function ClassParent : TClass;
  class function InstanceSize : SizeInt;
  class function InheritsFrom(aclass: TClass) : Boolean;
  class function StringMessageTable : pstringmessagetable;
  class function MethodAddress(const name: shortstring) : CodePointer;
  class function MethodName(address: CodePointer) : shortstring;
  class procedure GetLastCastErrorInfo(out aFrom: shortstring; 
                                      out aTo: shortstring);  static;
  function FieldAddress(const name: shortstring) : pointer;
  procedure AfterConstruction;  virtual;
  procedure BeforeDestruction;  virtual;
  procedure DefaultHandlerStr(var message);  virtual;
  procedure Dispatch(var message);  virtual;
  procedure DispatchStr(var message);  virtual;
  GetInterface;
  function GetInterfaceByStr(const iidstr: shortstring; out obj) : Boolean;
  function GetInterfaceWeak(const iid: TGUID; out obj) : Boolean;
  class function GetInterfaceEntry(const iid: TGUID) : pinterfaceentry;
  class function GetInterfaceEntryByStr(const iidstr: shortstring)
                                        : pinterfaceentry;
  class function GetInterfaceTable : pinterfacetable;
  class function UnitName : RTLString;
  class function QualifiedClassName : RTLString;
  procedure DisposeOf;
  procedure CheckDisposed;
  function Equals(Obj: TObject) : Boolean;  virtual;
  function GetHashCode : PtrInt;  virtual;
  function ToString : RTLString;  virtual;
end
;