BloombergLP::ball::Attribute::Attribute

Constructors

Synopses

Declared in <ball_attribute.h>

Create an Attribute object having the same (literal) name and attribute value as the specified original object.

Attribute(
    Attribute const& original,
    allocator_type const& allocator = allocator_type());
» more...

Same as the preceding overload, using the specified value.

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

Create an Attribute object having the specified (literal) name and value.

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

Same as the preceding overload, using the specified value.

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

Same as the preceding overload, using the specified value.

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

Same as the preceding overload, using the specified value.

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

Same as the preceding overload, using the specified value.

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

Same as the preceding overload, using the specified value.

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

Create an Attribute object having the specified (literal) name and value.

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

Create an Attribute object having the specified (literal) name and (character string) value.

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

Create an Attribute object having the specified (literal) name and (character string) value.

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

Create an Attribute object having the specified (literal) name and (const-qualified void pointer) value.

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

Parameters

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