the outline of a struct that names its members (dx_serialize.h: visit): a line per member, as its kind says - a power of two, a bitmap of named bits, a choice among the options its struct allows as it stands -, a nested struct a branch of its own or, where all its members are switches, one line of toggles; an array a branch whose count is chosen, its elements beneath it. Every edit commits and tells changed, so every control asks its value and its options anew: what one member allows follows another. extend() adds a caller's lines to an array's element.
More...
#include <dx_gui_model.h>
|
| | describe(node& at, bool editable, std::function<void()> commit, std::shared_ptr<class changed> changed, std::function<void(const std::string &, uint32_t, node &)> extend= {}) |
| template<size_t size> |
| void | operator ()(const char* name, char(& chars)[size]) |
| void | operator ()(const char* name, const std::string& text) |
| template<typename element_t, size_t size, typename count_t> |
| void | operator ()(const char* name, element_t(& elements)[size], count_t& count) |
| void | operator ()(const char* name, log::level& level) |
| template<typename nested_t> |
| void | operator ()(const char* name, nested_t& nested) |
| template<typename names_t, typename get_t, typename set_t> |
| void | operator ()(const char* name, present::bitmap<names_t> bitmap, get_t&& get, set_t&& set) |
| template<typename options_t, typename get_t, typename set_t> |
| void | operator ()(const char* name, present::choice<options_t> choice, get_t&& get, set_t&& set) |
| template<typename get_t, typename set_t> |
| void | operator ()(const char* name, present::power2 range, get_t&& get, set_t&& set) |
| void | operator ()(const char* name, stream::direction::direction& direction) |
| template<typename value_t, typename get_t, typename set_t> |
| void | operator ()(const char* name, value_t *, get_t&& get, set_t&& set) |
| template<typename value_t, size_t rows, size_t columns> |
| void | operator ()(const char* name, value_t(& values)[rows][columns]) |
| template<typename value_t, size_t size> |
| void | operator ()(const char* name, value_t(& values)[size]) |
the outline of a struct that names its members (dx_serialize.h: visit): a line per member, as its kind says - a power of two, a bitmap of named bits, a choice among the options its struct allows as it stands -, a nested struct a branch of its own or, where all its members are switches, one line of toggles; an array a branch whose count is chosen, its elements beneath it. Every edit commits and tells changed, so every control asks its value and its options anew: what one member allows follows another. extend() adds a caller's lines to an array's element.
◆ describe()
| dx::gui::describe::describe(node& at, bool editable, std::function<void()> commit, std::shared_ptr<class changed> changed, std::function<void(const std::string&, uint32_t, node&)> extend= {}) |
|
inline |
◆ operator ()() [1/12]
template<size_t size>
| void dx::gui::describe::operator ()(const char* name, char(&) chars[size]) |
|
inline |
◆ operator ()() [2/12]
| void dx::gui::describe::operator ()(const char* name, const std::string& text) |
|
inline |
◆ operator ()() [3/12]
template<typename element_t, size_t size, typename count_t>
| void dx::gui::describe::operator ()(const char* name, element_t(&) elements[size], count_t& count) |
|
inline |
◆ operator ()() [4/12]
| void dx::gui::describe::operator ()(const char* name, log::level& level) |
|
inline |
◆ operator ()() [5/12]
template<typename nested_t>
| void dx::gui::describe::operator ()(const char* name, nested_t& nested) |
|
inline |
◆ operator ()() [6/12]
template<typename names_t, typename get_t, typename set_t>
| void dx::gui::describe::operator ()(const char* name, present::bitmap<names_t> bitmap, get_t&& get, set_t&& set) |
|
inline |
◆ operator ()() [7/12]
template<typename options_t, typename get_t, typename set_t>
| void dx::gui::describe::operator ()(const char* name, present::choice<options_t> choice, get_t&& get, set_t&& set) |
|
inline |
◆ operator ()() [8/12]
template<typename get_t, typename set_t>
| void dx::gui::describe::operator ()(const char* name, present::power2 range, get_t&& get, set_t&& set) |
|
inline |
◆ operator ()() [9/12]
◆ operator ()() [10/12]
template<typename value_t, typename get_t, typename set_t>
| void dx::gui::describe::operator ()(const char* name, value_t*, get_t&& get, set_t&& set) |
|
inline |
◆ operator ()() [11/12]
template<typename value_t, size_t rows, size_t columns>
| void dx::gui::describe::operator ()(const char* name, value_t(&) values[rows][columns]) |
|
inline |
◆ operator ()() [12/12]
template<typename value_t, size_t size>
| void dx::gui::describe::operator ()(const char* name, value_t(&) values[size]) |
|
inline |
The documentation for this class was generated from the following file: