alpaqa no-casadi-dep
Nonconvex constrained optimization
Loading...
Searching...
No Matches
Classes | Namespaces | Typedefs | Functions
json.tpp File Reference
#include <alpaqa/config/config.hpp>
#include <alpaqa/params/json.hpp>
#include <alpaqa/util/demangled-typename.hpp>
#include <alpaqa/util/string-util.hpp>
#include <nlohmann/json.hpp>
#include <functional>
#include <stdexcept>
#include <type_traits>

Go to the source code of this file.

Classes

struct  attribute_accessor< json >
 

Namespaces

namespace  alpaqa
 
namespace  alpaqa::params
 
namespace  alpaqa::params::detail
 

Typedefs

using config_t = DefaultConfig
 

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 T >
requires requires { attribute_table<T, json>::table; }
void set_param_default (T &t, const json &j)
 
template<class T >
requires requires { enum_table<T, json>::table; }
void set_param_default (T &t, const json &j)
 
template<class T >
requires requires { enum_table<T, json>::table; }
void get_param_default (const T &t, json &j)
 
template<class T >
requires requires { attribute_table<T, json>::table; }
void get_param_default (const T &t, json &s)