C# Class Bind.CSharpSpecWriter

Inheritance: ISpecWriter
Show file Open project: hultqvist/opentk Class Usage Examples

Public Methods

Method Description
WriteBindings ( IBind generator ) : 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

Private Methods

Method Description
WriteBindings ( DelegateCollection delegates, FunctionCollection wrappers, EnumCollection enums ) : void
WriteConstants ( BindStreamWriter sw, IEnumerable constants ) : void
WriteDelegates ( BindStreamWriter sw, DelegateCollection delegates ) : void
WriteDocumentation ( BindStreamWriter sw, System.Function f ) : void
WriteEnums ( BindStreamWriter sw, EnumCollection enums, FunctionCollection wrappers ) : void
WriteMethod ( BindStreamWriter sw, System.Function f ) : void
WriteWrapper ( BindStreamWriter sw, int current, System.Function f ) : int

Method Details

WriteBindings() public method

public WriteBindings ( IBind generator ) : void
generator IBind
return void

WriteImports() public method

public WriteImports ( BindStreamWriter sw, DelegateCollection delegates ) : void
sw BindStreamWriter
delegates DelegateCollection
return void

WriteLicense() public method

public WriteLicense ( BindStreamWriter sw ) : void
sw BindStreamWriter
return void

WriteTypes() public method

public WriteTypes ( BindStreamWriter sw, string>.Dictionary CSTypes ) : void
sw BindStreamWriter
CSTypes string>.Dictionary
return void

WriteWrappers() public method

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