C# Class MaterialsOptimizer.Parser

Show file Open project: Patapom/GodComplex Class Usage Examples

Public Properties

Property Type Description
m_Content string
m_ContentLength int
m_Index int

Public Methods

Method Description
ConsumeString ( string _ExpectedString, bool _caseSensitive ) : void
Error ( string _Error ) : void
IsChar ( char _Char ) : bool
IsEOL ( ) : bool
IsNumeric ( ) : bool
IsSpace ( ) : bool
Parser ( string _Content ) : System
ReadBlock ( ) : string
ReadBlock ( char _blockStartCharacter, char _blockEndCharacter ) : string
ReadFloat ( ) : float
ReadFloat2 ( ) : float2
ReadFloat2 ( string _block ) : float2
ReadFloat3 ( ) : float3
ReadFloat3 ( string _block ) : float3
ReadFloat4 ( ) : float4
ReadFloat4 ( string _block ) : float4
ReadInteger ( ) : int
ReadString ( ) : string
ReadString ( bool _UnQuote, bool _unSemiColon ) : string
ReadToEOL ( ) : string
SkipComment ( ) : string
SkipSpaces ( ) : bool
UnQuote ( string s, bool _unSemiColon ) : string
this ( int _index ) : char

Method Details

ConsumeString() public method

public ConsumeString ( string _ExpectedString, bool _caseSensitive ) : void
_ExpectedString string
_caseSensitive bool
return void

Error() public method

public Error ( string _Error ) : void
_Error string
return void

IsChar() public method

public IsChar ( char _Char ) : bool
_Char char
return bool

IsEOL() public method

public IsEOL ( ) : bool
return bool

IsNumeric() public method

public IsNumeric ( ) : bool
return bool

IsSpace() public method

public IsSpace ( ) : bool
return bool

Parser() public method

public Parser ( string _Content ) : System
_Content string
return System

ReadBlock() public method

public ReadBlock ( ) : string
return string

ReadBlock() public method

public ReadBlock ( char _blockStartCharacter, char _blockEndCharacter ) : string
_blockStartCharacter char
_blockEndCharacter char
return string

ReadFloat() public method

public ReadFloat ( ) : float
return float

ReadFloat2() public method

public ReadFloat2 ( ) : float2
return float2

ReadFloat2() public method

public ReadFloat2 ( string _block ) : float2
_block string
return float2

ReadFloat3() public method

public ReadFloat3 ( ) : float3
return float3

ReadFloat3() public method

public ReadFloat3 ( string _block ) : float3
_block string
return float3

ReadFloat4() public method

public ReadFloat4 ( ) : float4
return float4

ReadFloat4() public method

public ReadFloat4 ( string _block ) : float4
_block string
return float4

ReadInteger() public method

public ReadInteger ( ) : int
return int

ReadString() public method

public ReadString ( ) : string
return string

ReadString() public method

public ReadString ( bool _UnQuote, bool _unSemiColon ) : string
_UnQuote bool
_unSemiColon bool
return string

ReadToEOL() public method

public ReadToEOL ( ) : string
return string

SkipComment() public method

public SkipComment ( ) : string
return string

SkipSpaces() public method

public SkipSpaces ( ) : bool
return bool

UnQuote() public method

public UnQuote ( string s, bool _unSemiColon ) : string
s string
_unSemiColon bool
return string

this() public method

public this ( int _index ) : char
_index int
return char

Property Details

m_Content public property

public string m_Content
return string

m_ContentLength public property

public int m_ContentLength
return int

m_Index public property

public int m_Index
return int