C# Class Parsing, OZML

Show file Open project: merveilles/OZML Class Usage Examples

Public Methods

Method Description
ParseByte ( string literal, float &result ) : bool
ParseDecimal ( string literal, float &result ) : bool
ParseFogParameters ( string literal, FogParameters, &result ) : bool
ParseMaterials ( string literal ) : IEnumerable
ParseRgb ( string literal, Color &result ) : bool
ParseRgba ( string literal, Color &result ) : bool
ParseRgba ( string literal, int &from, Color &result ) : bool
ParseVector3 ( string literal, Vector3 &result ) : bool

Private Methods

Method Description
ParseByte ( string literal, int &from, float &result ) : bool
ParseDecimal ( string literal, int &from, float &result ) : bool
ParseMaterial ( string literal ) : OzmlMaterial,
ParseRgb ( string literal, int &from, Color &result ) : bool
ParseVector3 ( string literal, int &from, Vector3 &result ) : bool

Method Details

ParseByte() public static method

public static ParseByte ( string literal, float &result ) : bool
literal string
result float
return bool

ParseDecimal() public static method

public static ParseDecimal ( string literal, float &result ) : bool
literal string
result float
return bool

ParseFogParameters() public static method

public static ParseFogParameters ( string literal, FogParameters, &result ) : bool
literal string
result FogParameters,
return bool

ParseMaterials() public static method

public static ParseMaterials ( string literal ) : IEnumerable
literal string
return IEnumerable

ParseRgb() public static method

public static ParseRgb ( string literal, Color &result ) : bool
literal string
result Color
return bool

ParseRgba() public static method

public static ParseRgba ( string literal, Color &result ) : bool
literal string
result Color
return bool

ParseRgba() public static method

public static ParseRgba ( string literal, int &from, Color &result ) : bool
literal string
from int
result Color
return bool

ParseVector3() public static method

public static ParseVector3 ( string literal, Vector3 &result ) : bool
literal string
result Vector3
return bool