summaryrefslogtreecommitdiffstats
path: root/parameter/include
diff options
context:
space:
mode:
Diffstat (limited to 'parameter/include')
-rw-r--r--parameter/include/ParameterHandle.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/parameter/include/ParameterHandle.h b/parameter/include/ParameterHandle.h
index 0e6660f..d548b80 100644
--- a/parameter/include/ParameterHandle.h
+++ b/parameter/include/ParameterHandle.h
@@ -45,7 +45,16 @@ public:
// Boolean access
bool setAsBoolean(bool bValue, std::string& strError);
- bool getAsBoolean(bool bValue, std::string& strError) const;
+
+ /**
+ * Fetch the parameter value as a boolean.
+ *
+ * @param bValue Reference to a boolean variable where the value will be stored
+ * @param strError Error message if a problem occured
+ *
+ * @return true on success, false otherwise
+ */
+ bool getAsBoolean(bool& bValue, std::string& strError) const;
bool setAsBooleanArray(const std::vector<bool>& abValues, std::string& strError);
bool getAsBooleanArray(std::vector<bool>& abValues, std::string& strError) const;