teditor  1.8.0@@fee5e94
Terminal based editor written in C++
Functions
All methods related to creating/querying commands

Functions

const Commandteditor::getCmd (const std::string &cmd)
 Helper to return the command of interest. More...
 
Strings teditor::allCmdNames (CmdFilterOp filterOp=defaultCmdFilterOp)
 Accessor function to the list of command names. More...
 

Detailed Description

Function Documentation

◆ allCmdNames()

Strings teditor::allCmdNames ( CmdFilterOp  filterOp = defaultCmdFilterOp)

Accessor function to the list of command names.

Parameters
filterOpfilter to be applied on the command names. If the filter returns a true for a given command name, it will be added in the output.
Returns
command names which pass the filter test

◆ getCmd()

const Command & teditor::getCmd ( const std::string &  cmd)

Helper to return the command of interest.

Parameters
cmdname of the command
Returns
the command object