BDE 4.14.0 Production release
|
#include <bdlat_enumeratorinfo.h>
Public Member Functions | |
BSLMF_NESTED_TRAIT_DECLARATION (bdlat_EnumeratorInfo, bsl::is_trivially_copyable) | |
BSLMF_NESTED_TRAIT_DECLARATION (bdlat_EnumeratorInfo, bsl::is_trivially_default_constructible) | |
const char *& | annotation () |
const char *& | name () |
int & | nameLength () |
int & | value () |
BSLS_KEYWORD_CONSTEXPR const char * | annotation () const |
Return the non-modifiable annotation of this enumerator info object. | |
BSLS_KEYWORD_CONSTEXPR const char * | name () const |
Return the non-modifiable name of this enumerator info object. | |
BSLS_KEYWORD_CONSTEXPR int | nameLength () const |
BSLS_KEYWORD_CONSTEXPR int | value () const |
Return the index of this enumerator info object. | |
Public Attributes | |
int | d_value |
const char * | d_name_p |
int | d_nameLength |
const char * | d_annotation_p |
This struct
holds information about an enumerator. Its data members are public
by design so that instances may be statically initialized.
bdlat_EnumeratorInfo::BSLMF_NESTED_TRAIT_DECLARATION | ( | bdlat_EnumeratorInfo | , |
bsl::is_trivially_copyable | |||
) |
bdlat_EnumeratorInfo::BSLMF_NESTED_TRAIT_DECLARATION | ( | bdlat_EnumeratorInfo | , |
bsl::is_trivially_default_constructible | |||
) |
const char* bdlat_EnumeratorInfo::d_annotation_p |
const char* bdlat_EnumeratorInfo::d_name_p |
int bdlat_EnumeratorInfo::d_nameLength |
int bdlat_EnumeratorInfo::d_value |