Unit Arraydef

Classes, Interfaces, Objects and Records
Constants
Variables

Description

 

Uses

Overview

Functions and Procedures

function AllocStringArray(Size: Integer): pStringArray;
procedure FreeStringArray(var pS: pStringArray; Size: Integer);

Types

TGeneralConnection = (...);
TCBuffer24 = array[1..24] of Complex;
PCBuffer24 = ˆTCBuffer24;
pSmallIntArray = ˆSmallIntArray;
SmallIntArray = array[1..100] of Smallint;
pIntegerArray = ˆLongIntArray;
pLongIntArray = ˆLongIntArray;
LongIntArray = array[1..100] of Longint;
pDoubleArray = ˆDoubleArray;
DoubleArray = array[1..100] of Double;
pSingleArray = ˆSingleArray;
SingleArray = array[1..100] of Single;
pPointerArray = ˆPointerArray;
PointerArray = array[1..100] of Pointer;
pStringArray = ˆStringArray;
StringArray = array[1..100] of String;
pPtrIntArray = ˆPtrIntArray;
PtrIntArray = array[1..100] of PtrInt;
PDoubleArray0 = CAPI_Types.PDoubleArray0;
PSingleArray0 = CAPI_Types.PSingleArray0;

Description

Functions and Procedures

function AllocStringArray(Size: Integer): pStringArray;
 
procedure FreeStringArray(var pS: pStringArray; Size: Integer);
 

Types

TGeneralConnection = (...);

keep enums as int32 values

Values
  • Wye = 0
  • Y = 0: wye, star, line-neutral connection
  • LN = 0: wye, star, line-neutral connection
  • Delta = 1: wye, star, line-neutral connection
  • LL = 1: delta, line-line connection
TCBuffer24 = array[1..24] of Complex;

delta, line-line connection

PCBuffer24 = ˆTCBuffer24;
 
pSmallIntArray = ˆSmallIntArray;

Define arrays with dummy dimension of 100 so we can hard code constants for accessing small order elements; Otherwise, always allocate arrays of these types before using

SmallIntArray = array[1..100] of Smallint;
 
pIntegerArray = ˆLongIntArray;
 
pLongIntArray = ˆLongIntArray;
 
LongIntArray = array[1..100] of Longint;
 
pDoubleArray = ˆDoubleArray;
 
DoubleArray = array[1..100] of Double;
 
pSingleArray = ˆSingleArray;
 
SingleArray = array[1..100] of Single;
 
pPointerArray = ˆPointerArray;
 
PointerArray = array[1..100] of Pointer;
 
pStringArray = ˆStringArray;
 
StringArray = array[1..100] of String;
 
pPtrIntArray = ˆPtrIntArray;
 
PtrIntArray = array[1..100] of PtrInt;
 
PDoubleArray0 = CAPI_Types.PDoubleArray0;
 
PSingleArray0 = CAPI_Types.PSingleArray0;
 

Generated by PasDoc 0.16.0.