BloombergLP::ball::Context::Context

Constructors

Synopses

Declared in <ball_context.h>

Create a context object with all attributes having default values.

Context(bslma::Allocator* basicAllocator = 0);
» more...

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

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

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

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

Parameters

NameDescription
basicAllocatormemory allocator; null uses the default
originalcontext object to copy
transmissionCausecause of transmission
recordIndexindex within the sequence
sequenceLengthnumber of records in the sequence