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>

Declare that 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.

operator==

Return true if the specified lhs and rhs enumerator info objects have the same value, and false otherwise.

Created with MrDocs