CmdInputDef - helper api for define input params and descrip it for docs.
More...
#include <cmd_handlers.h>
CmdInputDef - helper api for define input params and descrip it for docs.
◆ CmdInputDef() [1/2]
CmdInputDef::CmdInputDef |
( |
const std::string & |
sName, |
|
|
const std::string & |
sDescription |
|
) |
| |
◆ CmdInputDef() [2/2]
CmdInputDef::CmdInputDef |
( |
| ) |
|
◆ addValidator()
◆ any_()
◆ bool_()
◆ description()
CmdInputDef & CmdInputDef::description |
( |
const std::string & |
sDescription | ) |
|
◆ getDescription() [1/2]
const std::string & CmdInputDef::getDescription |
( |
| ) |
|
◆ getDescription() [2/2]
const std::string & CmdInputDef::getDescription |
( |
| ) |
const |
◆ getMaxVal()
int CmdInputDef::getMaxVal |
( |
| ) |
|
◆ getMinVal()
int CmdInputDef::getMinVal |
( |
| ) |
|
◆ getName() [1/2]
const std::string & CmdInputDef::getName |
( |
| ) |
|
◆ getName() [2/2]
const std::string & CmdInputDef::getName |
( |
| ) |
const |
◆ getRestrict() [1/2]
const std::string & CmdInputDef::getRestrict |
( |
| ) |
|
◆ getRestrict() [2/2]
const std::string & CmdInputDef::getRestrict |
( |
| ) |
const |
◆ getType() [1/2]
const std::string & CmdInputDef::getType |
( |
| ) |
|
◆ getType() [2/2]
const std::string & CmdInputDef::getType |
( |
| ) |
const |
◆ integer_()
◆ isAny()
bool CmdInputDef::isAny |
( |
| ) |
|
◆ isBool()
bool CmdInputDef::isBool |
( |
| ) |
|
◆ isInteger()
bool CmdInputDef::isInteger |
( |
| ) |
|
◆ isMaxVal()
bool CmdInputDef::isMaxVal |
( |
| ) |
|
◆ isMinVal()
bool CmdInputDef::isMinVal |
( |
| ) |
|
◆ isRequired()
bool CmdInputDef::isRequired |
( |
| ) |
|
◆ isString()
bool CmdInputDef::isString |
( |
| ) |
|
◆ listOfValidators()
◆ maxval()
◆ minval()
◆ optional()
◆ required()
◆ string_()
◆ toJson()
nlohmann::json CmdInputDef::toJson |
( |
| ) |
|
◆ CMD_INPUT_DEF_TYPE_ANY
std::string CmdInputDef::CMD_INPUT_DEF_TYPE_ANY = "any" |
|
private |
◆ CMD_INPUT_DEF_TYPE_BOOL
std::string CmdInputDef::CMD_INPUT_DEF_TYPE_BOOL = "boolean" |
|
private |
◆ CMD_INPUT_DEF_TYPE_INTEGER
std::string CmdInputDef::CMD_INPUT_DEF_TYPE_INTEGER = "integer" |
|
private |
◆ CMD_INPUT_DEF_TYPE_STRING
std::string CmdInputDef::CMD_INPUT_DEF_TYPE_STRING = "string" |
|
private |
◆ m_bSettedMaxVal
bool CmdInputDef::m_bSettedMaxVal |
|
private |
◆ m_bSettedMinVal
bool CmdInputDef::m_bSettedMinVal |
|
private |
◆ m_nMaxVal
int CmdInputDef::m_nMaxVal |
|
private |
◆ m_nMinVal
int CmdInputDef::m_nMinVal |
|
private |
◆ m_sDescription
std::string CmdInputDef::m_sDescription |
|
private |
◆ m_sName
std::string CmdInputDef::m_sName |
|
private |
◆ m_sRestrict
std::string CmdInputDef::m_sRestrict |
|
private |
◆ m_sType
std::string CmdInputDef::m_sType |
|
private |
◆ m_vValidatorsString
The documentation for this class was generated from the following files: