C# Class RTSEngine.Data.Parsers.RegexHelper

Afficher le fichier Open project: RegrowthStudios/VoxelRTS

Méthodes publiques

Méthode Description
Extract ( Match m ) : string
ExtractDirectory ( Match m ) : DirectoryInfo
ExtractDirectory ( Match m, string root ) : DirectoryInfo
ExtractDouble ( Match m ) : double
ExtractFile ( Match m ) : FileInfo
ExtractFile ( Match m, string root ) : FileInfo
ExtractFloat ( Match m ) : float
ExtractInt ( Match m ) : int
ExtractLong ( Match m ) : long
ExtractVec2 ( Match m ) : Vector2
ExtractVec2I ( Match m ) : int[]
ExtractVec3 ( Match m ) : Vector3
ExtractVec3I ( Match m ) : int[]
ExtractVec4 ( Match m ) : Vector4
ExtractVec4I ( Match m ) : int[]
FindMatches ( string mStr ) : System.Text.RegularExpressions.Match[]
Generate ( string key, string data ) : Regex
GenerateFile ( string key ) : Regex
GenerateInteger ( string key ) : Regex
GenerateNumber ( string key ) : Regex
GenerateString ( string key ) : Regex
GenerateVec2 ( string key ) : Regex
GenerateVec2Int ( string key ) : Regex
GenerateVec3 ( string key ) : Regex
GenerateVec3Int ( string key ) : Regex
GenerateVec4 ( string key ) : Regex
GenerateVec4Int ( string key ) : Regex
ReadFile ( FileInfo f ) : string
ReadFile ( string f ) : string

Method Details

Extract() public static méthode

public static Extract ( Match m ) : string
m System.Text.RegularExpressions.Match
Résultat string

ExtractDirectory() public static méthode

public static ExtractDirectory ( Match m ) : DirectoryInfo
m System.Text.RegularExpressions.Match
Résultat System.IO.DirectoryInfo

ExtractDirectory() public static méthode

public static ExtractDirectory ( Match m, string root ) : DirectoryInfo
m System.Text.RegularExpressions.Match
root string
Résultat System.IO.DirectoryInfo

ExtractDouble() public static méthode

public static ExtractDouble ( Match m ) : double
m System.Text.RegularExpressions.Match
Résultat double

ExtractFile() public static méthode

public static ExtractFile ( Match m ) : FileInfo
m System.Text.RegularExpressions.Match
Résultat System.IO.FileInfo

ExtractFile() public static méthode

public static ExtractFile ( Match m, string root ) : FileInfo
m System.Text.RegularExpressions.Match
root string
Résultat System.IO.FileInfo

ExtractFloat() public static méthode

public static ExtractFloat ( Match m ) : float
m System.Text.RegularExpressions.Match
Résultat float

ExtractInt() public static méthode

public static ExtractInt ( Match m ) : int
m System.Text.RegularExpressions.Match
Résultat int

ExtractLong() public static méthode

public static ExtractLong ( Match m ) : long
m System.Text.RegularExpressions.Match
Résultat long

ExtractVec2() public static méthode

public static ExtractVec2 ( Match m ) : Vector2
m System.Text.RegularExpressions.Match
Résultat Vector2

ExtractVec2I() public static méthode

public static ExtractVec2I ( Match m ) : int[]
m System.Text.RegularExpressions.Match
Résultat int[]

ExtractVec3() public static méthode

public static ExtractVec3 ( Match m ) : Vector3
m System.Text.RegularExpressions.Match
Résultat Vector3

ExtractVec3I() public static méthode

public static ExtractVec3I ( Match m ) : int[]
m System.Text.RegularExpressions.Match
Résultat int[]

ExtractVec4() public static méthode

public static ExtractVec4 ( Match m ) : Vector4
m System.Text.RegularExpressions.Match
Résultat Vector4

ExtractVec4I() public static méthode

public static ExtractVec4I ( Match m ) : int[]
m System.Text.RegularExpressions.Match
Résultat int[]

FindMatches() public static méthode

public static FindMatches ( string mStr ) : System.Text.RegularExpressions.Match[]
mStr string
Résultat System.Text.RegularExpressions.Match[]

Generate() public static méthode

public static Generate ( string key, string data ) : Regex
key string
data string
Résultat System.Text.RegularExpressions.Regex

GenerateFile() public static méthode

public static GenerateFile ( string key ) : Regex
key string
Résultat System.Text.RegularExpressions.Regex

GenerateInteger() public static méthode

public static GenerateInteger ( string key ) : Regex
key string
Résultat System.Text.RegularExpressions.Regex

GenerateNumber() public static méthode

public static GenerateNumber ( string key ) : Regex
key string
Résultat System.Text.RegularExpressions.Regex

GenerateString() public static méthode

public static GenerateString ( string key ) : Regex
key string
Résultat System.Text.RegularExpressions.Regex

GenerateVec2() public static méthode

public static GenerateVec2 ( string key ) : Regex
key string
Résultat System.Text.RegularExpressions.Regex

GenerateVec2Int() public static méthode

public static GenerateVec2Int ( string key ) : Regex
key string
Résultat System.Text.RegularExpressions.Regex

GenerateVec3() public static méthode

public static GenerateVec3 ( string key ) : Regex
key string
Résultat System.Text.RegularExpressions.Regex

GenerateVec3Int() public static méthode

public static GenerateVec3Int ( string key ) : Regex
key string
Résultat System.Text.RegularExpressions.Regex

GenerateVec4() public static méthode

public static GenerateVec4 ( string key ) : Regex
key string
Résultat System.Text.RegularExpressions.Regex

GenerateVec4Int() public static méthode

public static GenerateVec4Int ( string key ) : Regex
key string
Résultat System.Text.RegularExpressions.Regex

ReadFile() public static méthode

public static ReadFile ( FileInfo f ) : string
f System.IO.FileInfo
Résultat string

ReadFile() public static méthode

public static ReadFile ( string f ) : string
f string
Résultat string