Go to the source code of this file.
|
#define | DEFINE_INT_VARIABLE(X, NAME) DEFINE_VARIABLE_T(int, X, NAME) |
|
#define | DEFINE_VARIABLE(X, NAME) DEFINE_VARIABLE_T(double, X, NAME) |
|
#define | DEFINE_VARIABLE_T(T, X, NAME) |
|
#define | IMPLEMENT_INT_VARIABLE(X) IMPLEMENT_VARIABLE_T(int, X) |
|
#define | IMPLEMENT_VARIABLE(X) IMPLEMENT_VARIABLE_T(double, X) |
|
#define | IMPLEMENT_VARIABLE_T(T, X) |
|
#define DEFINE_VARIABLE_T |
( |
|
T, |
|
|
|
X, |
|
|
|
NAME |
|
) |
| |
Value:namespace funct { \
inline
operator T()
const {
return value; } \
inline
T operator()()
const {
return value; } \
inline
static const char*
name() {
static const char *
name = NAME;
return name; } \
\
\
} \
\
struct __useless_ignoreme
nocap nocap const skelname & operator=(const skelname &)
#define NON_PARAMETRIC(FUN)
std::ostream & operator<<(std::ostream &cout, const Expression &e)
void set(const std::string &name, int value)
set the flag, with a run-time name
Definition at line 6 of file Variables.h.
#define IMPLEMENT_VARIABLE_T |
( |
|
T, |
|
|
|
X |
|
) |
| |
Value:
} \
\
struct __useless_ignoreme \
Definition at line 30 of file Variables.h.
DEFINE_VARIABLE |
( |
DefaultVariable |
, |
|
|
"_" |
|
|
) |
| |
DEFINE_VARIABLE |
( |
X |
, |
|
|
"x" |
|
|
) |
| |
DEFINE_VARIABLE |
( |
Y |
, |
|
|
"y" |
|
|
) |
| |
DEFINE_VARIABLE |
( |
Z |
, |
|
|
"z" |
|
|
) |
| |