|
Any++
|
Macros to define trait's and any's functions and operators. More...
Macros | |
| #define | ANY_FN_DEF_EXACT(access, ret, name, params, const_, ...) |
| TRAIT function with default behavior. | |
| #define | ANY_FN(ret, name, params, const_) |
| TRAIT function whose default behavior is to call an equally named member function of the model. | |
| #define | ANY_FN_OVERLOAD(ret, name, params, const_) |
| TRAIT function whose default behavior is to call an equally named member function of the model. | |
| #define | ANY_FN_OVERLOAD_EXACT(ret, name, params, const_) |
| TRAIT function whose default behavior is to call an equally named member function of the model. | |
| #define | ANY_OP_MAP_NAMED(ret, op, name, params, const_) |
| TRAIT operator with default behavior is to call the related operator of the model and a programmer-chosen name in the map. | |
| #define | ANY_OP(ret, op, params, const_) |
| TRAIT operator with default behavior is to call the related operator of the model. | |
| #define | ANY_OP_DEF(access, ret, op, name, params, const_, ...) |
| TRAIT operator with default behavior. | |
| #define | ANY_OP_EXACT_MAP_NAMED(ret, op, name, params, const_) |
| #define | ANY_OP_EXACT(ret, op, params, const_) |
| #define | ANY_OP_EXACT_DEF(access, ret, op, name, params, const_, ...) |
| TRAIT operator with default behavior is to call the related operator of the model. | |
| #define | ANY_OP_EXACT_OVERLOAD_MAP_NAMED(ret, op, name, params, const_) |
| TRAIT operator with default behavior and a programmer-chosen name in the map. | |
| #define | ANY_OP_EXACT_OVERLOAD(ret, op, params, const_) |
| TRAIT operator with default behavior is to call the related operator of the model. | |
| #define | ANY_OP_EXACT_OVERLOAD_DEF(access, ret, op, name, params, const_, ...) |
| TRAIT operator with default behavior. | |
Macros to define trait's and any's functions and operators.
Name conventions:
Some FN/OP forms allow an access specifier. This specifier means
syntax:
ANY_FN[_OVERLOAD]([_PURE]|[_DEF])[_EXCACT][] ([access], return_type, name, (param_list),[_const] [, default_behavior])
ANY_OP[_OVERLOAD][_MAP_NAMED]([_DEF]|[_EXACT_DEF] ([access], return_type, operator [,map_name], (param_list), [_const] [, default_behavior])
| #define ANY_FN | ( | ret, | |
| name, | |||
| params, | |||
| const_ ) |
TRAIT function whose default behavior is to call an equally named member function of the model.
Example:
| #define ANY_FN_DEF_EXACT | ( | access, | |
| ret, | |||
| name, | |||
| params, | |||
| const_, | |||
| ... ) |
TRAIT function with default behavior.
| #define ANY_FN_OVERLOAD | ( | ret, | |
| name, | |||
| params, | |||
| const_ ) |
TRAIT function whose default behavior is to call an equally named member function of the model.
Use if in a base TRAIT exists an equally named FN.
| #define ANY_FN_OVERLOAD_EXACT | ( | ret, | |
| name, | |||
| params, | |||
| const_ ) |
TRAIT function whose default behavior is to call an equally named member function of the model.
Use if in a base TRAIT exists an equally named FN.
| #define ANY_OP | ( | ret, | |
| op, | |||
| params, | |||
| const_ ) |
TRAIT operator with default behavior is to call the related operator of the model.
| #define ANY_OP_DEF | ( | access, | |
| ret, | |||
| op, | |||
| name, | |||
| params, | |||
| const_, | |||
| ... ) |
TRAIT operator with default behavior.
Use if in a base TRAIT exists an equally named FN.
| #define ANY_OP_EXACT | ( | ret, | |
| op, | |||
| params, | |||
| const_ ) |
| #define ANY_OP_EXACT_DEF | ( | access, | |
| ret, | |||
| op, | |||
| name, | |||
| params, | |||
| const_, | |||
| ... ) |
TRAIT operator with default behavior is to call the related operator of the model.
Use if in a base TRAIT exists an equally named FN.
| #define ANY_OP_EXACT_MAP_NAMED | ( | ret, | |
| op, | |||
| name, | |||
| params, | |||
| const_ ) |
| #define ANY_OP_EXACT_OVERLOAD | ( | ret, | |
| op, | |||
| params, | |||
| const_ ) |
TRAIT operator with default behavior is to call the related operator of the model.
Use if in a base TRAIT exists an equally named FN.
| #define ANY_OP_EXACT_OVERLOAD_DEF | ( | access, | |
| ret, | |||
| op, | |||
| name, | |||
| params, | |||
| const_, | |||
| ... ) |
TRAIT operator with default behavior.
Use if in a base TRAIT exists an equally named FN.
| #define ANY_OP_EXACT_OVERLOAD_MAP_NAMED | ( | ret, | |
| op, | |||
| name, | |||
| params, | |||
| const_ ) |
TRAIT operator with default behavior and a programmer-chosen name in the map.
Use if in a base TRAIT exists an equally named FN.
| #define ANY_OP_MAP_NAMED | ( | ret, | |
| op, | |||
| name, | |||
| params, | |||
| const_ ) |
TRAIT operator with default behavior is to call the related operator of the model and a programmer-chosen name in the map.
Use if in a base TRAIT exists an equally named FN.