Overview

IR attribute definition class for ABI security, which is used to define the attribute specifications (attribute name, attribute type, data type, and default value) of a node.

Header Files to Be Included

1
#include "compliant_node_builder.h"

Public Member Functions

IrAttrDefV2()
IrAttrDefV2(const char_t *attr_name, IrAttrType ir_attr_type, const char_t *attr_data_type, const AttrValue &attr_default_value)
~IrAttrDefV2()
IrAttrDefV2(const IrAttrDefV2 &other)
IrAttrDefV2 &operator=(const IrAttrDefV2 &other)
IrAttrDefV2(IrAttrDefV2 &&other) noexcept
IrAttrDefV2 &operator=(IrAttrDefV2 &&other) noexcept

IrAttrDefV2 &AttrName(const char_t *attr_name)
IrAttrDefV2 &AttrType(IrAttrType ir_attr_type)
IrAttrDefV2 &AttrDataType(const char_t *attr_data_type)
IrAttrDefV2 &DefaultValue(const AttrValue &attr_default_value)

const char_t *GetAttrName() const
IrAttrType GetAttrType() const
const char_t *GetAttrDataType() const
const AttrValue &GetDefaultValue() const