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

#include <settings.h>

Inheritance diagram for can::Settings:
Inheritance graph
[legend]

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

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
inline

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
inline

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:


socketcan_interface
Author(s): Mathias Lüdtke
autogenerated on Mon Feb 28 2022 23:28:00