C# Class Rhino.Tools.Idswitch.CodePrinter

显示文件 Open project: hazzik/Rhino.Net Class Usage Examples

Public Methods

Method Description
Clear ( ) : void
Erase ( int begin, int end ) : void
GetIndentStep ( ) : int
GetIndentTabSize ( ) : int
GetLastChar ( ) : int
GetLineTerminator ( ) : string
GetOffset ( ) : int
Indent ( int level ) : void
Line ( int indent_level, string s ) : void
Nl ( ) : void
P ( char c ) : void
P ( char array, int begin, int end ) : void
P ( int i ) : void
P ( string s ) : void
Qchar ( int c ) : void
Qstring ( string s ) : void
SetIndentStep ( int char_count ) : void
SetIndentTabSize ( int tab_size ) : void
SetLineTerminator ( string value ) : void
ToString ( ) : string

Private Methods

Method Description
Add_area ( int area_size ) : int
Digit_to_hex_letter ( int d ) : char
Ensure_area ( int area_size ) : int
Put_string_literal_char ( int pos, int c, bool in_string ) : int

Method Details

Clear() public method

public Clear ( ) : void
return void

Erase() public method

public Erase ( int begin, int end ) : void
begin int
end int
return void

GetIndentStep() public method

public GetIndentStep ( ) : int
return int

GetIndentTabSize() public method

public GetIndentTabSize ( ) : int
return int

GetLastChar() public method

public GetLastChar ( ) : int
return int

GetLineTerminator() public method

public GetLineTerminator ( ) : string
return string

GetOffset() public method

public GetOffset ( ) : int
return int

Indent() public method

public Indent ( int level ) : void
level int
return void

Line() public method

public Line ( int indent_level, string s ) : void
indent_level int
s string
return void

Nl() public method

public Nl ( ) : void
return void

P() public method

public P ( char c ) : void
c char
return void

P() public method

public P ( char array, int begin, int end ) : void
array char
begin int
end int
return void

P() public method

public P ( int i ) : void
i int
return void

P() public method

public P ( string s ) : void
s string
return void

Qchar() public method

public Qchar ( int c ) : void
c int
return void

Qstring() public method

public Qstring ( string s ) : void
s string
return void

SetIndentStep() public method

public SetIndentStep ( int char_count ) : void
char_count int
return void

SetIndentTabSize() public method

public SetIndentTabSize ( int tab_size ) : void
tab_size int
return void

SetLineTerminator() public method

public SetLineTerminator ( string value ) : void
value string
return void

ToString() public method

public ToString ( ) : string
return string