[#BloombergLP-ball-Context-2constructor-09] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/Context.adoc[Context]::Context :relfileprefix: ../../../ :mrdocs: Constructors == Synopses Declared in `<ball_context.h>` Create a context object with all attributes having default values. Optionally specify a `basicAllocator` used to supply memory. If `basicAllocator` is 0, the currently installed default allocator is used. Note that `basicAllocator` is currently ignored. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/ball/Context/2constructor-06.adoc[Context](xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#xref:BloombergLP/ball/Context/2constructor-06.adoc[_» more..._]# Create a context object having the value of the specified `original` context object. Optionally specify a `basicAllocator` used to supply memory. If `basicAllocator` is 0, the currently installed default allocator is used. Note that `basicAllocator` is currently ignored. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/ball/Context/2constructor-0c.adoc[Context]( xref:BloombergLP/ball/Context.adoc[Context] const& original, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#xref:BloombergLP/ball/Context/2constructor-0c.adoc[_» more..._]# Create a context object indicating the specified `transmissionCause`, `recordIndex`, and `sequenceLength` values. 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. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/ball/Context/2constructor-00.adoc[Context]( xref:BloombergLP/ball/Transmission/Cause.adoc[Transmission::Cause] transmissionCause, int recordIndex, int sequenceLength, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#xref:BloombergLP/ball/Context/2constructor-00.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#