Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
can::SettingsMap Class Reference

#include <settings.h>

Inheritance diagram for can::SettingsMap:
Inheritance graph

Public Member Functions

template<typename T >
void set (const std::string &n, const T &val)
- Public Member Functions inherited from can::Settings
template<typename T >
bool get (const std::string &n, T &val) const
template<typename T >
get_optional (const std::string &n, const T &def) const
virtual ~Settings ()

Static Public Member Functions

static std::shared_ptr< SettingsMapcreate ()

Private Member Functions

virtual bool getRepr (const std::string &n, std::string &repr) const

Private Attributes

std::map< std::string, std::string > settings_

Detailed Description

Definition at line 41 of file settings.h.

Member Function Documentation

◆ create()

static std::shared_ptr<SettingsMap> can::SettingsMap::create ( )

Definition at line 53 of file settings.h.

◆ getRepr()

virtual bool can::SettingsMap::getRepr ( const std::string &  n,
std::string &  repr 
) const

Implements can::Settings.

Definition at line 43 of file settings.h.

◆ set()

template<typename T >
void can::SettingsMap::set ( const std::string &  n,
const T &  val 

Definition at line 50 of file settings.h.

Member Data Documentation

◆ settings_

std::map<std::string, std::string> can::SettingsMap::settings_

Definition at line 42 of file settings.h.

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

Author(s): Mathias L├╝dtke
autogenerated on Tue May 4 2021 02:50:18