Lamp-Da 0.1
A compact lantern project
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
cmd_parser.h File Reference

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.
 
ParsedCommand lampda::common::cli::parseCommand (const bsp::text_in::Inputs::Command &input)
 Parse a command to extract its name and arguments.
 

Detailed Description

Command argument parser logic.