alpaqa no-casadi-dep
Nonconvex constrained optimization
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
param-complete.hpp File Reference
#include <alpaqa/params/structs.hpp>
#include <optional>
#include <string_view>
#include <vector>
+ Include dependency graph for param-complete.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  MemberGetter
 
struct  Result
 
struct  Result::Member
 
struct  attribute_accessor< MemberGetter >
 
struct  enum_accessor< T, MemberGetter >
 

Namespaces

namespace  alpaqa
 
namespace  alpaqa::params
 

Functions

template<class T >
Result get_members (const MemberGetter &s)
 Catch-all.
 
template<class T >
bool is_leaf ()
 
void print_completion (std::string_view method, std::string_view params)
 

Class Documentation

◆ alpaqa::params::MemberGetter

struct alpaqa::params::MemberGetter
+ Collaboration diagram for MemberGetter:
Class Members
string_view full_key Full key string, used for diagnostics.
string_view key The subkey to resolve next.
optional< string_view > value The value of the parameter to store.

◆ alpaqa::params::Result

struct alpaqa::params::Result
+ Collaboration diagram for Result:
Class Members
bool leaf
string_view prefix
vector< Member > members

◆ alpaqa::params::Result::Member

struct alpaqa::params::Result::Member
+ Collaboration diagram for Result::Member:
Class Members
string_view name
optional< string_view > doc = std::nullopt
optional< char > suffix = std::nullopt

Function Documentation

◆ print_completion()

void print_completion ( std::string_view  method,
std::string_view  params 
)

Definition at line 267 of file param-complete.cpp.

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