#include <ParameterTrie.h>
|
|
| ParameterTrie (const ParameterTrie &other) |
|
ParameterTrie & | operator= (const ParameterTrie &other) |
|
template<typename T, typename... Args> |
| ParameterTyped< T > & | add (const std::string_view name, Args... args) |
|
template<typename T> |
| ParameterTyped< T > & | add_unset (const std::string_view name) |
|
Parameter * | find (const std::string_view name) const |
|
template<typename T> |
| ParameterTyped< T > * | find (const std::string_view name) const |
|
const ParameterTrie * | get_subtrie (const std::string_view name) const |
| template<typename Function> |
| bool | all (Function f) const |
| template<typename Function> |
| void | visit (Function f) const |
|
template<typename Function> |
| void | visit_impl (std::string_view name, Function f) const |
|
|
template<typename T, typename... Args> |
| ParameterTyped< T > & | add_generic (const std::string_view name, bool has_value, Args &&... args) |
Store parameters in a trie structure
Parameters can be expressed in a trie-like system by using '/' command in a path-like style
◆ all()
template<typename Function>
| bool Simo::Parameter::ParameterTrie::all |
( |
Function | f | ) |
const |
|
inlinenodiscard |
Verify that predicate function is valid for all the parameters. Return false as soon as possible
◆ visit()
template<typename Function>
| void Simo::Parameter::ParameterTrie::visit |
( |
Function | f | ) |
const |
|
inline |
Use function on all the elements of the trie The function must accept a T* argument
The documentation for this class was generated from the following file: