| 107 | */ |
| 108 | template<typename T> |
| 109 | bool SetOption(const char *name, const T& value) |
| 110 | { |
| 111 | if (!m_Options.count(name)) |
| 112 | return false; |
| 113 | m_Options.at(name).value() = value; |
| 114 | notify(m_Options); |
| 115 | return true; |
| 116 | } |
| 117 | |
| 118 | /** |
| 119 | * @brief Check is value explicitly given or default |
no outgoing calls
no test coverage detected