tmm_all_propagation_spec_names_list_get()
Note: Requires Terrain Modeling Module functionality
Abstract
Obtains a list of the names of all defined propagation specifications.
Syntax
tmm_all_propagation_spec_names_list_get ()
| Argument | Type | Description |
|---|---|---|
| no arguments |
Return Value
PrgT_List *
List of names of all defined propagation specifications.
Header
tmm.h
Example
PrgT_List * tlptr;
PrgT_List_Cell * cell_ptr;
/* print list of available propagation specifications */
tlptr = tmm_all_propagation_spec_names_list_get();
for (cell_ptr = prg_list_head_cell_get (tlptr); cell_ptr; cell_ptr = prg_list_cell_next_get (cell_ptr))
{
const char * name = (const char *) prg_list_cell_data_get (cell_ptr);
printf ("%s: ", name);
}
prg_list_destroy (tlptr, TRUE);
Details
The returned list must be deallocated by the caller with prg_list_destroy (list_ptr, TRUE).
Purpose
Provides access to a list of all defined propagation specifications. Note that some propagation specifications might include licensed models that will not be usable if no license is available.
Errors
- None
Reference
- None