Oma_Ot_Writer_Template_Remove()

摘要

移除与 writer 关联的模板。

语法

Oma_Ot_Writer_Template_Remove (ot_writer_ptr, template_ptr, template_remove_options)
参数 类型 说明
ot_writer_ptr OmaT_Ot_Writer * 所关注的 OT writer。
template_ptr OmaT_Ot_Template * 要移除的模板。
template_remove_options int 移除选项。

返回类型

PrgC_Compcode

如果成功移除该模板,返回 PrgC_Compcode_Success;否则返回 PrgC_Compcode_Failure。

头文件

oma_ot.h

详情

template_remove_options 必须是以下符号常量按位 OR 的某种组合:

  • OMAC_OT_TEMPLATE_REMOVE_OPT_NONE——移除模板,但保留其关联的表(如有),这些表将带有私有模板
  • OMAC_OT_TEMPLATE_REMOVE_OPT_IF_NO_TABLES——仅当当前没有表引用该模板时才移除
  • OMAC_OT_TEMPLATE_REMOVE_OPT_REMOVE_TABLES——移除该模板及所有引用它的表

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