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

Afficher le fichier Open project: Monobjc/monobjc-tools Class Usage Examples

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode 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 méthode

Converts the name.
public ConvertName ( string name ) : string
name string The name.
Résultat string

ConvertType() public méthode

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

ConvertType() public méthode

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
Résultat String

GetRealType() protected méthode

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.
Résultat String

HasClass() public méthode

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

IsMixedType() protected méthode

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

SetClasses() public méthode

Sets the classes.
public SetClasses ( IEnumerable values ) : void
values IEnumerable
Résultat void

SetMappings() public méthode

Sets the mappings.
public SetMappings ( String file ) : void
file String The file.
Résultat void

SetMixedTypes() public méthode

Sets the mixed types.
public SetMixedTypes ( String>.IDictionary values ) : void
values String>.IDictionary
Résultat void