Configuration for ICP instances.
More...
#include <icp.h>
|
| | Config () |
| | Constructs an empty configuration.
|
| |
| template<typename T > |
| void | set (std::string key, T value) |
| | Associates key with an integer, double, or string value.
|
| |
| template<typename T > |
| T | get (std::string key, T otherwise) const |
| | Retrieves the integer, double, or string value associated with key.
|
| |
Configuration for ICP instances.
Definition at line 81 of file icp.h.
◆ Config()
| icp::ICP::Config::Config |
( |
| ) |
|
|
inline |
Constructs an empty configuration.
Definition at line 87 of file icp.h.
◆ get()
template<typename T >
| T icp::ICP::Config::get |
( |
std::string |
key, |
|
|
T |
otherwise |
|
) |
| const |
|
inline |
Retrieves the integer, double, or string value associated with key.
Definition at line 98 of file icp.h.
◆ set()
| void icp::ICP::Config::set |
( |
std::string |
key, |
|
|
T |
value |
|
) |
| |
|
inline |
Associates key with an integer, double, or string value.
Definition at line 91 of file icp.h.
The documentation for this class was generated from the following file: