summaryrefslogtreecommitdiffstats
path: root/include/core/Variant.hpp
diff options
context:
space:
mode:
authorMaxim Sheronov <maxim.sheronov@gmail.com>2017-09-11 22:34:20 +0300
committerMaxim Sheronov <maxim.sheronov@gmail.com>2017-09-13 21:30:30 +0300
commit8939c663d9947989757e7a1a1e5cd1ab1d1422db (patch)
treee09ab1ad76063edb63da3273916826d7b7b3fb63 /include/core/Variant.hpp
parent5be9332c424d08bf49c2e142e4477a6c4d3dae04 (diff)
downloadredot-cpp-8939c663d9947989757e7a1a1e5cd1ab1d1422db.tar.gz
Fix bindings generation for enums
Diffstat (limited to 'include/core/Variant.hpp')
-rw-r--r--include/core/Variant.hpp40
1 files changed, 40 insertions, 0 deletions
diff --git a/include/core/Variant.hpp b/include/core/Variant.hpp
index 9ffa398..6d9b1a7 100644
--- a/include/core/Variant.hpp
+++ b/include/core/Variant.hpp
@@ -74,6 +74,46 @@ public:
};
+ enum Operator {
+
+ //comparation
+ OP_EQUAL,
+ OP_NOT_EQUAL,
+ OP_LESS,
+ OP_LESS_EQUAL,
+ OP_GREATER,
+ OP_GREATER_EQUAL,
+
+ //mathematic
+ OP_ADD,
+ OP_SUBSTRACT,
+ OP_MULTIPLY,
+ OP_DIVIDE,
+ OP_NEGATE,
+ OP_POSITIVE,
+ OP_MODULE,
+ OP_STRING_CONCAT,
+
+ //bitwise
+ OP_SHIFT_LEFT,
+ OP_SHIFT_RIGHT,
+ OP_BIT_AND,
+ OP_BIT_OR,
+ OP_BIT_XOR,
+ OP_BIT_NEGATE,
+
+ //logic
+ OP_AND,
+ OP_OR,
+ OP_XOR,
+ OP_NOT,
+
+ //containment
+ OP_IN,
+ OP_MAX
+
+ };
+
Variant();
Variant(const Variant& v);