|
GRASS 8 Programmer's Manual 8.6.0dev(2026)-5f4f7ad06c
|
Structure that stores option information. More...
#include <gis.h>

Data Fields | |
| const char * | key |
| int | type |
| int | required |
| int | multiple |
| const char * | options |
| const char ** | opts |
| const char * | key_desc |
| const char * | label |
| const char * | description |
| const char * | descriptions |
| const char ** | descs |
| char * | answer |
| const char * | def |
| char ** | answers |
| struct Option * | next_opt |
| const char * | gisprompt |
| const char * | guisection |
| const char * | guidependency |
| int(* | checker )(const char *) |
| int | count |
Structure that stores option information.
The descriptions member contains pairs of option and option descriptions separated by semicolon ';'. For example, when options member is set using:
the descriptions member should be set to:
"break;break lines on intersections;" "rmdupl;remove duplicates"
Parsed descriptions are stored in the same order as options.
GUI dependency is a list of options (separated by commas) to be updated if the value is changed.
Used by the G_parser() system.
Interactive prompt guidance
Definition at line 581 of file gis.h.
Referenced by G__split_gisprompt(), and M_define_option().
GUI Layout guidance: ';' delimited hierarchical tree position
Definition at line 582 of file gis.h.
Referenced by M_define_option().
Key word used on command line
Definition at line 564 of file gis.h.
Referenced by M_define_option().
| int Option::multiple |
| int Option::required |
| int Option::type |
Option type
Definition at line 565 of file gis.h.
Referenced by G__script(), M_define_option(), and Rast3d_get_standard3d_params().