summaryrefslogtreecommitdiffstats
path: root/include/core/Variant.hpp
diff options
context:
space:
mode:
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);