|
Etermal
Embeddable Terminal and shell for OpenGL
|
Data class containing information about arguments passed to a command. More...
#include <Args.h>
Public Member Functions | |
| Args () | |
| Construct an Args object. | |
| void | pushArg (const std::string &name, const data_t &data) |
| void | setCall (const std::string &str) |
| void | setArrayArgs (std::vector< std::string > &&args) |
| bool | has (const std::string &name) |
| Check if object has the given argument. More... | |
| data_t | get (const std::string &name) |
| Get the given argument. More... | |
| std::string & | getCall () |
| Gets the alias that was used to invoke the command. More... | |
| std::vector< std::string > & | getArrayArgs () |
| Gets the flagless parameters. More... | |
| data_t etm::Args::get | ( | const std::string & | name | ) |
Get the given argument.
| [in] | name | Name of the argument |
| std::vector<std::string>& etm::Args::getArrayArgs | ( | ) |
Gets the flagless parameters.
| std::string& etm::Args::getCall | ( | ) |
Gets the alias that was used to invoke the command.
| bool etm::Args::has | ( | const std::string & | name | ) |
Check if object has the given argument.
| [in] | name | Name of the argument |
true if the argument exists
1.8.18