@sotatech/node-fixjs
Version:
FIX Protocol Parser for Node.js
12 lines (11 loc) • 438 B
TypeScript
import type { Field } from '../fields/Field';
import { type ISpecEnums } from '../spec/SpecEnums';
export declare class Enums {
enums: ISpecEnums[];
cacheMap: Map<string, ISpecEnums>;
cacheMapTag: Map<string, ISpecEnums>;
constructor();
getEnum(tag: string, value: number | string | boolean | null): ISpecEnums | undefined;
getEnumByTag(tag: string): ISpecEnums | undefined;
processEnum(field: Field): void;
}