C# Class BindingsGenerator.Parameter

"int foo" or "const char *str"
显示文件 Open project: realXtend/tundra-urho3d Class Usage Examples

Public Properties

Property Type Description
comment string
defaultValue string
name string
type string

Public Methods

Method Description
BasicType ( ) : string

If type "const float3 &" -> BasicType() returns "float3". If type "const float3 &" -> BasicType() returns "float3". If type "float3 * const" -> BasicType() returns "float3*". If type "const float3 * const" -> BasicType() returns "const float3*".

BasicTypeId ( ) : string

Returns the basic type as a sanitated identifier. If type "const float3 &" -> BasicType() returns "float3". If type "const float3 &" -> BasicType() returns "float3". If type "float3 * const" -> BasicType() returns "float3_ptr". If type "const float3 * const" -> BasicType() returns "float3_ptr".

BasicTypeRetainReference ( ) : string
IsAPointer ( ) : bool
IsAReference ( ) : bool

Method Details

BasicType() public method

If type "const float3 &" -> BasicType() returns "float3". If type "const float3 &" -> BasicType() returns "float3". If type "float3 * const" -> BasicType() returns "float3*". If type "const float3 * const" -> BasicType() returns "const float3*".
public BasicType ( ) : string
return string

BasicTypeId() public method

Returns the basic type as a sanitated identifier. If type "const float3 &" -> BasicType() returns "float3". If type "const float3 &" -> BasicType() returns "float3". If type "float3 * const" -> BasicType() returns "float3_ptr". If type "const float3 * const" -> BasicType() returns "float3_ptr".
public BasicTypeId ( ) : string
return string

BasicTypeRetainReference() public method

public BasicTypeRetainReference ( ) : string
return string

IsAPointer() public method

public IsAPointer ( ) : bool
return bool

IsAReference() public method

public IsAReference ( ) : bool
return bool

Property Details

comment public_oe property

public string comment
return string

defaultValue public_oe property

public string defaultValue
return string

name public_oe property

public string name
return string

type public_oe property

public string type
return string