summaryrefslogtreecommitdiff
path: root/include/constant.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/constant.h')
-rw-r--r--include/constant.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/constant.h b/include/constant.h
index 4a120f4..5353bf4 100644
--- a/include/constant.h
+++ b/include/constant.h
@@ -36,6 +36,13 @@ public:
* @param size Size of the value (in case of a string)
*/
Constant(const char *name, std::nullptr_t value = nullptr);
+
+ /**
+ * Constructor to create a constant for a boolean value
+ *
+ * @param name Constant's name
+ * @param value Constant's value
+ */
Constant(const char *name, bool value);
Constant(const char *name, int32_t value);
Constant(const char *name, int64_t value);