Class TDSSParser
Unit
Declaration
type TDSSParser = class(TObject)
Description
Hierarchy
- TObject
- TDSSParser
Overview
Methods
constructor Create; |
|
destructor Destroy; OVERRIDE; |
|
function ParseAsBusName(Param: String; var NumNodes: Integer; NodeArray: pIntegerArray): String; |
|
function ParseAsVector(ExpectedSize: Integer; VectorBuffer: pDoubleArray): Integer; |
|
function ParseAsVector(VectorBuffer: Array of Double): Integer; |
|
function ParseAsMatrix(ExpectedOrder: Integer; MatrixBuffer: pDoubleArray): Integer; |
|
function ParseAsSymMatrix(ExpectedOrder: Integer; MatrixBuffer: pDoubleArray; Stride: Integer = 1; Scale: Double = 1): Integer; |
|
function ParseAsSymMatrix(MatrixBuffer: Array of Double; Stride: Integer = 1; Scale: Double = 1): Integer; |
|
procedure ResetDelims; |
|
procedure CheckforVar(var TokenBuffer_: String); |
|
procedure SetVars(vars: TParserVar); |
Properties
property DblValue: Double READ MakeDouble; |
|
property IntValue: Integer READ MakeInteger; |
|
property StrValue: String READ MakeString; |
|
property Token: String READ TokenBuffer WRITE TokenBuffer; |
|
property Remainder: String READ Get_Remainder; |
|
property NextParam: String READ GetNextParam; |
|
property CmdString: String READ CmdBuffer WRITE SetCmdString; |
|
property Position: Integer READ FPosition WRITE FPosition; |
|
property Delimiters: String READ DelimChars WRITE DelimChars; |
|
property Whitespace: String READ WhiteSpaceChars WRITE WhiteSpaceChars; |
|
property BeginQuoteChars: String READ FBeginQuoteChars WRITE FBeginQuoteChars; |
|
property EndQuoteChars: String READ FEndQuoteChars WRITE FEndQuoteChars; |
|
property AutoIncrement: Boolean READ FAutoIncrement WRITE FAutoIncrement; |
Description
Methods
constructor Create; |
|
destructor Destroy; OVERRIDE; |
|
function ParseAsBusName(Param: String; var NumNodes: Integer; NodeArray: pIntegerArray): String; |
|
function ParseAsVector(ExpectedSize: Integer; VectorBuffer: pDoubleArray): Integer; |
|
TODO: make it a separate function |
function ParseAsVector(VectorBuffer: Array of Double): Integer; |
|
function ParseAsMatrix(ExpectedOrder: Integer; MatrixBuffer: pDoubleArray): Integer; |
|
TODO: remove, not used in the main code, only in the COM API |
function ParseAsSymMatrix(ExpectedOrder: Integer; MatrixBuffer: pDoubleArray; Stride: Integer = 1; Scale: Double = 1): Integer; |
|
function ParseAsSymMatrix(MatrixBuffer: Array of Double; Stride: Integer = 1; Scale: Double = 1): Integer; |
|
procedure ResetDelims; |
|
procedure CheckforVar(var TokenBuffer_: String); |
|
resets delimiters to default |
procedure SetVars(vars: TParserVar); |
|
Properties
property DblValue: Double READ MakeDouble; |
|
property IntValue: Integer READ MakeInteger; |
|
property StrValue: String READ MakeString; |
|
property Token: String READ TokenBuffer WRITE TokenBuffer; |
|
property Remainder: String READ Get_Remainder; |
|
property NextParam: String READ GetNextParam; |
|
property CmdString: String READ CmdBuffer WRITE SetCmdString; |
|
property Position: Integer READ FPosition WRITE FPosition; |
|
property Delimiters: String READ DelimChars WRITE DelimChars; |
|
to save and restore |
property Whitespace: String READ WhiteSpaceChars WRITE WhiteSpaceChars; |
|
property BeginQuoteChars: String READ FBeginQuoteChars WRITE FBeginQuoteChars; |
|
property EndQuoteChars: String READ FEndQuoteChars WRITE FEndQuoteChars; |
|
property AutoIncrement: Boolean READ FAutoIncrement WRITE FAutoIncrement; |
|
Generated by PasDoc 0.16.0.