Constructors

Synopses

Declared in <ball_context.h>

Create a context object with all attributes having default values.

Context(bslma::Allocator* basicAllocator = 0);

Create a context object having the value of the specified original context object.

Context(
    Context const& original,
    bslma::Allocator* basicAllocator = 0);

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

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

Parameters

Name

Description

basicAllocator

memory allocator; null uses the default

original

context object to copy

transmissionCause

cause of transmission

recordIndex

index within the sequence

sequenceLength

number of records in the sequence

Created with MrDocs