Struct SAttributeValue#

Struct Documentation#

struct SAttributeValue#

Attribute value.

Public Functions

SAttributeValue(TAttributeDefPtr &ptrAttrDefParam)#

Constructor.

Parameters:

ptrAttrDefParam[in] Reference to the attribute definition.

~SAttributeValue()#

Destructor.

SAttributeValue(const SAttributeValue &rAttrVal)#

Copy constructor.

Parameters:

rAttrVal[in] Reference to the attribute value to copy from.

SAttributeValue(SAttributeValue &&rAttrVal)#

Move constructor.

Parameters:

rAttrVal[in] Reference to the attribute value to move from.

SAttributeValue &operator=(const SAttributeValue &rAttrVal)#

Assignment operator.

Parameters:

rAttrVal[in] Reference to the attribute value to assign from.

Returns:

Reference to this attribute value.

SAttributeValue &operator=(SAttributeValue &&rAttrVal)#

Move operator.

Parameters:

rAttrVal[in] Reference to the attribute value to move from.

Returns:

Reference to this attribute value.

Public Members

TAttributeDefPtr ptrAttrDef#

Shared pointer to the attribute definition.

int32_t iValue#

Value for integer attribute.

uint32_t uiValue#

Value for hexadecimal attribute.

double dValue#

Value for floating point attribute.

std::string ssValue#

Value for string and enumerator attribute.

union dbc::SAttributeValue

Unnamed union based on the attribute definition type.