GRASS GIS 8 Programmer's Manual  8.5.0dev(2024)-36359e2344
Flag Struct Reference

Structure that stores flag info. More...

#include <gis.h>

Collaboration diagram for Flag:

Data Fields

char key
 
char answer
 
char suppress_required
 
char suppress_overwrite
 
const char * label
 
const char * description
 
const char * guisection
 
struct Flagnext_flag
 

Detailed Description

Structure that stores flag info.

Used by the G_parser() system.

Definition at line 588 of file gis.h.

Field Documentation

◆ answer

char Flag::answer

Stores flag state: 0/1

Definition at line 590 of file gis.h.

◆ description

const char* Flag::description

String describing flag meaning

Definition at line 594 of file gis.h.

Referenced by G_define_standard_flag().

◆ guisection

const char* Flag::guisection

GUI Layout guidance: ';' delimited hierarchical tree position

Definition at line 595 of file gis.h.

◆ key

char Flag::key

Key char used on command line

Definition at line 589 of file gis.h.

Referenced by G_define_standard_flag().

◆ label

const char* Flag::label

Optional short label, used in GUI as item label

Definition at line 593 of file gis.h.

Referenced by G_define_standard_flag().

◆ next_flag

struct Flag* Flag::next_flag

Pointer to next flag struct

Definition at line 597 of file gis.h.

◆ suppress_overwrite

char Flag::suppress_overwrite

Suppresses checking of existing output

Definition at line 592 of file gis.h.

◆ suppress_required

char Flag::suppress_required

Suppresses checking of required options

Definition at line 591 of file gis.h.


The documentation for this struct was generated from the following file: