DataFeed Refactoring
This commit is contained in:
@@ -130,16 +130,6 @@ type
|
||||
class operator Trunc(const A: TScalar): TScalar; inline;
|
||||
end;
|
||||
|
||||
// An array of scalar values of the same kind.
|
||||
TScalarArray = record
|
||||
public
|
||||
Kind: TScalar.TKind;
|
||||
Items: TArray<TScalar.TValue>;
|
||||
constructor Create(AKind: TScalar.TKind; const AItems: TArray<TScalar.TValue>);
|
||||
end;
|
||||
|
||||
TScalarTuple = TArray<TScalar>;
|
||||
|
||||
// A field definition for a scalar record.
|
||||
TScalarRecordField = TPair<IKeyword, TScalar.TKind>;
|
||||
IScalarRecordDefinition = IKeywordMapping<TScalar.TKind>;
|
||||
@@ -792,14 +782,6 @@ begin
|
||||
Result := FromInt64(System.Trunc(val));
|
||||
end;
|
||||
|
||||
{ TScalarArray }
|
||||
|
||||
constructor TScalarArray.Create(AKind: TScalar.TKind; const AItems: TArray<TScalar.TValue>);
|
||||
begin
|
||||
Kind := AKind;
|
||||
Items := AItems;
|
||||
end;
|
||||
|
||||
{ TScalarRecordSeries }
|
||||
|
||||
constructor TScalarRecordSeries.Create(const ADef: IScalarRecordDefinition);
|
||||
|
||||
Reference in New Issue
Block a user