3ds Max C++ API Reference
|
#include "ClassCfg.h"
Macros | |
#define | local_visible_class(_cls) |
#define | local_visible_class_s(_cls, _super) |
#define | local_applyable_class(_cls) |
#define | local_visible_class_instance(_cls, _name) _cls##Class _cls##_class (_M(_name)); |
#define | cat0(_a) _a |
#define | cat1(_a) cat0(_a) |
#define | cat2(_a, _b) cat0(_a)##cat0(_b) |
#define | str0(_c) #_c |
#define | str1(_c) str0(_c) |
#define | MS_LOCAL_ROOT_CLASS_TAG &CONCATENATE(MS_LOCAL_ROOT_CLASS, _class) |
#define | MS_LOCAL_GENERIC_CLASS_TAG &CONCATENATE(MS_LOCAL_GENERIC_CLASS, _class) |
#define | MS_LOCAL_GENERIC_CLASS_CLASS CONCATENATE(MS_LOCAL_GENERIC_CLASS, Class) |
Concatenation Macros | |
For details on the token pasting operator and joining two strings together in the preprocessor see:
| |
#define | CONCATENATE_HELPER(x, y) x##y |
#define | CONCATENATE(x, y) CONCATENATE_HELPER(x,y) |
Joins two strings together in the preprocessor before the code is compiled. More... | |
Typedefs | |
typedef Value *(MS_LOCAL_ROOT_CLASS::* | local_value_vf) (Value **, int) |
#define local_visible_class | ( | _cls | ) |
#define local_visible_class_s | ( | _cls, | |
_super | |||
) |
#define local_applyable_class | ( | _cls | ) |
#define local_visible_class_instance | ( | _cls, | |
_name | |||
) | _cls##Class _cls##_class (_M(_name)); |
#define cat0 | ( | _a | ) | _a |
#define cat1 | ( | _a | ) | cat0(_a) |
#define str0 | ( | _c | ) | #_c |
#define str1 | ( | _c | ) | str0(_c) |
#define CONCATENATE | ( | x, | |
y | |||
) | CONCATENATE_HELPER(x,y) |
Joins two strings together in the preprocessor before the code is compiled.
#define MS_LOCAL_ROOT_CLASS_TAG &CONCATENATE(MS_LOCAL_ROOT_CLASS, _class) |
#define MS_LOCAL_GENERIC_CLASS_TAG &CONCATENATE(MS_LOCAL_GENERIC_CLASS, _class) |
#define MS_LOCAL_GENERIC_CLASS_CLASS CONCATENATE(MS_LOCAL_GENERIC_CLASS, Class) |