#include <stdio.h>
#include "clst.h"
#include "strngs.h"
Go to the source code of this file.
Classes | |
class | INT_VAR_FROM |
class | INT_VAR_TO |
class | INT_VARIABLE |
class | BOOL_VAR_FROM |
class | BOOL_VAR_TO |
class | BOOL_VARIABLE |
class | STRING_VAR_FROM |
class | STRING_VAR_TO |
class | STRING_VARIABLE |
class | double_VAR_FROM |
class | double_VAR_TO |
class | double_VARIABLE |
Defines | |
#define | INT_VAR(name, val, comment) |
#define | BOOL_VAR(name, val, comment) |
#define | STRING_VAR(name, val, comment) |
#define | double_VAR(name, val, comment) |
#define | INT_VAR_H(name, val, comment) |
#define | BOOL_VAR_H(name, val, comment) |
#define | STRING_VAR_H(name, val, comment) |
#define | double_VAR_H(name, val, comment) |
#define | INT_MEMBER(name, val, comment) |
#define | BOOL_MEMBER(name, val, comment) |
#define | STRING_MEMBER(name, val, comment) |
#define | double_MEMBER(name, val, comment) |
#define | INT_EVAR(name, val, comment) |
#define | INT_EVAR_H(name, val, comment) |
#define | BOOL_EVAR(name, val, comment) |
#define | BOOL_EVAR_H(name, val, comment) |
#define | STRING_EVAR(name, val, comment) |
#define | STRING_EVAR_H(name, val, comment) |
#define | double_EVAR(name, val, comment) |
#define | double_EVAR_H(name, val, comment) |
Functions | |
DLLSYM BOOL8 | read_variables_file (const char *file, bool global_only) |
bool | read_variables_from_fp (FILE *fp, inT64 end_offset, bool global_only) |
bool | set_variable (const char *variable, const char *value) |
DLLSYM void | print_variables (FILE *fp) |
Variables | |
class DLLSYM | INT_VARIABLE |
const char | kGlobalVariablePrefix [] = "global_" |
class DLLSYM | BOOL_VARIABLE |
class DLLSYM | STRING_VARIABLE |
class DLLSYM | double_VARIABLE |
#define BOOL_EVAR | ( | name, | |||
val, | |||||
comment | ) |
/*make BOOL_VARIABLE*/\ BOOL_VARIABLE name(val,#name,comment)
#define BOOL_EVAR_H | ( | name, | |||
val, | |||||
comment | ) |
/*declare one*/\ BOOL_VARIABLE name
#define BOOL_MEMBER | ( | name, | |||
val, | |||||
comment | ) |
/*make BOOL_VARIABLE*/\
name(val, #name, comment)
#define BOOL_VAR | ( | name, | |||
val, | |||||
comment | ) |
/*make BOOL_VARIABLE*/\ BOOL_VARIABLE name(val,#name,comment)
#define BOOL_VAR_H | ( | name, | |||
val, | |||||
comment | ) |
/*declare one*/\ BOOL_VARIABLE name
#define double_EVAR | ( | name, | |||
val, | |||||
comment | ) |
/*make double_VARIABLE*/\ double_VARIABLE name(val,#name,comment)
#define double_EVAR_H | ( | name, | |||
val, | |||||
comment | ) |
/*declare one*/\ double_VARIABLE name
#define double_MEMBER | ( | name, | |||
val, | |||||
comment | ) |
/*make double_VARIABLE*/\
name(val, #name, comment)
#define double_VAR | ( | name, | |||
val, | |||||
comment | ) |
/*make double_VARIABLE*/\ double_VARIABLE name(val,#name,comment)
#define double_VAR_H | ( | name, | |||
val, | |||||
comment | ) |
/*declare one*/\ double_VARIABLE name
#define INT_EVAR | ( | name, | |||
val, | |||||
comment | ) |
/*make INT_VARIABLE*/\ INT_VARIABLE name(val,#name,comment)
#define INT_EVAR_H | ( | name, | |||
val, | |||||
comment | ) |
/*declare one*/\ INT_VARIABLE name
#define INT_MEMBER | ( | name, | |||
val, | |||||
comment | ) |
/*make INT_VARIABLE*/\
name(val, #name, comment)
#define INT_VAR | ( | name, | |||
val, | |||||
comment | ) |
/*make INT_VARIABLE*/\ INT_VARIABLE name(val,#name,comment)
#define INT_VAR_H | ( | name, | |||
val, | |||||
comment | ) |
/*declare one*/\ INT_VARIABLE name
#define STRING_EVAR | ( | name, | |||
val, | |||||
comment | ) |
/*make STRING_VARIABLE*/\ STRING_VARIABLE name(val,#name,comment)
#define STRING_EVAR_H | ( | name, | |||
val, | |||||
comment | ) |
/*declare one*/\ STRING_VARIABLE name
#define STRING_MEMBER | ( | name, | |||
val, | |||||
comment | ) |
/*make STRING_VARIABLE*/\
name(val, #name, comment)
#define STRING_VAR | ( | name, | |||
val, | |||||
comment | ) |
/*make STRING_VARIABLE*/\ STRING_VARIABLE name(val,#name,comment)
#define STRING_VAR_H | ( | name, | |||
val, | |||||
comment | ) |
/*declare one*/\ STRING_VARIABLE name
DLLSYM void print_variables | ( | FILE * | fp | ) |
bool set_variable | ( | const char * | variable, | |
const char * | value | |||
) |
class DLLSYM BOOL_VARIABLE |
class DLLSYM double_VARIABLE |
class DLLSYM INT_VARIABLE |
const char kGlobalVariablePrefix[] = "global_" |
class DLLSYM STRING_VARIABLE |