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.

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.

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · Documentation compiled and provided by Beijing ZNetLink Technology Co., Ltd.

交流群 · QQ Group:OPNET/智网妙算网络仿真交流群(群号 486383494)

原文档 © 2017 Riverbed Technology · 本站为公益翻译,由 AI 辅助完成,请仔细甄别

Original documentation © 2017 Riverbed Technology. Community translation, AI-assisted. Contact: jiazequn@znetlink.com