C# Class Bind.GL2.Generator

Inheritance: IBind
Afficher le fichier Open project: tpb3d/TPB3D Class Usage Examples

Protected Properties

Свойство Type Description
csTypemap string
delegatesFile string
enumSpec string
enumSpecExt string
enumToDotNet System.Text.RegularExpressions.Regex
enumsFile string
functionOverridesFile string
glSpec string
glSpecExt string
glTypemap string
importsFile string
loadAllFuncName string
numbers char[]
wrappersFile string

Méthodes publiques

Méthode Description
Generator ( ) : System
Process ( ) : void
ReadCSTypeMap ( StreamReader specFile ) : string>.Dictionary
ReadDelegates ( StreamReader specFile ) : DelegateCollection
ReadEnums ( StreamReader specFile ) : EnumCollection
ReadTypeMap ( StreamReader specFile ) : string>.Dictionary
WriteBindings ( DelegateCollection delegates, FunctionCollection functions, EnumCollection enums ) : void
WriteDelegates ( BindStreamWriter sw, DelegateCollection delegates ) : void
WriteEnums ( BindStreamWriter sw, EnumCollection enums ) : void
WriteImports ( BindStreamWriter sw, DelegateCollection delegates ) : void
WriteLicense ( BindStreamWriter sw ) : void
WriteTypes ( BindStreamWriter sw, string>.Dictionary CSTypes ) : void
WriteWrappers ( BindStreamWriter sw, FunctionCollection wrappers, string>.Dictionary CSTypes ) : void

Méthodes protégées

Méthode Description
Translate ( ) : void

Private Methods

Méthode Description
NextValidLine ( StreamReader sr ) : string
WriteDocumentation ( BindStreamWriter sw, Function f ) : void
WriteMethod ( BindStreamWriter sw, Function f ) : void
WriteWrapper ( BindStreamWriter sw, int current, Function f ) : int

Method Details

Generator() public méthode

public Generator ( ) : System
Résultat System

Process() public méthode

public Process ( ) : void
Résultat void

ReadCSTypeMap() public méthode

public ReadCSTypeMap ( StreamReader specFile ) : string>.Dictionary
specFile System.IO.StreamReader
Résultat string>.Dictionary

ReadDelegates() public méthode

public ReadDelegates ( StreamReader specFile ) : DelegateCollection
specFile System.IO.StreamReader
Résultat DelegateCollection

ReadEnums() public méthode

public ReadEnums ( StreamReader specFile ) : EnumCollection
specFile System.IO.StreamReader
Résultat EnumCollection

ReadTypeMap() public méthode

public ReadTypeMap ( StreamReader specFile ) : string>.Dictionary
specFile System.IO.StreamReader
Résultat string>.Dictionary

Translate() protected méthode

protected Translate ( ) : void
Résultat void

WriteBindings() public méthode

public WriteBindings ( DelegateCollection delegates, FunctionCollection functions, EnumCollection enums ) : void
delegates DelegateCollection
functions FunctionCollection
enums EnumCollection
Résultat void

WriteDelegates() public méthode

public WriteDelegates ( BindStreamWriter sw, DelegateCollection delegates ) : void
sw BindStreamWriter
delegates DelegateCollection
Résultat void

WriteEnums() public méthode

public WriteEnums ( BindStreamWriter sw, EnumCollection enums ) : void
sw BindStreamWriter
enums EnumCollection
Résultat void

WriteImports() public méthode

public WriteImports ( BindStreamWriter sw, DelegateCollection delegates ) : void
sw BindStreamWriter
delegates DelegateCollection
Résultat void

WriteLicense() public méthode

public WriteLicense ( BindStreamWriter sw ) : void
sw BindStreamWriter
Résultat void

WriteTypes() public méthode

public WriteTypes ( BindStreamWriter sw, string>.Dictionary CSTypes ) : void
sw BindStreamWriter
CSTypes string>.Dictionary
Résultat void

WriteWrappers() public méthode

public WriteWrappers ( BindStreamWriter sw, FunctionCollection wrappers, string>.Dictionary CSTypes ) : void
sw BindStreamWriter
wrappers FunctionCollection
CSTypes string>.Dictionary
Résultat void

Property Details

csTypemap protected_oe static_oe property

protected static string csTypemap
Résultat string

delegatesFile protected_oe static_oe property

protected static string delegatesFile
Résultat string

enumSpec protected_oe static_oe property

protected static string enumSpec
Résultat string

enumSpecExt protected_oe static_oe property

protected static string enumSpecExt
Résultat string

enumToDotNet protected_oe static_oe property

protected static Regex,System.Text.RegularExpressions enumToDotNet
Résultat System.Text.RegularExpressions.Regex

enumsFile protected_oe static_oe property

protected static string enumsFile
Résultat string

functionOverridesFile protected_oe static_oe property

protected static string functionOverridesFile
Résultat string

glSpec protected_oe static_oe property

protected static string glSpec
Résultat string

glSpecExt protected_oe static_oe property

protected static string glSpecExt
Résultat string

glTypemap protected_oe static_oe property

protected static string glTypemap
Résultat string

importsFile protected_oe static_oe property

protected static string importsFile
Résultat string

loadAllFuncName protected_oe static_oe property

protected static string loadAllFuncName
Résultat string

numbers protected_oe static_oe property

protected static char[] numbers
Résultat char[]

wrappersFile protected_oe static_oe property

protected static string wrappersFile
Résultat string