17#ifndef INCLUDED_BMQT_HOSTHEALTHSTATE
18#define INCLUDED_BMQT_HOSTHEALTHSTATE
34#include <bsl_iosfwd.h>
35#include <bsl_string.h>
63 static bsl::ostream&
print(bsl::ostream& stream,
66 int spacesPerLevel = 4);
83 const bslstl::StringRef& str);
106 return HostHealthState::print(stream, value, 0, -1);
bsl::ostream & operator<<(bsl::ostream &stream, CompressionAlgorithmType::Enum value)
Definition bmqt_compressionalgorithmtype.h:141
Definition bmqa_abstractsession.h:42
Enumeration for host health states.
Definition bmqt_hosthealthstate.h:45
Enum
Definition bmqt_hosthealthstate.h:47
@ e_HEALTHY
Definition bmqt_hosthealthstate.h:47
@ e_UNKNOWN
Definition bmqt_hosthealthstate.h:47
@ e_UNHEALTHY
Definition bmqt_hosthealthstate.h:47
static bool fromAscii(HostHealthState::Enum *out, const bslstl::StringRef &str)
static bsl::ostream & print(bsl::ostream &stream, HostHealthState::Enum value, int level=0, int spacesPerLevel=4)
static const char * toAscii(HostHealthState::Enum value)