Constructor
Function Usage
Provides the default constructor as well as the constructor that initializes two data members with specified information.
Prototype
1 2 | 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
Constraints
None
Examples
1 | AnchorInstanceInfo anchor_0(0, 10); // The first input defined by the IR prototype is a dynamic input, and there are 10 actual inputs. |
Parent topic: AnchorInstanceInfo