|
taco-db
0.1.0
|
Namespaces | |
| taco | |
Macros | |
| #define | NODE_TAG_GROUP_NUMBER_MASK 0xf000 |
| #define | NODE_TAG_GROUP_NUMBER_SHIFT 12 |
| #define | NODE_TAG_MAX_NUM_GROUPS 16 |
| #define | NODE_TAG_GROUP_OFFSET_MASK 0x0fff |
| #define | node_tag_group_number(tag) |
| #define | node_tag_group_offset(tag) (((uint16_t) tag) & NODE_TAG_GROUP_OFFSET_MASK) |
| #define | NODE_TAG(...) |
| #define | NODE_TAG(clsname, ...) STRINGIFY(clsname), |
| #define | NODE_TAG(clsname, ...) CONCAT(NodeTag::T_, CAR(__VA_ARGS__)), |
Functions | |
| static constexpr uint16_t | taco::node_tag_offset (NodeTag tag) |
| const char * | taco::node_tag_name (NodeTag tag) |
| Returns the class name of the tag's class. More... | |
| NodeTag | taco::node_tag_base (NodeTag tag) |
| Returns the immediate base class of `‘tag’'. More... | |
| bool | taco::node_tag_is_a (NodeTag tag1, NodeTag tag2) |
Returns whether tag1'' is a class derived fromtag2''. More... | |
Variables | |
| static constexpr const uint16_t | taco::node_tag_group_count [16] |
| static constexpr const uint16_t | taco::node_tag_group_base_offset [16] |
| static constexpr const uint16_t | taco::num_node_tags |
| static const char *const | taco::node_tag_name_ [num_node_tags] |
| static constexpr NodeTag | taco::node_tag_base_ [num_node_tags] |
| #define NODE_TAG | ( | ... | ) |
| #define NODE_TAG | ( | clsname, | |
| ... | |||
| ) | STRINGIFY(clsname), |
| #define node_tag_group_number | ( | tag | ) |
| #define NODE_TAG_GROUP_NUMBER_MASK 0xf000 |
| #define NODE_TAG_GROUP_NUMBER_SHIFT 12 |
| #define node_tag_group_offset | ( | tag | ) | (((uint16_t) tag) & NODE_TAG_GROUP_OFFSET_MASK) |
| #define NODE_TAG_GROUP_OFFSET_MASK 0x0fff |
| #define NODE_TAG_MAX_NUM_GROUPS 16 |