diff options
author | Thomas Herzog <thomas.herzog@mail.com> | 2017-09-15 08:46:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-15 08:46:04 +0200 |
commit | e32d7bb1b9d2f8cbd3b0ea8e6237841ca978e7da (patch) | |
tree | 4b44ca201e683b5c99f81734603e55e3f51aebf3 /include/core/Variant.hpp | |
parent | cb5b80d4211cce30619d8e096b558bbb6a9da49b (diff) | |
parent | 8939c663d9947989757e7a1a1e5cd1ab1d1422db (diff) | |
download | redot-cpp-e32d7bb1b9d2f8cbd3b0ea8e6237841ca978e7da.tar.gz |
Merge pull request #33 from maxim-sheronov/fix_binding_generation_for_enums
Fix bindings generation for enums
Diffstat (limited to 'include/core/Variant.hpp')
-rw-r--r-- | include/core/Variant.hpp | 40 |
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); |