Oma_Ot_Reader_Table_Partial_Get()
Abstract
Gets a partial table specified by name, object path, and key table descriptors.
Syntax
Oma_Ot_Reader_Table_Partial_Get (ot_reader_ptr, report_name, obj_path, category_and_table_name, first_row, partial_row_count)
| Argument | Type | Description |
|---|---|---|
ot_reader_ptr |
OmaT_Ot_Reader * |
OT file reader of interest. |
report_name |
const char * |
Name of the table's report, if any. |
obj_path |
const char * |
Hierarchical object path of the desired table. |
category_and_table_name |
const char * |
Key table descriptors for the desired table. |
first_row |
int |
Index of the first table row to retrieve. |
partial_row_count |
int |
Total number of table rows to retrieve. |
Return Type
OmaT_Ot_Table *
The requested table.
Header
oma_ot.h
Details
This function works like Oma_Ot_Reader_Table_Get(), except that only part of the table cell data is read from disk. It can be significantly faster when accessing selected parts of a table, such as only template and row count attributes. When finished with the table, free it with Oma_Ot_Table_Destroy().