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

Name

Description

transmissionCause

cause of transmission to validate

recordIndex

index within the sequence to validate

sequenceLength

length of the sequence to validate

Created with MrDocs