MemoryAccessor 1
A command-line front-end for exploring virtual memory of a linux process by accessing /proc/PID/mem file.
Loading...
Searching...
No Matches
Command Struct Reference

A struct that represents command in Console. More...

#include <console.h>

Public Types

using CommandFuncP
 Type of pointer to command function.
 

Public Attributes

std::string name
 Command name.
 
CommandFuncP func {nullptr}
 Pointer.
 
std::vector< std::array< std::string, 2 > > description
 

Detailed Description

A struct that represents command in Console.

In this struct all the variables related to Console command are stored: name of the command, pointer to Console function that handles the command, and formattable description of the command.

Member Typedef Documentation

◆ CommandFuncP

Initial value:
void (Console::*)(
const Command &parent, const std::vector<std::string>
&)
A class to perform CLI.
Definition console.h:68
A struct that represents command in Console.
Definition console.h:48

Type of pointer to command function.

Member Data Documentation

◆ description

std::vector<std::array<std::string, 2> > Command::description

Description of command: lines split by the left and right sides for better formatting.


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