libGimbal 0.1.0
C17-Based Extended Standard Library and Cross-Language Runtime Framework
Loading...
Searching...
No Matches
GblOption Struct Reference

#include <gimbal_option_group.h>

Data Fields

const char * pLongName
 
char shortName
 
GBL_OPTION_TYPE type
 
GblOptionPtr pOutput
 
const char * pDescription
 
const char * pValueName
 
GblFlags flags
 

Detailed Description

Describes a single command-line option along with handler info.

Definition at line 81 of file gimbal_option_group.h.

Field Documentation

◆ pLongName

const char* GblOption::pLongName

Long, hyphenated name of option.

Definition at line 82 of file gimbal_option_group.h.

◆ shortName

char GblOption::shortName

Shorthanded, single-character name of option (optional)

Definition at line 83 of file gimbal_option_group.h.

◆ type

GBL_OPTION_TYPE GblOption::type

Data type of the option handler.

Definition at line 84 of file gimbal_option_group.h.

◆ pOutput

GblOptionPtr GblOption::pOutput

Union for either data or callback pointer.

Definition at line 85 of file gimbal_option_group.h.

◆ pDescription

const char* GblOption::pDescription

Help description of option.

Definition at line 86 of file gimbal_option_group.h.

◆ pValueName

const char* GblOption::pValueName

Name of the value associated with the option.

Definition at line 87 of file gimbal_option_group.h.

◆ flags

GblFlags GblOption::flags

Additional flags for the option.

Definition at line 88 of file gimbal_option_group.h.


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