Init
Description
Initializes a Scope object.
Prototype
APIs taking string arguments will be deprecated in future releases. Use APIs taking non-string arguments instead.
Status Init(const std::string &name, const std::string &sub_type = "", Scope *father_scope = nullptr); Status Init(const char_t *name, const char_t *sub_type, Scope *father_scope = nullptr);
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
name |
Input |
Scope name |
sub_type |
Input |
Scope subtype name |
father_scope |
Input |
Pointer to the parent scope |
Returns
None
Restrictions
None
Parent topic: Class Scope