LocARNA-2.0.0
Classes | Namespaces | Macros | Functions
options.hh File Reference

options – an interface for getopt_long More...

#include <getopt.h>
#include <string>
Include dependency graph for options.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  LocARNA::option_def
 Definition structure of an option. More...
 

Namespaces

 LocARNA
 

Macros

#define FALSE   0
 
#define TRUE   1
 
#define O_NO_ARG   0
 
#define O_ARG_STRING   1
 
#define O_ARG_INT   2
 
#define O_ARG_FLOAT   3
 
#define O_ARG_DOUBLE   4
 
#define O_ARG_BOOL   5
 
#define O_TEXT   10
 
#define O_SECTION   -1
 
#define O_SECTION_HIDE   -2
 
#define O_NODEFAULT   std::string("__")
 

Functions

bool LocARNA::process_options (int argc, char *argv[], option_def options[])
 
void LocARNA::print_usage (char *progname, option_def options[], bool terse)
 
void LocARNA::print_help (char *progname, option_def options[])
 
const char * LocARNA::convert_arg_type (int arg_type)
 
void LocARNA::print_galaxy_xml (char *progname, option_def options[])
 prints a galaxy wrapper in xml format More...
 
void LocARNA::print_options (option_def options[])
 

Detailed Description

options – an interface for getopt_long

Interface to getopt