Soap.TypeTrans.TTypeTranslator.CastNativeToSoap

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure  CastNativeToSoap(Info: PTypeInfo; var SoapData: InvString;
NatData: Pointer; var IsNull: Boolean);

C++

void __fastcall CastNativeToSoap(System::Typinfo::PTypeInfo Info, System::UnicodeString &SoapData, void * NatData, bool &IsNull);

Properties

Type Visibility Source Unit Parent
procedure
function
public
Soap.TypeTrans.pas
Soap.TypeTrans.hpp
Soap.TypeTrans TTypeTranslator

Description

Converts a native variable to the corresponding SOAP string representation.

CastNativeToSoap converts a variable of type:

  • Integer
  • Floating-point
  • Character
  • String

to the corresponding SOAP string.

The parameters are described in the following table:

Parameter Significance
Info Native type RTTI (this is how the native type is specified).
SoapData SOAP string that should represent the native value.
NatData Pointer to a memory region where the native value is written.
IsNull If True, then the native variable is set to the default value.

See Also