alpaqa 1.1.0a1
Nonconvex constrained optimization
Loading...
Searching...
No Matches
json.tpp File Reference
#include <alpaqa/config/config.hpp>
#include <alpaqa/params/json.hpp>
#include <guanaqo/any-ptr.hpp>
#include <guanaqo/demangled-typename.hpp>
#include <guanaqo/string-util.hpp>
#include <nlohmann/json.hpp>
#include <functional>
#include <stdexcept>
#include <type_traits>
Include dependency graph for json.tpp:
This graph shows which files directly or indirectly include this file:

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 guanaqo::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)