UNPKG

aes70

Version:

A controller library for the AES70 protocol.

54 lines (52 loc) 1.45 kB
/* * This file has been generated. */ /** * Bitset describing which bounds of an **OcaInterval** have been specified, and * whether each specified bound is inclusive or exclusive. Bitset values have * the following meanings: **MinOmitted**: 0 if Min is specified, 1 if omitted * **MaxOmitted**: 0 if Max is specified, 1 if omitted **MinInclusive**: 0 if * Min is an exclusive bound, 1 if inclusive **MaxInclusive**: 0 if Max is an * exclusive bound, 1 if inclusive Thus , for **OcaInterval** = **{Min, Max, * Bounds}**, and where a means any bit value - 1 or 0 x means any number Q * designates the quantity under test: {x,x,0b0000} = empty interval * {x,x,0baa11} = whole number line {10,40,0b0000} = 10 ``<`` Q ``<`` 40 * {10,40,0b1100} = 10 ``<=`` Q ``<=`` 40 {10,x,0ba110} = 10 ``<=`` Q * {10,x,0ba010} = 10 ``<`` Q * @enum {number} * @readonly */ export const OcaIntervalBounds = { MinOmitted: 1, MaxOmitted: 2, MinInclusive: 4, MaxInclusive: 8, }; /** * Entry with value ``1``. * @type {number} * @member MinOmitted * @memberof OcaIntervalBounds * @static */ /** * Entry with value ``2``. * @type {number} * @member MaxOmitted * @memberof OcaIntervalBounds * @static */ /** * Entry with value ``4``. * @type {number} * @member MinInclusive * @memberof OcaIntervalBounds * @static */ /** * Entry with value ``8``. * @type {number} * @member MaxInclusive * @memberof OcaIntervalBounds * @static */