| 127 | |
| 128 | template <typename Type = Value> |
| 129 | Type get(const std::string& name) { |
| 130 | auto it = m_internal->properties.find(name); |
| 131 | if (it == m_internal->properties.end()) |
| 132 | return Value{}; |
| 133 | it->second.getter(); |
| 134 | return it->second.getter.result; |
| 135 | } |
| 136 | |
| 137 | void set(const std::string& name, const Value& value) { |
| 138 | auto it = m_internal->properties.find(name); |
no test coverage detected