C# Class TagTool.Layouts.CSharpLayoutWriter.ClassBuilder

Inheritance: ITagLayoutFieldVisitor
Datei anzeigen Open project: TheGuardians/TagTool

Public Methods

Method Description
Begin ( string name, uint size, uint align, Tag groupTag ) : void
ClassBuilder ( TextWriter writer, int indent ) : System
End ( ) : void
Visit ( ArrayTagLayoutField field ) : void
Visit ( BasicTagLayoutField field ) : void
Visit ( EnumTagLayoutField field ) : void
Visit ( StringTagLayoutField field ) : void
Visit ( TagBlockTagLayoutField field ) : void

Private Methods

Method Description
AddElement ( string type, string name ) : void
BuildEnum ( EnumLayout layout, TextWriter writer ) : string
GetTypeName ( BasicFieldType type ) : string
MakeName ( string name ) : string
MakeName ( string name, int>.Dictionary nameCounts ) : string
SetIndent ( int level ) : void

Method Details

Begin() public method

public Begin ( string name, uint size, uint align, Tag groupTag ) : void
name string
size uint
align uint
groupTag Tag
return void

ClassBuilder() public method

public ClassBuilder ( TextWriter writer, int indent ) : System
writer System.IO.TextWriter
indent int
return System

End() public method

public End ( ) : void
return void

Visit() public method

public Visit ( ArrayTagLayoutField field ) : void
field ArrayTagLayoutField
return void

Visit() public method

public Visit ( BasicTagLayoutField field ) : void
field BasicTagLayoutField
return void

Visit() public method

public Visit ( EnumTagLayoutField field ) : void
field EnumTagLayoutField
return void

Visit() public method

public Visit ( StringTagLayoutField field ) : void
field StringTagLayoutField
return void

Visit() public method

public Visit ( TagBlockTagLayoutField field ) : void
field TagBlockTagLayoutField
return void