IrAttrDefV2 Constructor

Applicable Products

All processors

Function Usage

Constructs/Destructs an object of class IrAttrDefV2.

Prototype

1
2
3
IrAttrDefV2()
IrAttrDefV2(const char_t *attr_name, IrAttrType ir_attr_type, const char_t *attr_data_type, const AttrValue &attr_default_value)
~IrAttrDefV2()

Parameters

Parameter

Input/Output

Description

attr_name

Input

Attribute name, which identifies the name of the attribute in the operator.

ir_attr_type

Input

Attribute type, which specifies whether the attribute is required or optional.

attr_data_type

Input

Attribute data type, which specifies the data type of the attribute value.

attr_default_value

Input

Default value of an optional attribute.

Returns

Constructs and returns an IrAttrDefV2 object.

Restrictions

None