Constructor
Description
Provides the default constructor as well as the constructor that initializes two data members with specified information.
Prototype
AnchorInstanceInfo()
AnchorInstanceInfo(const uint32_t instance_start, const uint32_t instantiation_num)
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
instance_start |
Input |
Specifies instance_start_ of the object. |
instantiation_num |
Input |
Specifies instantiation_num_ of the object. |
Returns
An AnchorInstanceInfo object
Restrictions
None
Example
AnchorInstanceInfo anchor_0(0, 10); // The first input defined by the IR is a dynamic input, and there are 10 actual inputs.
Parent topic: AnchorInstanceInfo