GRASS GIS 8 Programmer's Manual
8.5.0dev(2024)-36359e2344
|
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <grass/glocale.h>
#include <grass/N_pde.h>
Go to the source code of this file.
Functions | |
struct Option * | N_define_standard_option (int opt) |
Create standardised Option structure related to the gpde library. More... | |
struct Option* N_define_standard_option | ( | int | opt | ) |
Create standardised Option structure related to the gpde library.
This function will create a standardised Option structure defined by parameter opt. A list of valid parameters can be found in N_pde.h. It allocates memory for the Option structure and returns a pointer to this memory (of type struct Option *).
If an invalid parameter was specified an empty Option structure will be returned (not NULL).
This function is related to the gpde library, general standard options can be found in lib/gis/parser.c. These options are set with G_define_standard_option ();
[in] | opt | Type of Option struct to create |
Definition at line 42 of file n_parse_options.c.
References _, Option::answer, Option::description, G_define_option(), Option::guisection, Option::key, Option::key_desc, N_OPT_CALC_TIME, N_OPT_ITERATION_ERROR, N_OPT_MAX_ITERATIONS, N_OPT_SOLVER_SYMM, N_OPT_SOLVER_UNSYMM, N_OPT_SOR_VALUE, NO, Option::options, Option::required, Option::type, TYPE_DOUBLE, TYPE_INTEGER, TYPE_STRING, and YES.