BloombergLP::ball::ScopedAttribute::ScopedAttribute

Constructors

Synopses

Declared in <ball_scopedattribute.h>

Same as the preceding overload, using the specified value.

ScopedAttribute(
    char const* name,
    bdlb::Guid value,
    allocator_type const& allocator = allocator_type());
» more...

Same as the preceding overload, using the specified value.

ScopedAttribute(
    char const* name,
    int value,
    allocator_type const& allocator = allocator_type());
» more...

Same as the preceding overload, using the specified value.

ScopedAttribute(
    char const* name,
    long value,
    allocator_type const& allocator = allocator_type());
» more...

Same as the preceding overload, using the specified value.

ScopedAttribute(
    char const* name,
    long long value,
    allocator_type const& allocator = allocator_type());
» more...

Same as the preceding overload, using the specified value.

ScopedAttribute(
    char const* name,
    unsigned int value,
    allocator_type const& allocator = allocator_type());
» more...

Same as the preceding overload, using the specified value.

ScopedAttribute(
    char const* name,
    unsigned long value,
    allocator_type const& allocator = allocator_type());
» more...

Same as the preceding overload, using the specified value.

ScopedAttribute(
    char const* name,
    unsigned long long value,
    allocator_type const& allocator = allocator_type());
» more...

Set BALL logging attributes for the current thread for the scope of this object, associating the specified name with the specified value.

ScopedAttribute(
    char const* name,
    std::string_view const& value,
    allocator_type const& allocator = allocator_type());
» more...

Same as the preceding overload, using the specified value.

ScopedAttribute(
    char const* name,
    char const* value,
    allocator_type const& allocator = allocator_type());
» more...

Same as the preceding overload, using the specified value.

ScopedAttribute(
    char const* name,
    void const* value,
    allocator_type const& allocator = allocator_type());
» more...

Parameters

NameDescription
nameliteral attribute name
valueGUID attribute value
allocatorallocator used to supply memory