interface TTwoStateStatus {
    arrayType: VariantArrayType;
    dataType: DataType;
    dimensions: null | number[];
    id: TVariant<boolean>;
    schema: IStructuredTypeSchema;
    value: string;
    applyOnAllFields<T>(func: Func1<T>, data: T): void;
    binaryStoreSize(): number;
    clone(): Variant;
    decode(stream: BinaryStream): void;
    decodeDebug(stream: BinaryStream, options: DecodeDebugOptions): void;
    encode(stream: OutputBinaryStream): void;
    explore(): string;
    isValid(): boolean;
    toJSON(): any;
    toString(): string;
}

Hierarchy (view full)

Properties

arrayType: VariantArrayType
dataType: DataType
dimensions: null | number[]
id: TVariant<boolean>
schema: IStructuredTypeSchema
value: string

Methods

  • Type Parameters

    • T

    Parameters

    • func: Func1<T>
    • data: T

    Returns void

  • Calculate the required size to store this object in a binary stream.

    Returns number

  • Decode the object from the binary stream.

    Parameters

    Returns void

  • Parameters

    Returns void

  • Encode the object to the binary stream.

    Parameters

    • stream: OutputBinaryStream

    Returns void

  • Returns string

  • verify that all object attributes values are valid according to schema

    Returns boolean

  • Returns any

  • Returns string