Public Member Functions | Private Member Functions | List of all members
can::Settings Class Referenceabstract

#include <settings.h>

Inheritance diagram for can::Settings:
Inheritance graph

Public Member Functions

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 ()

Private Member Functions

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

Detailed Description

Definition at line 11 of file settings.h.

Constructor & Destructor Documentation

◆ ~Settings()

virtual can::Settings::~Settings ( )

Definition at line 27 of file settings.h.

Member Function Documentation

◆ get()

template<typename T >
bool can::Settings::get ( const std::string &  n,
T &  val 
) const

Definition at line 21 of file settings.h.

◆ get_optional()

template<typename T >
T can::Settings::get_optional ( const std::string &  n,
const T &  def 
) const

Definition at line 14 of file settings.h.

◆ getRepr()

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

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