ctools  2.0.0
 All Classes Namespaces Files Functions Variables Macros Pages
main_base.cpp File Reference
#include "support.hpp"
#include "ctool_base.hpp"

Go to the source code of this file.

Functions

int main (int argc, char *argv[])
 Main entry point of application. More...
 

Function Documentation

int main ( int  argc,
char *  argv[] 
)

Main entry point of application.

Parameters
[in]argcNumber of command line arguments.
[in]argvCommand line arguments.

This is the main entry point of the ctool_base application. It allocates a ctool_base object and executes the application. Any exceptions that occur will be catched and corresponding error messages written in the application logger and into the standard output.

Definition at line 46 of file main_base.cpp.

References execute_ctool(), and report_ctool_failure().