C# Class SlimDX.Generator.IndirectFormatter

Inheritance: Formatter
Show file Open project: SlimDX/SlimDX-v2

Public Methods

Method Description
GetFormalParameterCode ( SlimDX.Generator.ParameterModel model ) : string

Gets the code for declaring the specified model as a parameter to a managed method.

GetLocalVariableCleanupCode ( SlimDX.Generator.ParameterModel model ) : string

Gets the code for cleanup of local variables related to the specified parameter.

GetLocalVariableSetupCode ( MarshallingService marshaller, SlimDX.Generator.ParameterModel model ) : string

Gets the code for setup of local variables related to the specified parameter.

GetTrampolineParameterCode ( SlimDX.Generator.ParameterModel model ) : string

Gets the code for passing the specified model as parameter to a trampoline method.

Method Details

GetFormalParameterCode() public method

Gets the code for declaring the specified model as a parameter to a managed method.
public GetFormalParameterCode ( SlimDX.Generator.ParameterModel model ) : string
model SlimDX.Generator.ParameterModel The model.
return string

GetLocalVariableCleanupCode() public method

Gets the code for cleanup of local variables related to the specified parameter.
public GetLocalVariableCleanupCode ( SlimDX.Generator.ParameterModel model ) : string
model SlimDX.Generator.ParameterModel The model.
return string

GetLocalVariableSetupCode() public method

Gets the code for setup of local variables related to the specified parameter.
public GetLocalVariableSetupCode ( MarshallingService marshaller, SlimDX.Generator.ParameterModel model ) : string
marshaller MarshallingService The marshalling service interface.
model SlimDX.Generator.ParameterModel The model.
return string

GetTrampolineParameterCode() public method

Gets the code for passing the specified model as parameter to a trampoline method.
public GetTrampolineParameterCode ( SlimDX.Generator.ParameterModel model ) : string
model SlimDX.Generator.ParameterModel The model.
return string