Oma_Ot_Writer_Table_Remove()
Abstract
Removes a specified table from an OT file.
Syntax
Oma_Ot_Writer_Table_Remove (ot_writer_ptr, report_name, obj_path, category_and_table_name)
| Argument | Type | Description |
|---|---|---|
ot_writer_ptr |
OmaT_Ot_Writer * |
OT writer of interest. |
report_name |
const char * |
Report name for the requested table. |
obj_path |
const char * |
Hierarchical object path for the requested table, or PRGC_NIL for a global table. |
category_and_table_name |
const char * |
Hierarchical table name for the requested table. |
Return Type
PrgC_Compcode
PrgC_Compcode_Success if the table was removed; PrgC_Compcode_Failure otherwise.
Header
oma_ot.h
Details
This function searches the tables in the OT file associated with the specified writer and looks for one that matches the specified criteria (report_name, obj_path, and category_and_table_name). If found, the table is removed from the file.