Ets_Obj_Qualified_Hname_Get()

Abstract

Returns a hierarchical name for an object that is unique across all namespaces.

Syntax

Ets_Obj_Qualified_Hname_Get (obj_hndl)
Argument Type Description
obj_hndl EtsT_Obj_Handle Object for which to generate a qualified hierarchical name.

Return Type

char *

Fully qualified name string, or OPC_NIL if unsuccessful (for example, if the object has no valid namespace).

ets_api_obj.h

Details

This function creates a unique hierarchical name for the specified object by concatenating the object's hname with a prefix that denotes the namespace (for example, a node's qualified name might be Node.top.subnet_0.node_1). The prefix used is the same string returned by Ets_Obj_Type_Namespace_Get().

The returned string is owned by the caller and should be destroyed with prg_string_free() when no longer needed.

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · 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