docc 0.8.3 (0d44999b)
C++ API Reference
Loading...
Searching...
No Matches
sdfg::Options Class Reference

#include <sdfg/options.h>

Public Member Functions

void set (std::string key, OptionValue value)
void set_option (const OptionRegistry &registry, const std::string &key, const OptionValue &value)
bool has (std::string_view key) const
template<class T>
T get (const OptionKey< T > &key, T fallback=T{}) const

Static Public Member Functions

static const Options & empty ()

Member Function Documentation

◆ empty()

const Options & sdfg::Options::empty ( )
inlinestatic

◆ get()

template<class T>
T sdfg::Options::get ( const OptionKey< T > & key,
T fallback = T{} ) const
inline

◆ has()

bool sdfg::Options::has ( std::string_view key) const
inline

◆ set()

void sdfg::Options::set ( std::string key,
OptionValue value )
inline

◆ set_option()

void sdfg::Options::set_option ( const OptionRegistry & registry,
const std::string & key,
const OptionValue & value )
inline

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