pe_factory_verttran_codelist

Creates a list of predefined vertical tranformation codes

Usage syntax

int *pe_factory_verttran_codelist (int *num_codes);

Parameters
num_codes A pointer to the integer, which upon return, will contain the number of predefined vertical transformation object codes in the array
Description

Pe_factory_vettran_codelist creates a list of the predefined vertical tranformation codes. The list will not include any user-defined vertical transformations. You can use pe_predefined_verttran to return a table of vertical transformations that includes user-defined vertical transformations.

Returns

On success, returns an array of vertical tranformation codes; on failure, returns a null pointer

Examples

int *list; int number, i;
list = pe_factory_verttran_codelist(&number);
printf("Total number of predefined vertical tranformations: %6d\n",number);
for (i=0; i<number; i++)
{ printf("%6d\n",list[i]); }
pe_factory_codelist_del(list);