Xmipp  v3.23.11-Nereus
Classes | Macros
Basic structure for Xmipp programs
Collaboration diagram for Basic structure for Xmipp programs:

Classes

class  XmippProgram
 

Macros

#define RUN_XMIPP_PROGRAM(progName)
 

Detailed Description

General program routines.

Here you will find some routines which might help you to write programs with a common structure where only a small part changes. These routines make the heavy work for you and you only have to supply the changing part from one to another.

Macro Definition Documentation

◆ RUN_XMIPP_PROGRAM

#define RUN_XMIPP_PROGRAM (   progName)
Value:
int main(int argc, char** argv) { \
progName program; program.read(argc, argv);\
return program.tryRun();}
int main(int argc, char **argv)
Definition: example.cpp:32

This macro will be useful for define the main and run an XmippProgram

Definition at line 257 of file xmipp_program.h.