pe_factory_vdatum_codelist |
Creates a list of predefined vertical datum codes.
int *pe_factory_vdatum_codelist (int *num_codes);
num_codes | A pointer to the integer, which upon return will contain the number of predefined vertical coordinate system object codes in the array |
Creates a list of the predefined vertical datum codes. The list will not include any user-defined vertical datums. You can use pe_predefined_vdatum to return a table of vertical datums that includes user-defined vertical datums.
On success, an array of vertical datum codes. On failure, a null pointer.
int *list;
int number, i;
list = pe_factory_vdatum_codelist(&number);
printf("Total number of predefined vertical datums: %6d\n",number);
for (i=0; i<number; i++)
{ printf("%6d\n",list[i]);
}
pe_factory_codelist_del(list);