8#ifndef INCLUDED_BALL_ATTRIBUTECOLLECTORREGISTRY
9#define INCLUDED_BALL_ATTRIBUTECOLLECTORREGISTRY
150#include <balscm_version.h>
164#include <bsl_functional.h>
165#include <bsl_memory.h>
166#include <bsl_string.h>
167#include <bsl_utility.h>
168#include <bsl_vector.h>
231#ifdef BSLS_COMPILERFEATURES_SUPPORT_DEFAULTED_FUNCTIONS
294: d_collectors(allocator)
Definition ball_attributecollectorregistry.h:182
int addCollector(const Collector &collector, const bsl::string_view &name)
bsl::function< void(const Visitor &)> Collector
Definition ball_attributecollectorregistry.h:192
bsl::function< void(const ball::Attribute &)> Visitor
Visitor is the type of a user-supplied visit functor.
Definition ball_attributecollectorregistry.h:188
int numCollectors() const
BSLMF_NESTED_TRAIT_DECLARATION(AttributeCollectorRegistry, bslma::UsesBslmaAllocator)
AttributeCollectorRegistry()
Definition ball_attributecollectorregistry.h:286
allocator_type get_allocator() const
Definition ball_attributecollectorregistry.h:301
int removeCollector(const bsl::string_view &name)
void collect(const Visitor &visitor) const
bsl::allocator< char > allocator_type
This typedef is an alias for the allocator used by this object.
Definition ball_attributecollectorregistry.h:195
bool hasCollector(const bsl::string_view &name) const
void removeAll()
Remove all collectors from this registry.
Definition ball_attribute.h:198
Definition bslma_bslallocator.h:580
Definition bslstl_stringview.h:441
Forward declaration.
Definition bslstl_function.h:934
Definition bslstl_pair.h:1210
Definition bslstl_vector.h:1025
allocator_type get_allocator() const BSLS_KEYWORD_NOEXCEPT
Definition bslstl_vector.h:4019
Definition bslmt_readerwritermutex.h:244
#define BSLS_IDENT(str)
Definition bsls_ident.h:195
Definition ball_administration.h:214
Definition bslma_usesbslmaallocator.h:343