Skip to content

TMethod

Record describing a method.

Declaration

Source position: objpash.inc line 238

type
  TMethod = record
    Code: CodePointer = Pointer;
    Data: Pointer;
    class operator =(const aLeft: TMethod; const aRight: TMethod) : Boolean;
    class operator <>(const aLeft: TMethod; const aRight: TMethod) : Boolean;
    class operator >(const aLeft: TMethod; const aRight: TMethod) : Boolean;
    class operator >=(const aLeft: TMethod; const aRight: TMethod) : Boolean;
    class operator <(const aLeft: TMethod; const aRight: TMethod) : Boolean;
    class operator <=(const aLeft: TMethod; const aRight: TMethod) : Boolean;
  end;

Description

TMethod describes a general method pointer, and is used in Run-Time Type Information handling.