RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TInvokableClassRegistry.GetClassFromIntfInfo Method

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

Pascal
procedure GetClassFromIntfInfo(Info: PTypeInfo; var AClass: TClass);
C++
__fastcall GetClassFromIntfInfo(PTypeInfo Info, TClass AClass);

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!