Property | Type | Description | |
---|---|---|---|
Results | List |
Property | Type | Description | |
---|---|---|---|
_typeParsers | TypeParser[] |
Method | Description | |
---|---|---|
Parse ( string input, string format ) : int |
Parses the input string according to the rules in the format string. Similar to the standard C library's sscanf() function. Parsed fields are placed in the class' Results member.
|
|
ScanFormatted ( ) : System |
Method | Description | |
---|---|---|
ParseFormatSpecifier ( |
Attempts to parse a field format specifier from the format string.
|
|
ParseHexadecimal ( |
Parse hexadecimal field
|
|
ParseScanSet ( |
Parse a scan-set field
|
Method | Description | |
---|---|---|
AddSigned ( string token, Modifiers mod, int radix ) : void | ||
AddUnsigned ( string token, Modifiers mod, int radix ) : void | ||
IsValidDigit ( char c, int radix ) : bool | ||
ParseCharacter ( |
Parse a character field
|
|
ParseDecimal ( |
Parse integer field
|
|
ParseFloat ( |
Parse a floating-point field
|
|
ParseOctal ( |
Parse an octal field
|
|
ParseString ( |
Parse a string field
|
public Parse ( string input, string format ) : int | ||
input | string | String to parse |
format | string | Specifies rules for parsing input |
return | int |
protected ParseFormatSpecifier ( |
||
format | ||
spec | FormatSpecifier | |
return | bool |
protected ParseHexadecimal ( |
||
input | ||
spec | FormatSpecifier | |
return | bool |
protected ParseScanSet ( |
||
input | ||
spec | FormatSpecifier | |
return | bool |