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

Name

Description

annotation

annotation overloads

name

name overloads

nameLength

nameLength overloads

value

value overloads

operator BloombergLP::bslmf::NestedTraitDeclaration<bdlat_EnumeratorInfo, is_trivially_default_constructible>

bdlat_EnumeratorInfo is trivially copyable.

Data Members

Name

Description

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

Name

Description

operator!=

Return true if the specified lhs and rhs enumerator info objects do not have the same value, and false otherwise. Two enumerator info objects do not have the same value if at least one of their respective properties is not identical.

operator==

Return true if the specified lhs and rhs enumerator info objects have the same value, and false otherwise. Two enumerator info objects have the same value if each of their respective properties are identical.

Created with MrDocs