IScalarRecord
This commit is contained in:
@@ -371,7 +371,7 @@ begin
|
|||||||
var kClose := TKeywordRegistry.Intern('Close');
|
var kClose := TKeywordRegistry.Intern('Close');
|
||||||
|
|
||||||
var def :=
|
var def :=
|
||||||
TScalarRecordRegistry.Intern(
|
TScalarRecord.TRegistry.Intern(
|
||||||
[
|
[
|
||||||
TPair<IKeyword, TScalar.TKind>.Create(kTime, TScalar.TKind.DateTime),
|
TPair<IKeyword, TScalar.TKind>.Create(kTime, TScalar.TKind.DateTime),
|
||||||
TPair<IKeyword, TScalar.TKind>.Create(kClose, TScalar.TKind.Float)
|
TPair<IKeyword, TScalar.TKind>.Create(kClose, TScalar.TKind.Float)
|
||||||
|
|||||||
@@ -144,9 +144,10 @@ type
|
|||||||
TScalarRecordField = TPair<IKeyword, TScalar.TKind>;
|
TScalarRecordField = TPair<IKeyword, TScalar.TKind>;
|
||||||
IScalarRecordDefinition = IKeywordMapping<TScalar.TKind>;
|
IScalarRecordDefinition = IKeywordMapping<TScalar.TKind>;
|
||||||
IScalarRecord = IKeywordMapping<TScalar>;
|
IScalarRecord = IKeywordMapping<TScalar>;
|
||||||
TScalarRecordRegistry = TKeywordMappingRegistry<TScalar.TKind>;
|
|
||||||
|
|
||||||
TScalarRecord = class(TInterfacedObject, IScalarRecord)
|
TScalarRecord = class(TInterfacedObject, IScalarRecord)
|
||||||
|
type
|
||||||
|
TRegistry = TKeywordMappingRegistry<TScalar.TKind>;
|
||||||
private
|
private
|
||||||
FDef: IScalarRecordDefinition;
|
FDef: IScalarRecordDefinition;
|
||||||
FData: TArray<TScalar.TValue>;
|
FData: TArray<TScalar.TValue>;
|
||||||
|
|||||||
Reference in New Issue
Block a user