EvEmu
0.8.4
11 September 2021
|
Go to the source code of this file.
Classes | |
struct | EVEToolCommand |
Functions | |
const EVEToolCommand * | FindCommand (const char *name) |
Finds a command. More... | |
const EVEToolCommand * | FindCommand (const std::string &name) |
Finds a command. More... | |
void | ProcessCommand (const Seperator &cmd) |
Processed given command. More... | |
void | ProcessString (const char *str) |
Processes given string as command. More... | |
void | ProcessString (const std::string &str) |
Processes given string as command. More... | |
void | ProcessFile (FILE *file) |
Loads commands from given file. More... | |
void | ProcessFile (const char *filename) |
Loads commands from given file. More... | |
void | ProcessFile (const std::string &filename) |
Loads commands from given file. More... | |
Variables | |
const EVEToolCommand | EVETOOL_COMMANDS [] |
const size_t | EVETOOL_COMMAND_COUNT |
const char *const | CACHE_DIR |
const char *const | LOG_SETTINGS_FILE |
const char *const | LOG_FILE |
const EVEToolCommand* FindCommand | ( | const char * | name | ) |
Finds a command.
[in] | name | Name of command. |
Definition at line 64 of file Commands.cpp.
References FindCommand().
Referenced by FindCommand(), PrintHelp(), and ProcessCommand().
const EVEToolCommand* FindCommand | ( | const std::string & | name | ) |
Finds a command.
[in] | name | Name of command. |
Definition at line 69 of file Commands.cpp.
References EVETOOL_COMMAND_COUNT, and EVEToolCommand::name.
void ProcessCommand | ( | const Seperator & | cmd | ) |
Processed given command.
[in] | cmd | Command to be processed. |
Definition at line 82 of file Commands.cpp.
References Seperator::arg(), EVEToolCommand::callback, FindCommand(), and sLog.
Referenced by ProcessString().
void ProcessFile | ( | FILE * | file | ) |
Loads commands from given file.
[in] | file | File to load commands from. |
Definition at line 76 of file eve-tool.cpp.
References ProcessString().
Referenced by LoadScript(), main(), and ProcessFile().
void ProcessFile | ( | const char * | filename | ) |
Loads commands from given file.
[in] | filename | Name of file to load commands from. |
Definition at line 100 of file eve-tool.cpp.
References ProcessFile().
void ProcessFile | ( | const std::string & | filename | ) |
Loads commands from given file.
[in] | filename | Name of file to load commands from. |
Definition at line 105 of file eve-tool.cpp.
References ProcessFile(), and sLog.
void ProcessString | ( | const char * | str | ) |
Processes given string as command.
[in] | str | String to be processed. |
Definition at line 66 of file eve-tool.cpp.
References ProcessCommand().
Referenced by ProcessFile(), and ProcessString().
void ProcessString | ( | const std::string & | str | ) |
Processes given string as command.
[in] | str | String to be processed. |
Definition at line 71 of file eve-tool.cpp.
References ProcessString().
const char* const CACHE_DIR |
Cache directory to be used.
Definition at line 30 of file eve-tool.cpp.
const size_t EVETOOL_COMMAND_COUNT |
Number of available commands.
Definition at line 62 of file Commands.cpp.
Referenced by FindCommand(), and PrintHelp().
const EVEToolCommand EVETOOL_COMMANDS[] |
Array of all available commands in eve-tool.
Definition at line 48 of file Commands.cpp.
const char* const LOG_FILE |
const char* const LOG_SETTINGS_FILE |