Mirror reflection library - Puddle compile-time layer 0.5.13
|
Definitions of the run-time meta-object categories. More...
#include <puddle/config.hpp>
#include <puddle/meta_object_tags.hpp>
#include <mirror/meta_object_tags.hpp>
#include <mirror/preprocessor.hpp>
Go to the source code of this file.
Defines | |
#define | PUDDLE_HLPR_DEFINE_MO_TAG_NAME(OBJECT, X) meta_ ## OBJECT ## _tag | |
#define | PUDDLE_HLPR_DEFINE_MO_TAG(OBJECT, I, X) |
#define | PUDDLE_HELPER_MAKE_MO_GET_CATEGORY_FN(OBJECT, I, X) |
Enumerations | |
enum | puddle::meta_object_category { MIRROR_FOR_EACH_META_OBJECT } |
Enumeration of meta-object categorization tags. More... |
Definitions of the run-time meta-object categories.
Copyright 2008-2011 Matus Chochlik. Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#define PUDDLE_HELPER_MAKE_MO_GET_CATEGORY_FN | ( | OBJECT, | |
I, | |||
X | |||
) |
inline meta_object_category get_category( \ mirror::meta_ ## OBJECT ## _tag \ ) \ { \ return meta_object_category::meta_ ## OBJECT ## _tag; \ }
#define PUDDLE_HLPR_DEFINE_MO_TAG | ( | OBJECT, | |
I, | |||
X | |||
) |
meta_ ## OBJECT ## _tag = \ MIRROR_FOR_EACH_META_OBJECT_BASE( \ OBJECT, \ PUDDLE_HLPR_DEFINE_MO_TAG_NAME, \ X, \ MIRROR_PP_EMPTY \ ) 1ULL << I,