ocssw
V2022
|
Functions | |
epr_uint | epr_get_num_datasets (EPR_SProductId *product_id) |
EPR_SDatasetId * | epr_get_dataset_id_at (EPR_SProductId *product_id, epr_uint index) |
EPR_SDatasetId * | epr_get_dataset_id (EPR_SProductId *product_id, const char *dataset_name) |
const char * | epr_get_dataset_name (EPR_SDatasetId *dataset_id) |
const char * | epr_get_dsd_name (const EPR_SDatasetId *dataset_id) |
EPR_SRecord * | epr_get_mph (const EPR_SProductId *product_id) |
EPR_SRecord * | epr_get_sph (const EPR_SProductId *product_id) |
const EPR_SDSD * | epr_get_dsd (const EPR_SDatasetId *dataset_id) |
epr_uint | epr_get_num_records (const EPR_SDatasetId *dataset_id) |
epr_uint | epr_get_num_dsds (const EPR_SProductId *product_id) |
EPR_SDSD * | epr_get_dsd_at (const EPR_SProductId *product_id, epr_uint dsd_index) |
Detailed Description
Function Documentation
◆ epr_get_dataset_id()
EPR_SDatasetId* epr_get_dataset_id | ( | EPR_SProductId * | product_id, |
const char * | dataset_name | ||
) |
◆ epr_get_dataset_id_at()
EPR_SDatasetId* epr_get_dataset_id_at | ( | EPR_SProductId * | product_id, |
epr_uint | index | ||
) |
◆ epr_get_dataset_name()
const char* epr_get_dataset_name | ( | EPR_SDatasetId * | dataset_id | ) |
Gets the name of the dataset for the given dataset ID.
- Parameters
-
dataset_id the dataset identifier, must not be NULL
- Returns
- the name of the dataset.
Definition at line 172 of file epr_dataset.c.
◆ epr_get_dsd()
Gets the dataset descriptor (DSD) for the dataset specified by dataset_id
.
- Parameters
-
dataset_id the dataset identifier, must not be NULL
- Returns
- the pointer at the dsd or
NULL
if an error occured.
Definition at line 196 of file epr_dataset.c.
◆ epr_get_dsd_at()
◆ epr_get_dsd_name()
Gets the name of the dsd for the given dataset ID.
- Parameters
-
dataset_id the dataset identifier, must not be NULL
- Returns
- the name of the dsd.
Definition at line 208 of file epr_dataset.c.
◆ epr_get_mph()
EPR_SRecord* epr_get_mph | ( | const EPR_SProductId * | product_id | ) |
Gets the MPH record from the given product_id
.
- Parameters
-
product_id the product identifier, must not be NULL
- Returns
- the MPH record or
NULL
if an error occured.
Definition at line 399 of file epr_product.c.
◆ epr_get_num_datasets()
epr_uint epr_get_num_datasets | ( | EPR_SProductId * | product_id | ) |
◆ epr_get_num_dsds()
◆ epr_get_num_records()
Gets the number of records of the dataset specified by dataset_id
.
- Parameters
-
dataset_id the dataset identifier, must not be NULL
- Returns
- the number of records or
0
if an error occured.
Definition at line 184 of file epr_dataset.c.
◆ epr_get_sph()
EPR_SRecord* epr_get_sph | ( | const EPR_SProductId * | product_id | ) |
Gets the SPH record from the given product_id
.
- Parameters
-
product_id the product identifier, must not be NULL
- Returns
- the SPH record or
NULL
if an error occured.
Definition at line 388 of file epr_product.c.