BloombergLP::ball::AttributeContext::lookupContext

Return the address of the current thread's attribute context, or 0 if none exists.

Synopsis

Declared in <ball_attributecontext.h>

static
AttributeContext*
lookupContext();

Description

Return the address of the modifiable AttributeContext object installed in local storage for the current thread, or 0 if no attribute context has been created for this thread. Note that this method can be invoked safely even if the initialize class method has not yet been called.

Return Value

address of this thread's attribute context, or 0 if none exists