8#ifndef INCLUDED_BALL_SCOPEDATTRIBUTE
9#define INCLUDED_BALL_SCOPEDATTRIBUTE
108#include <bsl_iosfwd.h>
109#include <bsl_string.h>
176 unsigned long long value,
205 bsl::ostream& print(
bsl::ostream& stream,
207 int spacesPerLevel = 4)
282 unsigned long long value,
314ScopedAttribute_Container::ScopedAttribute_Container(
318: d_attribute(name, value, allocator)
323ScopedAttribute_Container::ScopedAttribute_Container(
327: d_attribute(name, static_cast<
bsl::string>(value), allocator)
332ScopedAttribute_Container::ScopedAttribute_Container(
336: d_attribute(name, value, allocator)
341ScopedAttribute_Container::ScopedAttribute_Container(
345: d_attribute(name, value, allocator)
350ScopedAttribute_Container::ScopedAttribute_Container(
354: d_attribute(name, value, allocator)
359ScopedAttribute_Container::ScopedAttribute_Container(
363: d_attribute(name, value, allocator)
368ScopedAttribute_Container::ScopedAttribute_Container(
372: d_attribute(name, value, allocator)
377ScopedAttribute_Container::ScopedAttribute_Container(
379 unsigned long long value,
381: d_attribute(name, value, allocator)
386ScopedAttribute_Container::ScopedAttribute_Container(
390: d_attribute(name, value, allocator)
395ScopedAttribute_Container::ScopedAttribute_Container(
399: d_attribute(name, value, allocator)
407 return d_attribute == attribute;
414 visitor(d_attribute);
432ScopedAttribute::ScopedAttribute(
const char *name,
435: d_container(name, value, allocator)
441ScopedAttribute::ScopedAttribute(
const char *name,
444: d_container(name, value, allocator)
450ScopedAttribute::ScopedAttribute(
const char *name,
453: d_container(name, value, allocator)
459ScopedAttribute::ScopedAttribute(
const char *name,
462: d_container(name, value, allocator)
468ScopedAttribute::ScopedAttribute(
const char *name,
471: d_container(name, value, allocator)
477ScopedAttribute::ScopedAttribute(
const char *name,
480: d_container(name, value, allocator)
486ScopedAttribute::ScopedAttribute(
const char *name,
489: d_container(name, value, allocator)
495ScopedAttribute::ScopedAttribute(
const char *name,
496 unsigned long long value,
498: d_container(name, value, allocator)
504ScopedAttribute::ScopedAttribute(
const char *name,
507: d_container(name, value, allocator)
513ScopedAttribute::ScopedAttribute(
const char *name,
516: d_container(name, value, allocator)
Definition ball_attributecontainerlist.h:168
Definition ball_attributecontainer.h:426
Definition ball_attributecontext.h:526
static AttributeContext * getContext()
void removeAttributes(iterator element)
Definition ball_attributecontext.h:834
Definition ball_attribute.h:199
allocator_type get_allocator() const
Definition ball_attribute.h:659
Definition ball_scopedattribute.h:122
~ScopedAttribute_Container() BSLS_KEYWORD_OVERRIDE
Destroy this object.
bsl::allocator< char > allocator_type
Definition ball_scopedattribute.h:134
void visitAttributes(const bsl::function< void(const Attribute &)> &visitor) const BSLS_KEYWORD_OVERRIDE
Definition ball_scopedattribute.h:411
BSLMF_NESTED_TRAIT_DECLARATION(ScopedAttribute_Container, bslma::UsesBslmaAllocator)
bool hasValue(const Attribute &attribute) const BSLS_KEYWORD_OVERRIDE
Definition ball_scopedattribute.h:405
allocator_type get_allocator() const
Definition ball_scopedattribute.h:421
Definition ball_scopedattribute.h:232
~ScopedAttribute()
Definition ball_scopedattribute.h:522
allocator_type get_allocator() const
Definition ball_scopedattribute.h:533
bsl::allocator< char > allocator_type
Definition ball_scopedattribute.h:247
BSLMF_NESTED_TRAIT_DECLARATION(ScopedAttribute, bslma::UsesBslmaAllocator)
Definition bdlb_guid.h:201
Definition bslma_bslallocator.h:588
Definition bslstl_stringview.h:471
Forward declaration.
Definition bslstl_function.h:946
#define BSLS_KEYWORD_OVERRIDE
Definition bsls_keyword.h:695
Definition ball_administration.h:214
Definition bdlat_valuetypefunctions.h:939
Definition bslma_usesbslmaallocator.h:344