Parser Class |
[This is preliminary documentation and is subject to change.]
[Missing <summary> documentation for "T:dss_sharp.Parser"]
Namespace: dss_sharp
The Parser type exposes the following members.
Name | Description | |
---|---|---|
AutoIncrement |
Default is FALSE. If TRUE parser automatically advances to next token after DblValue, IntValue, or StrValue. Simpler when you don't need to check for parameter names.
| |
BeginQuote |
Get/Set String containing the the characters for Quoting in OpenDSS scripts. Matching pairs defined in EndQuote. Default is "'([{.
| |
CmdString |
String to be parsed. Loading this string resets the Parser to the beginning of the line. Then parse off the tokens in sequence.
| |
DblValue |
Return next parameter as a double.
| |
Delimiters |
String defining hard delimiters used to separate token on the command string. Default is , and =. The = separates token name from token value. These override whitesspace to separate tokens.
| |
EndQuote |
String containing characters, in order, that match the beginning quote characters in BeginQuote. Default is "')]}
| |
IntValue |
Return next parameter as a long integer.
| |
NextParam |
Get next token and return tag name (before = sign) if any. See AutoIncrement.
| |
StrValue |
Return next parameter as a string
| |
WhiteSpace |
(read) Get the characters used for White space in the command string. Default is blank and Tab.
(write) Set the characters used for White space in the command string. Default is blank and Tab.
|
Name | Description | |
---|---|---|
CheckForError | (Inherited from ContextState.) | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetContextHandle |
Returns the low-level handle of the current OpenDSS/DSS-CAPI instance.
(Inherited from ContextState.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
Matrix |
Use this property to parse a Matrix token in OpenDSS format. Returns square matrix of order specified. Order same as default Fortran order: column by column.
| |
MemberwiseClone | (Inherited from Object.) | |
ResetDelimiters | ||
SymMatrix |
Use this property to parse a matrix token specified in lower triangle form. Symmetry is forced.
| |
ToString | (Inherited from Object.) | |
Vector |
Returns token as array of doubles. For parsing quoted array syntax.
|
Name | Description | |
---|---|---|
apiutil | (Inherited from ContextState.) | |
ctx | (Inherited from ContextState.) |