Class TDSSParser

Unit

Declaration

type TDSSParser = class(TObject)

Description

Hierarchy

Overview

Methods

Public constructor Create;
Public destructor Destroy; OVERRIDE;
Public function ParseAsBusName(Param: String; var NumNodes: Integer; NodeArray: pIntegerArray): String;
Public function ParseAsVector(ExpectedSize: Integer; VectorBuffer: pDoubleArray): Integer;
Public function ParseAsVector(VectorBuffer: Array of Double): Integer;
Public function ParseAsMatrix(ExpectedOrder: Integer; MatrixBuffer: pDoubleArray): Integer;
Public function ParseAsSymMatrix(ExpectedOrder: Integer; MatrixBuffer: pDoubleArray; Stride: Integer = 1; Scale: Double = 1): Integer;
Public function ParseAsSymMatrix(MatrixBuffer: Array of Double; Stride: Integer = 1; Scale: Double = 1): Integer;
Public procedure ResetDelims;
Public procedure CheckforVar(var TokenBuffer_: String);
Public procedure SetVars(vars: TParserVar);

Properties

Public property DblValue: Double READ MakeDouble;
Public property IntValue: Integer READ MakeInteger;
Public property StrValue: String READ MakeString;
Public property Token: String READ TokenBuffer WRITE TokenBuffer;
Public property Remainder: String READ Get_Remainder;
Public property NextParam: String READ GetNextParam;
Public property CmdString: String READ CmdBuffer WRITE SetCmdString;
Public property Position: Integer READ FPosition WRITE FPosition;
Public property Delimiters: String READ DelimChars WRITE DelimChars;
Public property Whitespace: String READ WhiteSpaceChars WRITE WhiteSpaceChars;
Public property BeginQuoteChars: String READ FBeginQuoteChars WRITE FBeginQuoteChars;
Public property EndQuoteChars: String READ FEndQuoteChars WRITE FEndQuoteChars;
Public property AutoIncrement: Boolean READ FAutoIncrement WRITE FAutoIncrement;

Description

Methods

Public constructor Create;
 
Public destructor Destroy; OVERRIDE;
 
Public function ParseAsBusName(Param: String; var NumNodes: Integer; NodeArray: pIntegerArray): String;
 
Public function ParseAsVector(ExpectedSize: Integer; VectorBuffer: pDoubleArray): Integer;

TODO: make it a separate function

Public function ParseAsVector(VectorBuffer: Array of Double): Integer;
 
Public function ParseAsMatrix(ExpectedOrder: Integer; MatrixBuffer: pDoubleArray): Integer;

TODO: remove, not used in the main code, only in the COM API

Public function ParseAsSymMatrix(ExpectedOrder: Integer; MatrixBuffer: pDoubleArray; Stride: Integer = 1; Scale: Double = 1): Integer;
 
Public function ParseAsSymMatrix(MatrixBuffer: Array of Double; Stride: Integer = 1; Scale: Double = 1): Integer;
 
Public procedure ResetDelims;
 
Public procedure CheckforVar(var TokenBuffer_: String);

resets delimiters to default

Public procedure SetVars(vars: TParserVar);
 

Properties

Public property DblValue: Double READ MakeDouble;
 
Public property IntValue: Integer READ MakeInteger;
 
Public property StrValue: String READ MakeString;
 
Public property Token: String READ TokenBuffer WRITE TokenBuffer;
 
Public property Remainder: String READ Get_Remainder;
 
Public property NextParam: String READ GetNextParam;
 
Public property CmdString: String READ CmdBuffer WRITE SetCmdString;
 
Public property Position: Integer READ FPosition WRITE FPosition;
 
Public property Delimiters: String READ DelimChars WRITE DelimChars;

to save and restore

Public property Whitespace: String READ WhiteSpaceChars WRITE WhiteSpaceChars;
 
Public property BeginQuoteChars: String READ FBeginQuoteChars WRITE FBeginQuoteChars;
 
Public property EndQuoteChars: String READ FEndQuoteChars WRITE FEndQuoteChars;
 
Public property AutoIncrement: Boolean READ FAutoIncrement WRITE FAutoIncrement;
 

Generated by PasDoc 0.16.0.