BDE 4.39.x Production Release
Loading...
Searching...
No Matches
bdlat_EnumeratorInfo Struct Reference

#include <bdlat_enumeratorinfo.h>

Detailed Description

This struct holds information about an enumerator. Its data members are public by design so that instances may be statically initialized.

See bdlat_enumeratorinfo

Public Member Functions

 BSLMF_NESTED_TRAIT_DECLARATION (bdlat_EnumeratorInfo, bsl::is_trivially_copyable)
 
 BSLMF_NESTED_TRAIT_DECLARATION (bdlat_EnumeratorInfo, bsl::is_trivially_default_constructible)
 
 bdlat_EnumeratorInfo ()=default
 
 bdlat_EnumeratorInfo (const bdlat_EnumeratorInfo &original)=default
 
 ~bdlat_EnumeratorInfo ()=default
 
bdlat_EnumeratorInfooperator= (const bdlat_EnumeratorInfo &rhs)
 
const char *& annotation ()
 
const char *& name ()
 
int & nameLength ()
 
int & value ()
 
BSLS_KEYWORD_CONSTEXPR const char * annotation () const
 
BSLS_KEYWORD_CONSTEXPR const char * name () const
 
BSLS_KEYWORD_CONSTEXPR int nameLength () const
 
BSLS_KEYWORD_CONSTEXPR int value () const
 

Public Attributes

int d_value
 
const char * d_name_p
 
int d_nameLength
 
const char * d_annotation_p
 

Constructor & Destructor Documentation

◆ bdlat_EnumeratorInfo() [1/2]

bdlat_EnumeratorInfo::bdlat_EnumeratorInfo ( )
default

Compiler-generated methods.

◆ bdlat_EnumeratorInfo() [2/2]

bdlat_EnumeratorInfo::bdlat_EnumeratorInfo ( const bdlat_EnumeratorInfo original)
default

◆ ~bdlat_EnumeratorInfo()

bdlat_EnumeratorInfo::~bdlat_EnumeratorInfo ( )
default

Member Function Documentation

◆ BSLMF_NESTED_TRAIT_DECLARATION() [1/2]

bdlat_EnumeratorInfo::BSLMF_NESTED_TRAIT_DECLARATION ( bdlat_EnumeratorInfo  ,
bsl::is_trivially_copyable   
)

◆ BSLMF_NESTED_TRAIT_DECLARATION() [2/2]

bdlat_EnumeratorInfo::BSLMF_NESTED_TRAIT_DECLARATION ( bdlat_EnumeratorInfo  ,
bsl::is_trivially_default_constructible   
)

◆ operator=()

bdlat_EnumeratorInfo & bdlat_EnumeratorInfo::operator= ( const bdlat_EnumeratorInfo rhs)

Compiler-generated methods.

Member Data Documentation

◆ d_annotation_p

const char* bdlat_EnumeratorInfo::d_annotation_p

◆ d_name_p

const char* bdlat_EnumeratorInfo::d_name_p

◆ d_nameLength

int bdlat_EnumeratorInfo::d_nameLength

◆ d_value

int bdlat_EnumeratorInfo::d_value

The documentation for this struct was generated from the following file: