Create a context object indicating the specified transmissionCause, recordIndex, and sequenceLength values.

Synopsis

Declared in <ball_context.h>

Context(
    Transmission::Cause transmissionCause,
    int recordIndex,
    int sequenceLength,
    bslma::Allocator* basicAllocator = 0);

Description

Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used. The behavior is undefined unless the resulting attribute values are compatible. Note that basicAllocator is currently ignored.

Parameters

Name

Description

transmissionCause

cause of transmission

recordIndex

index within the sequence

sequenceLength

number of records in the sequence

basicAllocator

memory allocator; null uses the default

Created with MrDocs