|
dxd - dynax driver framework 3.0.0d222
cross platform open source driver development framework
|
Macros | |
| #define | DX_TREE_GET_array(id, ids) |
| #define | DX_TREE_GET_cstr(id) |
| #define | DX_TREE_GET_direction(id) |
| #define | DX_TREE_GET_fourchar(id) |
| #define | DX_TREE_GET_level(id) |
| #define | DX_TREE_GET_matrix(id) |
| #define | DX_TREE_GET_nested(id) |
| #define | DX_TREE_GET_value(id) |
| #define | DX_TREE_GET_vector(id) |
| #define | DX_TREE_SERIALIZE(members) |
| the tree serialization pair a struct's member list expands into | |
| #define | DX_TREE_SET_array(id, ids) |
| #define | DX_TREE_SET_cstr(id) |
| #define | DX_TREE_SET_direction(id) |
| #define | DX_TREE_SET_fourchar(id) |
| #define | DX_TREE_SET_level(id) |
| #define | DX_TREE_SET_matrix(id) |
| #define | DX_TREE_SET_nested(id) |
| #define | DX_TREE_SET_value(id) |
| member lists and their serialization sinks | |
| #define | DX_TREE_SET_vector(id) |
| #define DX_TREE_GET_array | ( | id, | |
| ids ) |
| #define DX_TREE_GET_cstr | ( | id | ) |
| #define DX_TREE_GET_direction | ( | id | ) |
| #define DX_TREE_GET_fourchar | ( | id | ) |
| #define DX_TREE_GET_level | ( | id | ) |
| #define DX_TREE_GET_matrix | ( | id | ) |
| #define DX_TREE_GET_nested | ( | id | ) |
| #define DX_TREE_GET_value | ( | id | ) |
| #define DX_TREE_GET_vector | ( | id | ) |
| #define DX_TREE_SERIALIZE | ( | members | ) |
the tree serialization pair a struct's member list expands into
| #define DX_TREE_SET_array | ( | id, | |
| ids ) |
| #define DX_TREE_SET_cstr | ( | id | ) |
| #define DX_TREE_SET_direction | ( | id | ) |
| #define DX_TREE_SET_fourchar | ( | id | ) |
| #define DX_TREE_SET_level | ( | id | ) |
| #define DX_TREE_SET_matrix | ( | id | ) |
| #define DX_TREE_SET_nested | ( | id | ) |
| #define DX_TREE_SET_value | ( | id | ) |
member lists and their serialization sinks
Each struct names its members once, as a DX_MEMBERS_<struct> list of X##_<kind>(member[, count]) entries, and hands that list to a sink macro. Two sinks consume it: the CF dictionary one (macOS, where the desc is also the device tree's wire format - see dx::coreaudio::pod::device's desc property) and the dx::key_value_tree one below, which recurses through named child nodes instead of flattening the struct into one opaque value.
A scalar rides as uint32_t so it lands in the store's own integer type (REG_DWORD) rather than a sizeof-wide byte copy - bitfields and bool included. An array's elements are the decimal index, read back by the node's own child count, so their order is numeric by construction and never depends on how the store sorts key names.
| #define DX_TREE_SET_vector | ( | id | ) |
| (c) copyright 2009 dynamic acoustics e.U. | generated on |