Argx 1.2.2-build
Simple yet powerful argument parser made in C++
Loading...
Searching...
No Matches
argx::ARGXOptions Struct Reference

#include <types.hpp>

Public Attributes

std::string defaultValue
bool hasAnySubParams = false
bool hasSubParams = false
std::string id
 ID (id)
std::string info
std::string param
 Param (param).
bool required = false
std::string sparam
 Short Param (sparam):
std::vector< ARGXOptionssubParams
std::string tag = "default"
 Set default tag to categorize arguments.

Detailed Description

Definition at line 25 of file types.hpp.

Member Data Documentation

◆ defaultValue

std::string argx::ARGXOptions::defaultValue

Definition at line 48 of file types.hpp.

Referenced by argx::Argx::getSubValue().

◆ hasAnySubParams

bool argx::ARGXOptions::hasAnySubParams = false

Definition at line 51 of file types.hpp.

Referenced by argx::Argx::compareArgs(), and argx::Argx::getWrongArgs().

◆ hasSubParams

bool argx::ARGXOptions::hasSubParams = false

Definition at line 50 of file types.hpp.

Referenced by argx::Argx::compareArgs(), and argx::Argx::getWrongArgs().

◆ id

std::string argx::ARGXOptions::id

ID (id)

ID of the option

Definition at line 30 of file types.hpp.

◆ info

std::string argx::ARGXOptions::info

Definition at line 42 of file types.hpp.

◆ param

std::string argx::ARGXOptions::param

Param (param).

EXAMPLE: –help, –version

Definition at line 36 of file types.hpp.

Referenced by argx::Argx::getArgIDPos().

◆ required

bool argx::ARGXOptions::required = false

Definition at line 52 of file types.hpp.

◆ sparam

std::string argx::ARGXOptions::sparam

Short Param (sparam):

Definition at line 41 of file types.hpp.

Referenced by argx::Argx::getArgIDPos().

◆ subParams

std::vector<ARGXOptions> argx::ARGXOptions::subParams

Definition at line 54 of file types.hpp.

Referenced by argx::Argx::compareArgs(), and argx::Argx::getWrongArgs().

◆ tag

std::string argx::ARGXOptions::tag = "default"

Set default tag to categorize arguments.

Definition at line 47 of file types.hpp.


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