summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRico Antonio Felix <ricoantoniofelix@yahoo.com>2015-06-23 21:43:34 -0400
committerRico Antonio Felix <ricoantoniofelix@yahoo.com>2015-06-23 21:43:34 -0400
commit1dd8cc398e82842b94508d943bf188a400ac31fb (patch)
treee4111f042498b001645adbde86cb97fad01aab32
parent5754efa4b1b80f91b17c0ea1130de020ffb1b449 (diff)
Added API documentation for Constant(const char*, const std::string&)
-rw-r--r--include/constant.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/constant.h b/include/constant.h
index a3a059f..b578019 100644
--- a/include/constant.h
+++ b/include/constant.h
@@ -87,6 +87,14 @@ public:
* @param size Length of the string value
*/
Constant(const char *name, const char *value, size_t size);
+
+ /**
+ * Constructor to create a constant for a string literal
+ * using a std::string
+ *
+ * @param name Constant's name
+ * @param value Constant's value
+ */
Constant(const char *name, const std::string &value);
/**