summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2017-01-09 00:30:08 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2017-01-09 00:30:08 +0000
commitf9982f05e172ebce35c9f7c08fb35a8df8c40e67 (patch)
treef37011dfec2c5998ed6b6090d148efc042b2b1cf
parentImplement getting PQ command option settings from map (diff)
downloadlibdbpp-f9982f05e172ebce35c9f7c08fb35a8df8c40e67.tar.bz2
libdbpp-f9982f05e172ebce35c9f7c08fb35a8df8c40e67.tar.xz
libdbpp-f9982f05e172ebce35c9f7c08fb35a8df8c40e67.zip
Add missing doxygen commentslibdbpp-1.1.2
-rw-r--r--libdbpp/command.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libdbpp/command.h b/libdbpp/command.h
index ba51031..86e0a10 100644
--- a/libdbpp/command.h
+++ b/libdbpp/command.h
@@ -37,6 +37,7 @@ namespace DB {
boost::optional<std::size_t> hash;
protected:
+ /// Helper function to extract values from a CommandOptionsMap
template<typename X>
static X get(const CommandOptionsMap & map, const std::string & key, const X & def)
{
@@ -46,6 +47,7 @@ namespace DB {
}
return def;
}
+ /// Helper function to test if a value is set in a CommandOptionsMap
static bool isSet(const CommandOptionsMap & map, const std::string & key);
};