Parameter vector.
More...
#include <nabo.h>
List of all members.
Public Member Functions |
template<typename T > |
T | get (const std::string &key, const T &defaultValue) const |
| Get the value of a key, return defaultValue if the key does not exist.
|
| Parameters () |
| Create an empty parameter vector.
|
| Parameters (const std::string &key, const linb::any &value) |
| Create a parameter vector with a single entry.
|
Detailed Description
Parameter vector.
Definition at line 231 of file nabo.h.
Constructor & Destructor Documentation
Create an empty parameter vector.
Definition at line 234 of file nabo.h.
Create a parameter vector with a single entry.
- Parameters:
-
key | entry key |
value | entry value |
Definition at line 239 of file nabo.h.
Member Function Documentation
Get the value of a key, return defaultValue if the key does not exist.
- Parameters:
-
key | requested key |
defaultValue | value to return if the key does not exist |
- Returns:
- value of the key, or defaultValue if the key does not exist
Definition at line 246 of file nabo.h.
The documentation for this struct was generated from the following file: