LibCppCmd v1.0 Beta 15
C++ Command Line Parsing Library
Loading...
Searching...
No Matches
Public Attributes | List of all members
CmdLine::Param::Definition Struct Reference

Defines a command line Param. More...

#include <Param.h>

Inheritance diagram for CmdLine::Param::Definition:
CmdLine::OptionParam::Definition CmdLine::PosParam::Definition CmdLine::ProgParam::Definition

Public Attributes

std::string name
 The name of the Param.
 
std::string description
 The description of the Param.
 
bool isMandatory = false
 Determines if the Param is mandatory.
 

Detailed Description

Defines a command line Param.

All classes that inherit from Param can use this struct (or a descendant of it) to construct a new Param.

Member Data Documentation

◆ description

std::string CmdLine::Param::Definition::description

The description of the Param.

See also
Description().

◆ isMandatory

bool CmdLine::Param::Definition::isMandatory = false

Determines if the Param is mandatory.

See also
IsMandatory().

◆ name

std::string CmdLine::Param::Definition::name

The name of the Param.

See also
Name().

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