BloombergLP::ball::Context::isValid

Return whether the given attributes represent a valid context.

Synopsis

Declared in <ball_context.h>

static
bool
isValid(
    Transmission::Cause transmissionCause,
    int recordIndex,
    int sequenceLength);

Description

Return true if the specified transmissionCause, recordIndex, and sequenceLength represent a valid context, and false otherwise. (See the CONSTRAINTS section of the component-level documentation above for a complete specification of the constraints on attribute values.)

Return Value

true if the attributes represent a valid context, and false otherwise

Parameters

NameDescription
transmissionCausecause of transmission to validate
recordIndexindex within the sequence to validate
sequenceLengthlength of the sequence to validate