This struct holds information about an enumerator. Its data members are public by design so that instances may be statically initialized.
Declared in <bdlat_enumeratorinfo.h>
struct bdlat_EnumeratorInfo;
| 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. |
| 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. |
| 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. |