C# Class TagTool.Layouts.CSharpLayoutWriter.ClassBuilder

Inheritance: ITagLayoutFieldVisitor
Afficher le fichier Open project: TheGuardians/TagTool

Méthodes publiques

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

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

public Begin ( string name, uint size, uint align, Tag groupTag ) : void
name string
size uint
align uint
groupTag Tag
Résultat void

ClassBuilder() public méthode

public ClassBuilder ( TextWriter writer, int indent ) : System
writer System.IO.TextWriter
indent int
Résultat System

End() public méthode

public End ( ) : void
Résultat void

Visit() public méthode

public Visit ( ArrayTagLayoutField field ) : void
field ArrayTagLayoutField
Résultat void

Visit() public méthode

public Visit ( BasicTagLayoutField field ) : void
field BasicTagLayoutField
Résultat void

Visit() public méthode

public Visit ( EnumTagLayoutField field ) : void
field EnumTagLayoutField
Résultat void

Visit() public méthode

public Visit ( StringTagLayoutField field ) : void
field StringTagLayoutField
Résultat void

Visit() public méthode

public Visit ( TagBlockTagLayoutField field ) : void
field TagBlockTagLayoutField
Résultat void