|
Lamp-Da 0.1
A compact lantern project
|
Command argument parser logic. More...
Go to the source code of this file.
Classes | |
| struct | lampda::common::cli::ParsedCommand |
Namespaces | |
| namespace | lampda |
| Program scope. | |
| namespace | lampda::common |
| Shared interfaces & general utilities. | |
| namespace | lampda::common::cli::argument |
| Tools to parse text arguments. | |
Functions | |
| bool | lampda::common::cli::argument::parse_uint8 (const ParsedCommand &command, const size_t index, uint8_t &value) |
| Parse an argument as a 8 bit unsigned number. | |
| bool | lampda::common::cli::argument::parse_uint16 (const ParsedCommand &command, const size_t index, uint16_t &value) |
| Parse an argument as a 16 bit unsigned number. | |
| bool | lampda::common::cli::argument::parse_text (const ParsedCommand &command, const size_t index, std::array< char, MaxStringArgumentLen > &value) |
| Parse an argument as a char array. | |
| ParsedCommand | lampda::common::cli::parseCommand (const bsp::text_in::Inputs::Command &input) |
| Parse a command to extract its name and arguments. | |
Variables | |
| static constexpr size_t | lampda::common::cli::MaxStringArgumentLen = 32 |
Command argument parser logic.