Click or drag to resize

Parser Class

[This is preliminary documentation and is subject to change.]

[Missing <summary> documentation for "T:dss_sharp.Parser"]

Inheritance Hierarchy

Namespace:  dss_sharp
Assembly:  dss_sharp (in dss_sharp.dll) Version: 1.0.0
public class Parser : ContextState

The Parser type exposes the following members.

Public methodParser
Initializes a new instance of the Parser class
Public propertyAutoIncrement
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.
Public propertyBeginQuote
Get/Set String containing the the characters for Quoting in OpenDSS scripts. Matching pairs defined in EndQuote. Default is "'([{.
Public propertyCmdString
String to be parsed. Loading this string resets the Parser to the beginning of the line. Then parse off the tokens in sequence.
Public propertyDblValue
Return next parameter as a double.
Public propertyDelimiters
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.
Public propertyEndQuote
String containing characters, in order, that match the beginning quote characters in BeginQuote. Default is "')]}
Public propertyIntValue
Return next parameter as a long integer.
Public propertyNextParam
Get next token and return tag name (before = sign) if any. See AutoIncrement.
Public propertyStrValue
Return next parameter as a string
Public propertyWhiteSpace
(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.
Protected methodCheckForError (Inherited from ContextState.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetContextHandle
Returns the low-level handle of the current OpenDSS/DSS-CAPI instance.
(Inherited from ContextState.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodMatrix
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.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodResetDelimiters
Public methodSymMatrix
Use this property to parse a matrix token specified in lower triangle form. Symmetry is forced.
Public methodToString (Inherited from Object.)
Public methodVector
Returns token as array of doubles. For parsing quoted array syntax.
Protected fieldapiutil (Inherited from ContextState.)
Protected fieldctx (Inherited from ContextState.)
See Also