Oma_Ot_Writer_Template_Remove()
Abstract
Removes a template associated with a writer.
Syntax
Oma_Ot_Writer_Template_Remove (ot_writer_ptr, template_ptr, template_remove_options)
| Argument | Type | Description |
|---|---|---|
ot_writer_ptr |
OmaT_Ot_Writer * |
OT writer of interest. |
template_ptr |
OmaT_Ot_Template * |
Template to be removed. |
template_remove_options |
int |
Removal options. |
Return Type
PrgC_Compcode
PrgC_Compcode_Success if the template was removed; PrgC_Compcode_Failure otherwise.
Header
oma_ot.h
Details
template_remove_options must be some OR’d combination of the following symbolic constants:
OMAC_OT_TEMPLATE_REMOVE_OPT_NONE—remove the template, but leave associated tables, if any, with private templatesOMAC_OT_TEMPLATE_REMOVE_OPT_IF_NO_TABLES—remove the template only if no tables currently reference itOMAC_OT_TEMPLATE_REMOVE_OPT_REMOVE_TABLES—remove the template and any referencing tables