|
ctools 2.1.0
|
Support function implementation. More...
Go to the source code of this file.
Functions | |
| int | execute_ctool (ctool *tool) |
| Execute ctool. | |
| void | report_ctool_failure (const std::string &name, const std::string &message) |
| Report ctool failure. | |
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().