Constructors

Synopses

Declared in <ball_managedattribute.h>

Create a ManagedAttribute object having the value of the specified attribute.

explicit
ManagedAttribute(
    Attribute const& attribute,
    allocator_type const& allocator = allocator_type());

Create a ManagedAttribute object having the same value as the specified original object.

ManagedAttribute(
    ManagedAttribute const& original,
    allocator_type const& allocator = allocator_type());

Create a ManagedAttribute object having the specified name and value.

ManagedAttribute(
    std::string_view const& name,
    int value,
    allocator_type const& allocator = allocator_type());

Same as the preceding overload, using the specified value.

ManagedAttribute(
    std::string_view const& name,
    long value,
    allocator_type const& allocator = allocator_type());

Same as the preceding overload, using the specified value.

ManagedAttribute(
    std::string_view const& name,
    long long value,
    allocator_type const& allocator = allocator_type());

Same as the preceding overload, using the specified value.

ManagedAttribute(
    std::string_view const& name,
    unsigned int value,
    allocator_type const& allocator = allocator_type());

Same as the preceding overload, using the specified value.

ManagedAttribute(
    std::string_view const& name,
    unsigned long value,
    allocator_type const& allocator = allocator_type());

Same as the preceding overload, using the specified value.

ManagedAttribute(
    std::string_view const& name,
    unsigned long long value,
    allocator_type const& allocator = allocator_type());

Create a ManagedAttribute object having the specified name and value.

ManagedAttribute(
    std::string_view const& name,
    Attribute::Value const& value,
    allocator_type const& allocator = allocator_type());

Create a ManagedAttribute object having the specified name and string value.

ManagedAttribute(
    std::string_view const& name,
    std::string_view const& value,
    allocator_type const& allocator = allocator_type());

Create a ManagedAttribute object having the specified name and the C‐style value string.

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

Create a ManagedAttribute object having the specified name and the pointer to the specified value of cv‐qualified void type.

ManagedAttribute(
    std::string_view const& name,
    void const* value,
    allocator_type const& allocator = allocator_type());

Parameters

Name

Description

attribute

attribute to copy

allocator

allocator used to supply memory

original

managed attribute to copy

name

attribute name

value

integer attribute value

Created with MrDocs