An Attribute object contains an attribute name which is not managed and an attribute value which is managed.
Declared in <ball_attribute.h>
class Attribute;
| Name | Description |
|---|---|
Value | Value is an alias for the attribute type variant. |
allocator_type | This typedef is an alias for the allocator used by this object. |
| Name | Description |
|---|---|
Attribute [constructor] | Constructors |
operator= | Assign the value of the specified rhs object to this object. |
get_allocator | Return the allocator used by this object to supply memory. |
name | Return the name of this object. |
print | Format this object to the specified output stream. |
setName | Set the attribute name of this object to the specified (literal) name. |
setValue | setValue overloads |
value | Return a reference to the non-modifiable attribute value of this object. |
operator BloombergLP::bslmf::NestedTraitDeclaration<Attribute, UsesBslmaAllocator> | Declare that this type uses a bslma allocator. |
| Name | Description |
|---|---|
hash | Return a hash value calculated from the specified attribute. |
| Name | Description |
|---|---|
BloombergLP::ball::operator<< | Write the value of the specified attribute to the specified output stream. Return the specified output stream. |
BloombergLP::ball::operator!= | Return true if the specified lhs and rhs objects do not have the same value, and false otherwise. |
BloombergLP::ball::operator== | Return true if the specified lhs and rhs objects have the same value, and false otherwise. |
| Name | Description |
|---|---|
operator!= | Return true if the specified lhs and rhs objects do not have the same value, and false otherwise. |
operator== | Return true if the specified lhs and rhs objects have the same value, and false otherwise. |