C# Class Monobjc.Tools.Generator.Utilities.TypeManager

Show file Open project: Monobjc/monobjc-tools Class Usage Examples

Public Methods

Method Description
ConvertName ( string name ) : string

Converts the name.

ConvertType ( String type, TextWriter logger ) : String

Converts the type.

ConvertType ( String type, bool &isOut, bool &isByRef, bool &isBlock, TextWriter logger ) : String

Converts the type.

HasClass ( string value ) : bool

Determines whether the specified instance contains this class.

SetClasses ( IEnumerable values ) : void

Sets the classes.

SetMappings ( String file ) : void

Sets the mappings.

SetMixedTypes ( String>.IDictionary values ) : void

Sets the mixed types.

Protected Methods

Method Description
GetRealType ( String type, bool is64Bits ) : String

Gets the real type of the given type.

IsMixedType ( String type ) : bool

Determines whether the specified type is a mixed type.

Method Details

ConvertName() public method

Converts the name.
public ConvertName ( string name ) : string
name string The name.
return string

ConvertType() public method

Converts the type.
public ConvertType ( String type, TextWriter logger ) : String
type String The type.
logger System.IO.TextWriter
return String

ConvertType() public method

Converts the type.
public ConvertType ( String type, bool &isOut, bool &isByRef, bool &isBlock, TextWriter logger ) : String
type String The type.
isOut bool if set to true [is out].
isByRef bool if set to true [is by ref].
isBlock bool if set to true [is block].
logger System.IO.TextWriter
return String

GetRealType() protected method

Gets the real type of the given type.
protected GetRealType ( String type, bool is64Bits ) : String
type String The type.
is64Bits bool if set to true, return the 64 bits real type.
return String

HasClass() public method

Determines whether the specified instance contains this class.
public HasClass ( string value ) : bool
value string
return bool

IsMixedType() protected method

Determines whether the specified type is a mixed type.
protected IsMixedType ( String type ) : bool
type String The type.
return bool

SetClasses() public method

Sets the classes.
public SetClasses ( IEnumerable values ) : void
values IEnumerable
return void

SetMappings() public method

Sets the mappings.
public SetMappings ( String file ) : void
file String The file.
return void

SetMixedTypes() public method

Sets the mixed types.
public SetMixedTypes ( String>.IDictionary values ) : void
values String>.IDictionary
return void