alpaqa 1.1.0a1
Nonconvex constrained optimization
Loading...
Searching...
No Matches
attribute_accessor< json > Struct Reference

Detailed Description

Definition at line 96 of file json.tpp.

Collaboration diagram for attribute_accessor< json >:

Static Public Member Functions

template<class T, class T_actual, class A>
static attribute_accessor make (A T_actual::*attr, std::string_view="")

Public Attributes

std::function< void(const guanaqo::any_ptr &, const json &)> set
std::function< void(const guanaqo::any_ptr &, json &)> get

Member Function Documentation

◆ make()

template<class T, class T_actual, class A>
attribute_accessor make ( A T_actual::* attr,
std::string_view = "" )
inlinestatic

Definition at line 98 of file json.tpp.

Here is the call graph for this function:

Member Data Documentation

◆ set

std::function<void(const guanaqo::any_ptr &, const json &)> set

Definition at line 108 of file json.tpp.

◆ get

std::function<void(const guanaqo::any_ptr &, json &)> get

Definition at line 109 of file json.tpp.


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