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());

Same as the preceding overload, using the specified value.

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

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

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

Same as the preceding overload, using the specified value.

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

Same as the preceding overload, using the specified value.

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

Same as the preceding overload, using the specified value.

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

Same as the preceding overload, using the specified value.

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

Same as the preceding overload, using the specified value.

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

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

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

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());

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());

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());

Parameters

Name

Description

original

attribute to copy

allocator

allocator used to supply memory

name

literal attribute name

value

GUID attribute value

Created with MrDocs