Public Member Functions
Nabo::Parameters Struct Reference

Parameter vector. More...

#include <nabo.h>

List of all members.

Public Member Functions

template<typename 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 boost::any &value)
 Create a parameter vector with a single entry.

Detailed Description

Parameter vector.

Definition at line 218 of file nabo.h.


Constructor & Destructor Documentation

Create an empty parameter vector.

Definition at line 221 of file nabo.h.

Nabo::Parameters::Parameters ( const std::string &  key,
const boost::any &  value 
) [inline]

Create a parameter vector with a single entry.

Parameters:
keyentry key
valueentry value

Definition at line 226 of file nabo.h.


Member Function Documentation

template<typename T >
T Nabo::Parameters::get ( const std::string &  key,
const T &  defaultValue 
) const [inline]

Get the value of a key, return defaultValue if the key does not exist.

Parameters:
keyrequested key
defaultValuevalue to return if the key does not exist
Returns:
value of the key, or defaultValue if the key does not exist

Definition at line 233 of file nabo.h.


The documentation for this struct was generated from the following file:


libnabo
Author(s): Stéphane Magnenat
autogenerated on Mon Oct 6 2014 10:27:28