BloombergLP::bdlat_EnumeratorInfo

This struct holds information about an enumerator. Its data members are public by design so that instances may be statically initialized.

Synopsis

Declared in <bdlat_enumeratorinfo.h>

struct bdlat_EnumeratorInfo;

Member Functions

NameDescription
annotation annotation overloads
name name overloads
nameLength nameLength overloads
value value overloads
operator BloombergLP::bslmf::NestedTraitDeclaration<bdlat_EnumeratorInfo, is_trivially_default_constructible> Declare that bdlat_EnumeratorInfo is trivially copyable.

Data Members

NameDescription
d_annotation_p Enumerator annotation.
d_nameLength Length of enumerator name (0-terminator not included).
d_name_p Name of enumerator.
d_value Value of enumerator.

Non-Member Functions

NameDescription
operator!=Return true if the specified lhs and rhs enumerator info objects do not have the same value, and false otherwise.
operator==Return true if the specified lhs and rhs enumerator info objects have the same value, and false otherwise.