Soap.InvokeRegistry.TInvokableClassRegistry.GetClassFromIntfInfo

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure GetClassFromIntfInfo(Info: PTypeInfo; var AClass: TClass);

C++

void __fastcall GetClassFromIntfInfo(System::Typinfo::PTypeInfo Info, System::TClass &AClass);

Properties

Type Visibility Source Unit Parent
procedure
function
public
Soap.InvokeRegistry.pas
Soap.InvokeRegistry.hpp
Soap.InvokeRegistry TInvokableClassRegistry

Description

Retrieves the implementation class that corresponds to the type info of an invokable interface.

Typically, applications do not need to call GetClassFromIntfInfo. This method allows the invoker component (THTTPSoapPascalInvoker or THTTPSoapCppInvoker) to look up the implementation class for an interface it is invoking.

Info is the runtime type information (RTTI) from a registered invokable interface. The interface must have been previously registered by a call to the RegisterInterface method.

AClass returns a class reference for the class that implements the invokable interface identified by Info. It can be passed to the GetInvokableObjectFromClass method to obtain an instance of the implementation class.

See Also