Class TLoadShapeObj

Unit

Declaration

type TLoadShapeObj = class(TDSSObject)

Description

No description available, ancestor TDSSObject description follows
No description available, ancestor TNamedObject description follows

this is a GUID compliant to RFC 4122, v4

Hierarchy

Overview

Fields

Public Interval: Double;
Public dH: pDoubleArray0;
Public dP: pDoubleArray0;
Public dQ: pDoubleArray0;
Public sH: pSingleArray0;
Public sP: pSingleArray0;
Public sQ: pSingleArray0;
Public MaxP: Double;
Public MaxQ: Double;
Public BaseP: Double;
Public BaseQ: Double;
Public MaxQSpecified: Boolean;
Public Enabled: Boolean;
Public ExternalMemory: LongBool;
Public UseActual: LongBool;
Public Stride: Integer;
Public UseMMF: LongBool;
Public mmFile: CInt;
Public mmQFile: CInt;
Public mmFileSize: Cardinal;
Public mmFileSizeQ: Cardinal;
Public mmFileCmd: String;
Public mmFileCmdQ: String;
Public mmView: pByte;
Public mmViewQ: pByte;
Public mmFileType: TLSFileType;
Public mmFileTypeQ: TLSFileType;
Public mmColumn: Int64;
Public mmColumnQ: Int64;
Public mmLineLen: Int64;
Public mmLineLenQ: Int64;
Public mmDataSize: Int64;
Public mmDataSizeQ: Int64;
Public mmViewLen: Int64;
Public mmViewLenQ: Int64;
Public csvfile: String;
Public dblfile: String;
Public sngfile: String;
Public pqcsvfile: String;

Methods

Public constructor Create(ParClass: TDSSClass; const LoadShapeName: String);
Public destructor Destroy; OVERRIDE;
Public procedure PropertySideEffects(Idx: Integer; previousIntVal: Integer = 0); override;
Public procedure MakeLike(OtherPtr: Pointer); override;
Public procedure CustomSetRaw(Idx: Integer; Value: String); override;
Public procedure SaveWrite(F: TFileStream); override;
Public function GetMultAtHour(hr: Double): Complex;
Public function Mult(i: Integer): Double;
Public function PMult(i: Integer): Double;
Public function QMult(i: Integer; var m: Double): Boolean;
Public function Hour(i: Integer): Double;
Public procedure Normalize;
Public procedure SetMaxPandQ;
Public procedure LoadMMFView(const Parmname: String; Destination: TMMShapeType);
Public procedure LoadFileFeatures(ShapeType: TMMShapeType);
Public function GetPropertyValue(Index: Integer): String; OVERRIDE;
Public procedure SetDataPointers(HoursPtr: PDouble; PMultPtr: PDouble; QMultPtr: PDouble; DStride: Integer);
Public procedure SetDataPointersSingle(HoursPtr: PSingle; PMultPtr: PSingle; QMultPtr: PSingle; SStride: Integer);
Public procedure UseFloat32;
Public procedure UseFloat64;

Properties

Public property NumPoints: Integer READ FNumPoints WRITE FNumPoints;
Public property PresentInterval: Double READ Get_Interval;
Public property Mean: Double READ Get_Mean WRITE Set_Mean;
Public property StdDev: Double READ Get_StdDev WRITE Set_StdDev;

Description

Fields

Public Interval: Double;
 
Public dH: pDoubleArray0;

=0.0 then random interval (hr) Double data

Public dP: pDoubleArray0;

Time values (hr) if Interval > 0.0 else nil

Public dQ: pDoubleArray0;

Time values (hr) if Interval > 0.0 else nil

Public sH: pSingleArray0;

Multipliers, zero based Single data

Public sP: pSingleArray0;

Multipliers, zero based Single data

Public sQ: pSingleArray0;

Multipliers, zero based Single data

Public MaxP: Double;

zero based

Public MaxQ: Double;

zero based

Public BaseP: Double;

