Soap.IntfInfo.TIntfMethEntry

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

  TIntfMethEntry = record
    Name: string;
    CC: TCallConv;              { Calling convention }
    Pos: Integer;               { Index (relative to whole interface VMT) }
    ParamCount: Integer;
    ResultInfo: PTypeInfo;
    SelfInfo: PTypeInfo;
    Params: TIntfParamEntryArray;
    HasRTTI: Boolean;
  end;

C++

struct DECLSPEC_DRECORD TIntfMethEntry
{
public:
    System::UnicodeString Name;
    System::Typinfo::TCallConv CC;
    int Pos;
    int ParamCount;
    System::Typinfo::TTypeInfo *ResultInfo;
    System::Typinfo::TTypeInfo *SelfInfo;
    TIntfParamEntryArray Params;
    bool HasRTTI;
};

Properties

Type Visibility Source Unit Parent
record
struct
public
Soap.IntfInfo.pas
Soap.IntfInfo.hpp
Soap.IntfInfo Soap.IntfInfo

Description

TIntfMethEntry and TIntfMethEntryArray represent the table of interface methods in a TInfMetaData value.

TIntfMethEntry describes a single method on an invokable interface.

Name is the name of the method.

CC is the calling convention for that method. It is one of the following values:



Value Meaning

ccReg

register

ccCdecl

cdecl

ccPascal

pascal

ccStdCall

stdcall

ccSafeCall

safecall



Pos is the position of the method in the interface's method table.

ParamCount is the number of parameters that the method has.

ResultInfo is a pointer to the type description for the return type.

SelfInfo is a pointer to the type description for the method type.

Params is a dynamic array of records describing the method parameters.

HasRTTI indicates whether there is runtime type information (RTTI) for the method. If the method is inherited from an interface that was not compiled with RTTI, HasRTTI is false.

See Also