FFSM++  1.1.0
French Forest Sector Model ++
anyoption.h File Reference
#include <iostream>
#include <fstream>
#include <stdlib.h>
#include <string>
Include dependency graph for anyoption.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  AnyOption
 

Macros

#define COMMON_OPT   1
 
#define COMMAND_OPT   2
 
#define FILE_OPT   3
 
#define COMMON_FLAG   4
 
#define COMMAND_FLAG   5
 
#define FILE_FLAG   6
 
#define COMMAND_OPTION_TYPE   1
 
#define COMMAND_FLAG_TYPE   2
 
#define FILE_OPTION_TYPE   3
 
#define FILE_FLAG_TYPE   4
 
#define UNKNOWN_TYPE   5
 
#define DEFAULT_MAXOPTS   10
 
#define MAX_LONG_PREFIX_LENGTH   2
 
#define DEFAULT_MAXUSAGE   3
 
#define DEFAULT_MAXHELP   10
 
#define TRUE_FLAG   "true"
 

Macro Definition Documentation

#define COMMAND_FLAG   5
#define COMMAND_FLAG_TYPE   2

Definition at line 17 of file anyoption.h.

#define COMMAND_OPT   2
#define COMMAND_OPTION_TYPE   1

Definition at line 16 of file anyoption.h.

#define COMMON_FLAG   4
#define COMMON_OPT   1
#define DEFAULT_MAXHELP   10

Definition at line 26 of file anyoption.h.

#define DEFAULT_MAXOPTS   10

Definition at line 22 of file anyoption.h.

Referenced by AnyOption::init().

#define DEFAULT_MAXUSAGE   3

Definition at line 25 of file anyoption.h.

Referenced by AnyOption::init().

#define FILE_FLAG   6

Definition at line 14 of file anyoption.h.

Referenced by AnyOption::justValue(), and AnyOption::setFileFlag().

#define FILE_FLAG_TYPE   4

Definition at line 19 of file anyoption.h.

#define FILE_OPT   3

Definition at line 11 of file anyoption.h.

Referenced by AnyOption::setFileOption(), and AnyOption::valuePairs().

#define FILE_OPTION_TYPE   3

Definition at line 18 of file anyoption.h.

#define MAX_LONG_PREFIX_LENGTH   2

Definition at line 23 of file anyoption.h.

Referenced by AnyOption::setCommandLongPrefix().

#define TRUE_FLAG   "true"

Definition at line 28 of file anyoption.h.

Referenced by AnyOption::findFlag(), and AnyOption::setFlagOn().

#define UNKNOWN_TYPE   5

Definition at line 20 of file anyoption.h.