Quick Links:

bal | bbl | bdl | bsl

Public Member Functions | Public Attributes

bdlat_AttributeInfo Struct Reference
[Component bdlat_attributeinfo]

container for attribute information More...

#include <bdlat_attributeinfo.h>

List of all members.

Public Member Functions

 BSLMF_NESTED_TRAIT_DECLARATION (bdlat_AttributeInfo, bsl::is_trivially_copyable)
 BSLMF_NESTED_TRAIT_DECLARATION (bdlat_AttributeInfo, bsl::is_trivially_default_constructible)
const char *& annotation ()
int & formattingMode ()
int & id ()
const char *& name ()
int & nameLength ()
BSLS_KEYWORD_CONSTEXPR const char * annotation () const
BSLS_KEYWORD_CONSTEXPR int formattingMode () const
BSLS_KEYWORD_CONSTEXPR int id () const
BSLS_KEYWORD_CONSTEXPR const char * name () const
BSLS_KEYWORD_CONSTEXPR int nameLength () const

Public Attributes

int d_id
const char * d_name_p
int d_nameLength
const char * d_annotation_p
int d_formattingMode

Detailed Description

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

See Component bdlat_attributeinfo


Member Function Documentation

bdlat_AttributeInfo::BSLMF_NESTED_TRAIT_DECLARATION ( bdlat_AttributeInfo  ,
bsl::is_trivially_copyable   
)
bdlat_AttributeInfo::BSLMF_NESTED_TRAIT_DECLARATION ( bdlat_AttributeInfo  ,
bsl::is_trivially_default_constructible   
)
const char*& bdlat_AttributeInfo::annotation (  ) 

Return a reference to the modifiable annotation of this attribute info object.

int& bdlat_AttributeInfo::formattingMode (  ) 

Return a reference to the modifiable formatting mode of this attribute info object.

int& bdlat_AttributeInfo::id (  ) 

Return a reference to the modifiable id of this attribute info object.

const char*& bdlat_AttributeInfo::name (  ) 

Return a reference to the modifiable name of this attribute info object.

int& bdlat_AttributeInfo::nameLength (  ) 

Return a reference to the modifiable length of the name of this attribute info object. Note that the 0-terminator is not included in the length.

BSLS_KEYWORD_CONSTEXPR const char* bdlat_AttributeInfo::annotation (  )  const

Return the non-modifiable annotation of this attribute info object.

BSLS_KEYWORD_CONSTEXPR int bdlat_AttributeInfo::formattingMode (  )  const

Return the formatting mode of this attribute info object.

BSLS_KEYWORD_CONSTEXPR int bdlat_AttributeInfo::id (  )  const

Return the id of this attribute info object.

BSLS_KEYWORD_CONSTEXPR const char* bdlat_AttributeInfo::name (  )  const

Return the non-modifiable name of this attribute info object.

BSLS_KEYWORD_CONSTEXPR int bdlat_AttributeInfo::nameLength (  )  const

Return the length of the name of this attribute info object. Note that the 0-terminator is not included in the length.


Member Data Documentation

distinct id of attribute

name of attribute

length of attribute name (0-terminator

attribute annotation

formatting mode


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