8#ifndef INCLUDED_BALL_SCOPEDATTRIBUTE
9#define INCLUDED_BALL_SCOPEDATTRIBUTE
108#include <bsl_iosfwd.h>
109#include <bsl_string.h>
171 unsigned long long value,
206 int spacesPerLevel = 4)
274 unsigned long long value,
310ScopedAttribute_Container::ScopedAttribute_Container(
314: d_attribute(name, value, allocator)
319ScopedAttribute_Container::ScopedAttribute_Container(
323: d_attribute(name, static_cast<
bsl::string>(value), allocator)
328ScopedAttribute_Container::ScopedAttribute_Container(
332: d_attribute(name, value, allocator)
337ScopedAttribute_Container::ScopedAttribute_Container(
341: d_attribute(name, value, allocator)
346ScopedAttribute_Container::ScopedAttribute_Container(
350: d_attribute(name, value, allocator)
355ScopedAttribute_Container::ScopedAttribute_Container(
359: d_attribute(name, value, allocator)
364ScopedAttribute_Container::ScopedAttribute_Container(
368: d_attribute(name, value, allocator)
373ScopedAttribute_Container::ScopedAttribute_Container(
375 unsigned long long value,
377: d_attribute(name, value, allocator)
382ScopedAttribute_Container::ScopedAttribute_Container(
386: d_attribute(name, value, allocator)
391ScopedAttribute_Container::ScopedAttribute_Container(
395: d_attribute(name, value, allocator)
403 return d_attribute == attribute;
410 visitor(d_attribute);
428ScopedAttribute::ScopedAttribute(
const char *name,
431: d_container(name, value, allocator)
437ScopedAttribute::ScopedAttribute(
const char *name,
440: d_container(name, value, allocator)
446ScopedAttribute::ScopedAttribute(
const char *name,
449: d_container(name, value, allocator)
455ScopedAttribute::ScopedAttribute(
const char *name,
458: d_container(name, value, allocator)
464ScopedAttribute::ScopedAttribute(
const char *name,
467: d_container(name, value, allocator)
473ScopedAttribute::ScopedAttribute(
const char *name,
476: d_container(name, value, allocator)
482ScopedAttribute::ScopedAttribute(
const char *name,
485: d_container(name, value, allocator)
491ScopedAttribute::ScopedAttribute(
const char *name,
492 unsigned long long value,
494: d_container(name, value, allocator)
500ScopedAttribute::ScopedAttribute(
const char *name,
503: d_container(name, value, allocator)
509ScopedAttribute::ScopedAttribute(
const char *name,
512: d_container(name, value, allocator)
Definition ball_attributecontainerlist.h:168
Definition ball_attributecontainer.h:426
Definition ball_attributecontext.h:520
static AttributeContext * getContext()
void removeAttributes(iterator element)
Definition ball_attributecontext.h:811
Definition ball_attribute.h:198
allocator_type get_allocator() const
Definition ball_attribute.h:657
Definition ball_scopedattribute.h:122
bsl::ostream & print(bsl::ostream &stream, int level=0, int spacesPerLevel=4) const BSLS_KEYWORD_OVERRIDE
~ScopedAttribute_Container() BSLS_KEYWORD_OVERRIDE
Destroy this object.
bsl::allocator< char > allocator_type
Definition ball_scopedattribute.h:133
void visitAttributes(const bsl::function< void(const Attribute &)> &visitor) const BSLS_KEYWORD_OVERRIDE
Definition ball_scopedattribute.h:407
BSLMF_NESTED_TRAIT_DECLARATION(ScopedAttribute_Container, bslma::UsesBslmaAllocator)
bool hasValue(const Attribute &attribute) const BSLS_KEYWORD_OVERRIDE
Definition ball_scopedattribute.h:401
allocator_type get_allocator() const
Definition ball_scopedattribute.h:417
Definition ball_scopedattribute.h:230
~ScopedAttribute()
Definition ball_scopedattribute.h:518
allocator_type get_allocator() const
Definition ball_scopedattribute.h:529
bsl::allocator< char > allocator_type
Definition ball_scopedattribute.h:244
BSLMF_NESTED_TRAIT_DECLARATION(ScopedAttribute, bslma::UsesBslmaAllocator)
Definition bdlb_guid.h:201
Definition bslma_bslallocator.h:580
Definition bslstl_stringview.h:441
Forward declaration.
Definition bslstl_function.h:934
#define BSLS_KEYWORD_OVERRIDE
Definition bsls_keyword.h:653
Definition ball_administration.h:214
Definition bdlb_printmethods.h:283
Definition bslma_usesbslmaallocator.h:343