14 #ifndef HANDLER_PROPERTIES_HPP
15 #define HANDLER_PROPERTIES_HPP
17 #include <Poco/Dynamic/Var.h>
18 #include <Poco/Types.h>
48 template <
typename _Property>
void set(
const std::string&
name, _Property value);
49 template <
typename _Property> _Property
get(
const std::string&
name, _Property defaultValue=_Property());
65 Poco::Dynamic::Var var =
getItem(name);
66 _Property value = defaultValue;
69 value = var.convert<_Property>();
82 #endif // HANDLER_PROPERTIES_HPP