#include <cstdlib>
#include "tprintf.h"
#include "params.h"
Go to the source code of this file.
|
#define | INT_PARAM_FLAG(name, val, comment) INT_VAR(FLAGS_##name, val, comment) |
|
#define | DECLARE_INT_PARAM_FLAG(name) extern INT_VAR_H(FLAGS_##name, 0, "") |
|
#define | DOUBLE_PARAM_FLAG(name, val, comment) double_VAR(FLAGS_##name, val, comment) |
|
#define | DECLARE_DOUBLE_PARAM_FLAG(name) extern double_VAR_H(FLAGS_##name, "", "") |
|
#define | BOOL_PARAM_FLAG(name, val, comment) BOOL_VAR(FLAGS_##name, val, comment) |
|
#define | DECLARE_BOOL_PARAM_FLAG(name) extern BOOL_VAR_H(FLAGS_##name, 0, "") |
|
#define | STRING_PARAM_FLAG(name, val, comment) STRING_VAR(FLAGS_##name, val, comment) |
|
#define | DECLARE_STRING_PARAM_FLAG(name) extern STRING_VAR_H(FLAGS_##name, "", "") |
|
◆ BOOL_PARAM_FLAG
#define BOOL_PARAM_FLAG |
( |
|
name, |
|
|
|
val, |
|
|
|
comment |
|
) |
| BOOL_VAR(FLAGS_##name, val, comment) |
◆ DECLARE_BOOL_PARAM_FLAG
#define DECLARE_BOOL_PARAM_FLAG |
( |
|
name | ) |
extern BOOL_VAR_H(FLAGS_##name, 0, "") |
◆ DECLARE_DOUBLE_PARAM_FLAG
#define DECLARE_DOUBLE_PARAM_FLAG |
( |
|
name | ) |
extern double_VAR_H(FLAGS_##name, "", "") |
◆ DECLARE_INT_PARAM_FLAG
#define DECLARE_INT_PARAM_FLAG |
( |
|
name | ) |
extern INT_VAR_H(FLAGS_##name, 0, "") |
◆ DECLARE_STRING_PARAM_FLAG
#define DECLARE_STRING_PARAM_FLAG |
( |
|
name | ) |
extern STRING_VAR_H(FLAGS_##name, "", "") |
◆ DOUBLE_PARAM_FLAG
#define DOUBLE_PARAM_FLAG |
( |
|
name, |
|
|
|
val, |
|
|
|
comment |
|
) |
| double_VAR(FLAGS_##name, val, comment) |
◆ INT_PARAM_FLAG
#define INT_PARAM_FLAG |
( |
|
name, |
|
|
|
val, |
|
|
|
comment |
|
) |
| INT_VAR(FLAGS_##name, val, comment) |
◆ STRING_PARAM_FLAG
#define STRING_PARAM_FLAG |
( |
|
name, |
|
|
|
val, |
|
|
|
comment |
|
) |
| STRING_VAR(FLAGS_##name, val, comment) |