[#BloombergLP-bdlat_EnumeratorInfo] = xref:BloombergLP.adoc[BloombergLP]::bdlat_EnumeratorInfo :relfileprefix: ../ :mrdocs: 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>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct bdlat_EnumeratorInfo; ---- == Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdlat_EnumeratorInfo/annotation-0d.adoc[`annotation`] | `annotation` overloads | xref:BloombergLP/bdlat_EnumeratorInfo/name-0b.adoc[`name`] | `name` overloads | xref:BloombergLP/bdlat_EnumeratorInfo/nameLength-02d.adoc[`nameLength`] | `nameLength` overloads | xref:BloombergLP/bdlat_EnumeratorInfo/value-04b.adoc[`value`] | `value` overloads | xref:BloombergLP/bdlat_EnumeratorInfo/2conversion.adoc[`operator BloombergLP::bslmf::NestedTraitDeclaration<bdlat_EnumeratorInfo, is_trivially_default_constructible>`] | `bdlat_EnumeratorInfo` is trivially copyable. |=== == Data Members [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdlat_EnumeratorInfo/d_annotation_p.adoc[`d_annotation_p`] | Enumerator annotation. | xref:BloombergLP/bdlat_EnumeratorInfo/d_nameLength.adoc[`d_nameLength`] | Length of enumerator name (0‐terminator not included). | xref:BloombergLP/bdlat_EnumeratorInfo/d_name_p.adoc[`d_name_p`] | Name of enumerator. | xref:BloombergLP/bdlat_EnumeratorInfo/d_value.adoc[`d_value`] | Value of enumerator. |=== == Non-Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/operator_not_eq-05.adoc[`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. | xref:BloombergLP/operator_eq-0f.adoc[`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. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#