zero based

Public BaseQ: Double;

zero based

Public MaxQSpecified: Boolean;
 
Public Enabled: Boolean;
 
Public ExternalMemory: LongBool;
 
Public UseActual: LongBool;
 
Public Stride: Integer;
 
Public UseMMF: LongBool;

Memory mapping variables

Public mmFile: CInt;

Flag to indicated that the user wants to use MMF

Public mmQFile: CInt;

Flag to indicated that the user wants to use MMF

Public mmFileSize: Cardinal;

Handle for the file to be mapped (P, Q)

Public mmFileSizeQ: Cardinal;

Handle for the file to be mapped (P, Q)

Public mmFileCmd: String;

File size of the file opened (P, Q)

Public mmFileCmdQ: String;

File size of the file opened (P, Q)

Public mmView: pByte;

The file definition added by the user (for moving the data window)

Public mmViewQ: pByte;

The file definition added by the user (for moving the data window)

Public mmFileType: TLSFileType;

Current view of the file mapped (Bytes - P, Q)

Public mmFileTypeQ: TLSFileType;

Current view of the file mapped (Bytes - P, Q)

Public mmColumn: Int64;

The file type (P, Q)

Public mmColumnQ: Int64;

The file type (P, Q)

Public mmLineLen: Int64;

The column to read (P, Q)

Public mmLineLenQ: Int64;

The column to read (P, Q)

Public mmDataSize: Int64;

The size of the char line (P, Q)

Public mmDataSizeQ: Int64;

The size of the char line (P, Q)

Public mmViewLen: Int64;

The total data size expected (P, Q)

Public mmViewLenQ: Int64;

The total data size expected (P, Q)

Public csvfile: String;

Memory View size in bytes (P)

Public dblfile: String;

Memory View size in bytes (P)

Public sngfile: String;

Memory View size in bytes (P)

Public pqcsvfile: String;

Memory View size in bytes (P)

Methods

Public constructor Create(ParClass: TDSSClass; const LoadShapeName: String);
 
Public destructor Destroy; OVERRIDE;
 
Public procedure PropertySideEffects(Idx: Integer; previousIntVal: Integer = 0); override;
 
Public procedure MakeLike(OtherPtr: Pointer); override;
 
Public procedure CustomSetRaw(Idx: Integer; Value: String); override;
 
Public procedure SaveWrite(F: TFileStream); override;
 
Public function GetMultAtHour(hr: Double): Complex;
 
Public function Mult(i: Integer): Double;

Get multiplier at specified time

Public function PMult(i: Integer): Double;

get multiplier by index – used in SolutionAlgs, updates LastValueAccessed

Public function QMult(i: Integer; var m: Double): Boolean;

get multiplier by index – used in SolutionAlgs, doesn't update LastValueAccessed

Public function Hour(i: Integer): Double;

get multiplier by index

Public procedure Normalize;

get hour corresponding to point index

Public procedure SetMaxPandQ;
 
Public procedure LoadMMFView(const Parmname: String; Destination: TMMShapeType);
 
Public procedure LoadFileFeatures(ShapeType: TMMShapeType);
 
Public function GetPropertyValue(Index: Integer): String; OVERRIDE;
 
Public procedure SetDataPointers(HoursPtr: PDouble; PMultPtr: PDouble; QMultPtr: PDouble; DStride: Integer);
 
Public procedure SetDataPointersSingle(HoursPtr: PSingle; PMultPtr: PSingle; QMultPtr: PSingle; SStride: Integer);
 
Public procedure UseFloat32;
 
Public procedure UseFloat64;
 

Properties

Public property NumPoints: Integer READ FNumPoints WRITE FNumPoints;
 
Public property PresentInterval: Double READ Get_Interval;
 
Public property Mean: Double READ Get_Mean WRITE Set_Mean;
 
Public property StdDev: Double READ Get_StdDev WRITE Set_StdDev;
 

Generated by PasDoc 0.16.0.