ctools
2.0.0
|
Support function implementation. More...
Go to the source code of this file.
Functions | |
int | execute_ctool (ctool *tool) |
Execute ctool. More... | |
void | report_ctool_failure (const std::string &name, const std::string &message) |
Report ctool failure. More... | |
Support function implementation.
Definition in file support.cpp.
int execute_ctool | ( | ctool * | tool | ) |
Execute ctool.
[in] | tool | Pointer to ctool. |
Executes a ctool. The execution is enclosed in a try-catch statement so that any exceptions that occur during execution will be properly logged and written into the standard output.
Definition at line 58 of file support.cpp.
References ctool::execute().
Referenced by main().
void report_ctool_failure | ( | const std::string & | name, |
const std::string & | message | ||
) |
Report ctool failure.
[in] | name | Name of ctool. |
[in] | message | Exception message. |
Reports a ctools failure.
Definition at line 106 of file support.cpp.
Referenced by main().