ctools  2.0.0
 All Classes Namespaces Files Functions Variables Macros Pages
main_like.cpp File Reference
#include "support.hpp"
#include "ctool_like.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_like application. It allocates a ctool_like 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_like.cpp.

References execute_ctool(), and report_ctool_failure().