MRTKLIB 0.7.14
Modernized GNSS Positioning Library
Loading...
Searching...
No Matches
opt_t Struct Reference

Option type for configuration file parsing. More...

#include <mrtk_options.h>

Public Attributes

const char * name
int format
void * var
const char * comment

Detailed Description

Option type for configuration file parsing.

Definition at line 44 of file mrtk_options.h.

Member Data Documentation

◆ comment

const char* opt_t::comment

option comment/enum labels/unit

Definition at line 48 of file mrtk_options.h.

Referenced by opt2buf(), opt2str(), and str2opt().

◆ format

int opt_t::format

option format (0:int,1:double,2:string,3:enum)

Definition at line 46 of file mrtk_options.h.

Referenced by opt2str(), saveopts_toml(), and str2opt().

◆ name

const char* opt_t::name

option name

Definition at line 45 of file mrtk_options.h.

Referenced by opt2buf(), opt2str(), saveopts(), and searchopt().

◆ var

void* opt_t::var

pointer to option variable

Definition at line 47 of file mrtk_options.h.

Referenced by loadopts_toml(), opt2str(), and str2opt().


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