C# Class POLConfig.POLConfigFile

Afficher le fichier Open project: polserver/poltools

Méthodes publiques

Méthode Description
DumpConfigStream ( TextWriter stream ) : void
FindConfigElem ( string elem_name ) : void
GetConfigIntKeys ( ) : int[]
GetConfigMaxIntKey ( ) : int
GetConfigStringKeys ( ) : string[]
POLConfigFile ( string path ) : System
POLConfigFile ( string path, FlagOpts flags ) : System
ReadConfigFile ( ) : bool
SplitLine ( string line, string &propname, string &value, string &comment ) : bool

Private Methods

Méthode Description
IsComment ( string line ) : bool

Method Details

DumpConfigStream() public méthode

public DumpConfigStream ( TextWriter stream ) : void
stream System.IO.TextWriter
Résultat void

FindConfigElem() public méthode

public FindConfigElem ( string elem_name ) : void
elem_name string
Résultat void

GetConfigIntKeys() public méthode

public GetConfigIntKeys ( ) : int[]
Résultat int[]

GetConfigMaxIntKey() public méthode

public GetConfigMaxIntKey ( ) : int
Résultat int

GetConfigStringKeys() public méthode

public GetConfigStringKeys ( ) : string[]
Résultat string[]

POLConfigFile() public méthode

public POLConfigFile ( string path ) : System
path string
Résultat System

POLConfigFile() public méthode

public POLConfigFile ( string path, FlagOpts flags ) : System
path string
flags FlagOpts
Résultat System

ReadConfigFile() public méthode

public ReadConfigFile ( ) : bool
Résultat bool

SplitLine() static public méthode

static public SplitLine ( string line, string &propname, string &value, string &comment ) : bool
line string
propname string
value string
comment string
Résultat bool