alpaqa pi-pico
Nonconvex constrained optimization
Loading...
Searching...
No Matches
Functions
alpaqa::params::detail Namespace Reference

Functions

std::string join_sorted_keys (const auto &members)
 
template<class S >
auto find_param_or_throw (const std::string &key, const attribute_table_t< S > &members, const attribute_alias_table_t< S > &aliases, const std::string &type_name) -> typename attribute_table_t< S >::const_iterator
 
template<class S >
auto find_param_or_throw (const std::string &key, const attribute_table_t< S > &members, const std::false_type &, const std::string &type_name) -> typename attribute_table_t< S >::const_iterator
 
template<class Aliases >
void set_param_json (const any_ptr &t, const json &j, const attribute_table_t< json > &members, const Aliases &aliases, const std::string &type_name)
 
template<class S >
auto find_param (const attribute_table_t< S > &m, std::string_view key, std::string &error_msg) -> std::optional< typename attribute_table_t< S >::const_iterator >
 

Function Documentation

◆ join_sorted_keys()

std::string join_sorted_keys ( const auto members)

Definition at line 18 of file json.tpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ find_param_or_throw() [1/2]

template<class S >
auto find_param_or_throw ( const std::string &  key,
const attribute_table_t< S > &  members,
const attribute_alias_table_t< S > &  aliases,
const std::string &  type_name 
) -> typename attribute_table_t<S>::const_iterator

Definition at line 27 of file json.tpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ find_param_or_throw() [2/2]

template<class S >
auto find_param_or_throw ( const std::string &  key,
const attribute_table_t< S > &  members,
const std::false_type &  ,
const std::string &  type_name 
) -> typename attribute_table_t<S>::const_iterator

Definition at line 56 of file json.tpp.

+ Here is the call graph for this function:

◆ set_param_json()

template<class Aliases >
void set_param_json ( const any_ptr t,
const json &  j,
const attribute_table_t< json > &  members,
const Aliases aliases,
const std::string &  type_name 
)

Definition at line 70 of file json.tpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ find_param()

template<class S >
auto find_param ( const attribute_table_t< S > &  m,
std::string_view  key,
std::string &  error_msg 
) -> std::optional<typename attribute_table_t<S>::const_iterator>

Definition at line 52 of file params.tpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function: