Simo 0.0.1
Loading...
Searching...
No Matches
Simo::Parameter::ParameterTrie Class Reference

#include <ParameterTrie.h>

Public Member Functions

 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)
Parameterfind (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

Public Attributes

std::unique_ptr< Parametervalue

Protected Member Functions

template<typename T, typename... Args>
ParameterTyped< T > & add_generic (const std::string_view name, bool has_value, Args &&... args)

Detailed Description

Store parameters in a trie structure

Parameters can be expressed in a trie-like system by using '/' command in a path-like style

Member Function Documentation

◆ 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


The documentation for this class was generated from the following file: