8#ifndef INCLUDED_BALM_CATEGORY
9#define INCLUDED_BALM_CATEGORY
12BSLS_IDENT(
"$Id: balm_category.h,v 1.4 2008/04/16 20:00:49 hversche Exp $")
127#include <balscm_version.h>
131#include <bsl_iosfwd.h>
154 const char *d_name_p;
172 explicit Category(
const char *
name,
bool enabledFlag =
true);
209 const char *
name()
const;
224 bsl::ostream&
print(bsl::ostream& stream)
const;
318Category::Category(
const char *name,
bool enabledFlag)
320, d_enabled(enabledFlag)
398 return rhs.print(stream);
Definition balm_category.h:257
CategoryHolder * next() const
Definition balm_category.h:388
const Category * category() const
Definition balm_category.h:376
void setEnabled(bool enabledFlag)
Definition balm_category.h:363
bool enabled() const
Definition balm_category.h:382
CategoryHolder * d_next_p
Definition balm_category.h:267
void setNext(CategoryHolder *holder)
Set this holder to point to the specified holder.
Definition balm_category.h:369
const Category * d_category_p
Definition balm_category.h:266
bool d_enabled
Definition balm_category.h:265
void setCategory(const Category *category)
Definition balm_category.h:357
Definition balm_category.h:151
void setName(const char *name)
Definition balm_category.h:327
void registerCategoryHolder(CategoryHolder *holder)
~Category()
Destroy this category object.
const char * name() const
Definition balm_category.h:334
bsl::ostream & print(bsl::ostream &stream) const
bool enabled() const
Definition balm_category.h:340
const bsls::AtomicInt & isEnabledRaw() const
Definition balm_category.h:346
void setEnabled(bool enabledFlag)
Definition bsls_atomic.h:743
#define BSLS_IDENT(str)
Definition bsls_ident.h:195
Definition balm_bdlmmetricsadapter.h:141
bsl::ostream & operator<<(bsl::ostream &stream, const Category &rhs)