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

Synopsis

Declared in <bdlat_attributeinfo.h>

struct bdlat_AttributeInfo;

Member Functions

Name

Description

annotation

annotation overloads

formattingMode

formattingMode overloads

id

id overloads

name

name overloads

nameLength

nameLength overloads

operator BloombergLP::bslmf::NestedTraitDeclaration<bdlat_AttributeInfo, is_trivially_default_constructible>

bdlat_AttributeInfo is trivially copyable.

Data Members

Name

Description

d_annotation_p

Attribute annotation.

d_formattingMode

Formatting mode for attribute.

d_id

Distinct id of attribute.

d_nameLength

Length of attribute name (0‐terminator not included).

d_name_p

Name of attribute.

Non-Member Functions

Name

Description

operator!=

Return true if the specified lhs and rhs attribute info objects do not have the same value, and false otherwise. Two attribute 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 attribute info objects have the same value, and false otherwise. Two attribute info objects have the same value if each of their respective properties are identical.

Created with MrDocs