Ets_Obj_Type_Parent_Get()
Abstract
Obtains the immediate parent class of a specified object type.
Syntax
Ets_Obj_Type_Get (derived_type)
| Argument | Type | Description |
|---|---|---|
derived_type |
EtsT_Obj_Type |
Object type of interest. Symbolic constants for valid object types are listed in Table 33 General Sub-Package Symbolic Constants. |
Return Type
EtsT_Obj_Type
Immediate parent class of derived_type, or EtsC_Obj_Type_Invalid if no parent class exists.
Header
ets_api_obj.h
Details
This function returns the immediate parent class of derived_type. For example,
Ets_Obj_Type_Parent_Get (EtsC_Obj_Type_Node_Fix)
returns EtsC_Obj_Mtype_Node, because the node "metatype" class is the parent class of the class of fixed nodes.