BloombergLP::ball::ScopedAttribute

This class provides a scoped guard that sets a single BALL attribute in the current thread.

Synopsis

Declared in <ball_scopedattribute.h>

class ScopedAttribute;

Type Aliases

NameDescription
allocator_type allocator_type is an alias for the type of allocator used by this class.

Member Functions

NameDescription
ScopedAttribute [constructor]Constructors
~ScopedAttribute [destructor]Remove the attributes managed by this object from the BALL system, and destroy this object.
get_allocator Return the allocator used by this object to supply memory.
operator BloombergLP::bslmf::NestedTraitDeclaration<ScopedAttribute, UsesBslmaAllocator> Declare that this type uses a bslma allocator.