CellModules
|
Go to the source code of this file.
Macros | |
#define | HOOKS_ENUM(...) enum Hooks { __VA_ARGS__, LAST }; |
#define | CREATE_MC1(m1) CREATE_METHOD_CHECKS(m1); |
#define | CREATE_MC2(m1, m2) |
#define | CREATE_MC3(m1, m2, m3) |
#define | CREATE_MC4(m1, m2, m3, m4) |
#define | CREATE_MC5(m1, m2, m3, m4, m5) |
#define | CREATE_MC6(m1, m2, m3, m4, m5, m6) |
#define | CREATE_MC7(m1, m2, m3, m4, m5, m6, m7) |
#define | CREATE_MC8(m1, m2, m3, m4, m5, m6, m7, m8) |
#define | CREATE_MC9(m1, m2, m3, m4, m5, m6, m7, m8, m9) |
#define | OVERLOADED_MACRO(M, ...) _OVR(M, _COUNT_ARGS(__VA_ARGS__))(__VA_ARGS__) |
#define | _OVR(macroName, number_of_args) _OVR_EXPAND(macroName, number_of_args) |
#define | _OVR_EXPAND(macroName, number_of_args) macroName##number_of_args |
#define | _COUNT_ARGS(...) _ARG_PATTERN_MATCH(__VA_ARGS__, 9, 8, 7, 6, 5, 4, 3, 2, 1) |
#define | _ARG_PATTERN_MATCH(_1, _2, _3, _4, _5, _6, _7, _8, _9, N, ...) N |
#define | HCHK_M(hName) |
#define | HCHK_M1(h1) HCHK_M(h1) |
#define | HCHK_M2(h1, h2) |
#define | HCHK_M3(h1, h2, h3) |
#define | HCHK_M4(h1, h2, h3, h4) |
#define | HCHK_M5(h1, h2, h3, h4, h5) |
#define | HCHK_M6(h1, h2, h3, h4, h5, h6) |
#define | HCHK_M7(h1, h2, h3, h4, h5, h6, h7) |
#define | HCHK_M8(h1, h2, h3, h4, h5, h6, h7, h8) |
#define | HCHK_M9(h1, h2, h3, h4, h5, h6, h7, h8, h9) |
#define | H_REG(hName) hookChecker<decltype(this), hook_s>::register_##hName(this, p) |
#define | H_REG1(h1) H_REG(h1); |
#define | H_REG2(h1, h2) |
#define | H_REG3(h1, h2, h3) |
#define | H_REG4(h1, h2, h3, h4) |
#define | H_REG5(h1, h2, h3, h4, h5) |
#define | H_REG6(h1, h2, h3, h4, h5, h6) |
#define | H_REG7(h1, h2, h3, h4, h5, h6, h7) |
#define | H_REG8(h1, h2, h3, h4, h5, h6, h7, h8) |
#define | H_REG9(h1, h2, h3, h4, h5, h6, h7, h8, h9) |
#define | DECLARE_HOOK(...) |
#define _ARG_PATTERN_MATCH | ( | _1, | |
_2, | |||
_3, | |||
_4, | |||
_5, | |||
_6, | |||
_7, | |||
_8, | |||
_9, | |||
N, | |||
... | |||
) | N |
Definition at line 70 of file hooktools.hpp.
#define _COUNT_ARGS | ( | ... | ) | _ARG_PATTERN_MATCH(__VA_ARGS__, 9, 8, 7, 6, 5, 4, 3, 2, 1) |
Definition at line 69 of file hooktools.hpp.
#define _OVR | ( | macroName, | |
number_of_args | |||
) | _OVR_EXPAND(macroName, number_of_args) |
Definition at line 66 of file hooktools.hpp.
#define _OVR_EXPAND | ( | macroName, | |
number_of_args | |||
) | macroName##number_of_args |
Definition at line 67 of file hooktools.hpp.
#define CREATE_MC1 | ( | m1 | ) | CREATE_METHOD_CHECKS(m1); |
Definition at line 11 of file hooktools.hpp.
#define CREATE_MC2 | ( | m1, | |
m2 | |||
) |
Definition at line 12 of file hooktools.hpp.
#define CREATE_MC3 | ( | m1, | |
m2, | |||
m3 | |||
) |
Definition at line 15 of file hooktools.hpp.
#define CREATE_MC4 | ( | m1, | |
m2, | |||
m3, | |||
m4 | |||
) |
Definition at line 19 of file hooktools.hpp.
#define CREATE_MC5 | ( | m1, | |
m2, | |||
m3, | |||
m4, | |||
m5 | |||
) |
Definition at line 24 of file hooktools.hpp.
#define CREATE_MC6 | ( | m1, | |
m2, | |||
m3, | |||
m4, | |||
m5, | |||
m6 | |||
) |
Definition at line 30 of file hooktools.hpp.
#define CREATE_MC7 | ( | m1, | |
m2, | |||
m3, | |||
m4, | |||
m5, | |||
m6, | |||
m7 | |||
) |
Definition at line 37 of file hooktools.hpp.
#define CREATE_MC8 | ( | m1, | |
m2, | |||
m3, | |||
m4, | |||
m5, | |||
m6, | |||
m7, | |||
m8 | |||
) |
Definition at line 45 of file hooktools.hpp.
#define CREATE_MC9 | ( | m1, | |
m2, | |||
m3, | |||
m4, | |||
m5, | |||
m6, | |||
m7, | |||
m8, | |||
m9 | |||
) |
Definition at line 54 of file hooktools.hpp.
#define DECLARE_HOOK | ( | ... | ) |
Definition at line 192 of file hooktools.hpp.
#define H_REG | ( | hName | ) | hookChecker<decltype(this), hook_s>::register_##hName(this, p) |
Definition at line 136 of file hooktools.hpp.
#define H_REG1 | ( | h1 | ) | H_REG(h1); |
Definition at line 138 of file hooktools.hpp.
#define H_REG2 | ( | h1, | |
h2 | |||
) |
Definition at line 139 of file hooktools.hpp.
#define H_REG3 | ( | h1, | |
h2, | |||
h3 | |||
) |
Definition at line 142 of file hooktools.hpp.
#define H_REG4 | ( | h1, | |
h2, | |||
h3, | |||
h4 | |||
) |
Definition at line 146 of file hooktools.hpp.
#define H_REG5 | ( | h1, | |
h2, | |||
h3, | |||
h4, | |||
h5 | |||
) |
Definition at line 151 of file hooktools.hpp.
#define H_REG6 | ( | h1, | |
h2, | |||
h3, | |||
h4, | |||
h5, | |||
h6 | |||
) |
Definition at line 157 of file hooktools.hpp.
#define H_REG7 | ( | h1, | |
h2, | |||
h3, | |||
h4, | |||
h5, | |||
h6, | |||
h7 | |||
) |
Definition at line 164 of file hooktools.hpp.
#define H_REG8 | ( | h1, | |
h2, | |||
h3, | |||
h4, | |||
h5, | |||
h6, | |||
h7, | |||
h8 | |||
) |
Definition at line 172 of file hooktools.hpp.
#define H_REG9 | ( | h1, | |
h2, | |||
h3, | |||
h4, | |||
h5, | |||
h6, | |||
h7, | |||
h8, | |||
h9 | |||
) |
Definition at line 181 of file hooktools.hpp.
#define HCHK_M | ( | hName | ) |
Definition at line 72 of file hooktools.hpp.
#define HCHK_M1 | ( | h1 | ) | HCHK_M(h1) |
Definition at line 82 of file hooktools.hpp.
#define HCHK_M2 | ( | h1, | |
h2 | |||
) |
Definition at line 83 of file hooktools.hpp.
#define HCHK_M3 | ( | h1, | |
h2, | |||
h3 | |||
) |
Definition at line 86 of file hooktools.hpp.
#define HCHK_M4 | ( | h1, | |
h2, | |||
h3, | |||
h4 | |||
) |
Definition at line 90 of file hooktools.hpp.
#define HCHK_M5 | ( | h1, | |
h2, | |||
h3, | |||
h4, | |||
h5 | |||
) |
Definition at line 95 of file hooktools.hpp.
#define HCHK_M6 | ( | h1, | |
h2, | |||
h3, | |||
h4, | |||
h5, | |||
h6 | |||
) |
Definition at line 101 of file hooktools.hpp.
#define HCHK_M7 | ( | h1, | |
h2, | |||
h3, | |||
h4, | |||
h5, | |||
h6, | |||
h7 | |||
) |
Definition at line 108 of file hooktools.hpp.
#define HCHK_M8 | ( | h1, | |
h2, | |||
h3, | |||
h4, | |||
h5, | |||
h6, | |||
h7, | |||
h8 | |||
) |
Definition at line 116 of file hooktools.hpp.
#define HCHK_M9 | ( | h1, | |
h2, | |||
h3, | |||
h4, | |||
h5, | |||
h6, | |||
h7, | |||
h8, | |||
h9 | |||
) |
Definition at line 125 of file hooktools.hpp.
#define HOOKS_ENUM | ( | ... | ) | enum Hooks { __VA_ARGS__, LAST }; |
Definition at line 9 of file hooktools.hpp.
#define OVERLOADED_MACRO | ( | M, | |
... | |||
) | _OVR(M, _COUNT_ARGS(__VA_ARGS__))(__VA_ARGS__) |
Definition at line 65 of file hooktools.hpp.