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 80 of file icp.h.
◆ Config()
icp::ICP::Config::Config |
( |
| ) |
|
|
inline |
Constructs an empty configuration.
Definition at line 86 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 97 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 90 of file icp.h.
The documentation for this class was generated from the following file: