Constructors

Synopses

Declared in <ball_scopedattribute.h>

Same as the preceding overload, using the specified value.

ScopedAttribute_Container(
    char const* name,
    bdlb::Guid value,
    allocator_type const& allocator = allocator_type());

Same as the preceding overload, using the specified value.

ScopedAttribute_Container(
    char const* name,
    int value,
    allocator_type const& allocator = allocator_type());

Same as the preceding overload, using the specified value.

ScopedAttribute_Container(
    char const* name,
    long value,
    allocator_type const& allocator = allocator_type());

Same as the preceding overload, using the specified value.

ScopedAttribute_Container(
    char const* name,
    long long value,
    allocator_type const& allocator = allocator_type());

Same as the preceding overload, using the specified value.

ScopedAttribute_Container(
    char const* name,
    unsigned int value,
    allocator_type const& allocator = allocator_type());

Same as the preceding overload, using the specified value.

ScopedAttribute_Container(
    char const* name,
    unsigned long value,
    allocator_type const& allocator = allocator_type());

Same as the preceding overload, using the specified value.

ScopedAttribute_Container(
    char const* name,
    unsigned long long value,
    allocator_type const& allocator = allocator_type());

Create a BALL attribute container holding a single rule, associating the specified name with the specified value. Optionally specify an allocator (e.g., the address of a bslma::Allocator object) to supply memory; otherwise, the default allocator is used.

ScopedAttribute_Container(
    char const* name,
    std::string_view const& value,
    allocator_type const& allocator = allocator_type());

Same as the preceding overload, using the specified value.

ScopedAttribute_Container(
    char const* name,
    char const* value,
    allocator_type const& allocator = allocator_type());

Same as the preceding overload, using the specified value.

ScopedAttribute_Container(
    char const* name,
    void const* value,
    allocator_type const& allocator = allocator_type());

Created with MrDocs