C# Class System.ZXParser

Afficher le fichier Open project: RegrowthStudios/VoxelRTS Class Usage Examples

Méthodes publiques

Méthode Description
AddConverter ( Type t, IZXPConverter conv ) : void
AddDynamicType ( string s, Type t ) : void
GetConverter ( Type t, IZXPConverter &conv ) : bool
GetEnvironment ( string s, object &v ) : bool
GetKeyString ( string s, List l, int li ) : string
ParseFile ( string f, Type t ) : object
ParseInto ( string s, object o ) : void
ParseInto ( string s, object o, ZXPProxy zpp ) : void
ParseNew ( string s, Type t ) : object
ParseNew ( string s, string t ) : object
SetEnvironment ( string s, object v ) : void
Write ( Stream s, object o ) : void
Write ( Stream s, object o, ZXPProxy zpp, int spaces ) : void
Write ( StreamWriter writer, object o ) : void
Write ( StreamWriter writer, object o, ZXPProxy zpp, int spaces ) : void

Private Methods

Méthode Description
CreateDefaultFromType ( Type t ) : object
GetTypeFromString ( string t ) : Type
ParseArray ( Type eType, string sArray, object &val ) : bool
ParseComplexData ( object o, ZXPProxy zpp, string s, List ld, int &li ) : void
ParseFunction ( object o, ZXPProxy zpp, string s, List ld, int &li ) : void
ParseSimpleData ( object o, ZXPProxy zpp, string s, List ld, int &li ) : void
ReadValue ( string s, IZXPConverter converter, Type t, object &val ) : bool
ReadValue ( string s, IZXPConverter converter, object &val ) : bool
ZXParser ( ) : System

Method Details

AddConverter() public static méthode

public static AddConverter ( Type t, IZXPConverter conv ) : void
t Type
conv IZXPConverter
Résultat void

AddDynamicType() public static méthode

public static AddDynamicType ( string s, Type t ) : void
s string
t Type
Résultat void

GetConverter() public static méthode

public static GetConverter ( Type t, IZXPConverter &conv ) : bool
t Type
conv IZXPConverter
Résultat bool

GetEnvironment() public static méthode

public static GetEnvironment ( string s, object &v ) : bool
s string
v object
Résultat bool

GetKeyString() public static méthode

public static GetKeyString ( string s, List l, int li ) : string
s string
l List
li int
Résultat string

ParseFile() public static méthode

public static ParseFile ( string f, Type t ) : object
f string
t Type
Résultat object

ParseInto() public static méthode

public static ParseInto ( string s, object o ) : void
s string
o object
Résultat void

ParseInto() public static méthode

public static ParseInto ( string s, object o, ZXPProxy zpp ) : void
s string
o object
zpp ZXPProxy
Résultat void

ParseNew() public static méthode

public static ParseNew ( string s, Type t ) : object
s string
t Type
Résultat object

ParseNew() public static méthode

public static ParseNew ( string s, string t ) : object
s string
t string
Résultat object

SetEnvironment() public static méthode

public static SetEnvironment ( string s, object v ) : void
s string
v object
Résultat void

Write() public static méthode

public static Write ( Stream s, object o ) : void
s Stream
o object
Résultat void

Write() public static méthode

public static Write ( Stream s, object o, ZXPProxy zpp, int spaces ) : void
s Stream
o object
zpp ZXPProxy
spaces int
Résultat void

Write() public static méthode

public static Write ( StreamWriter writer, object o ) : void
writer System.IO.StreamWriter
o object
Résultat void

Write() public static méthode

public static Write ( StreamWriter writer, object o, ZXPProxy zpp, int spaces ) : void
writer System.IO.StreamWriter
o object
zpp ZXPProxy
spaces int
Résultat void