summaryrefslogtreecommitdiffstats
path: root/include/godot_cpp/core/Dictionary.hpp
diff options
context:
space:
mode:
authorKarroffel <therzog@mail.de>2017-05-12 21:53:07 +0200
committerKarroffel <therzog@mail.de>2017-05-12 21:53:07 +0200
commitcf30b0f39ddb2c6acad5d22655c4bca9015d7502 (patch)
tree45a4df6ff16450b334d6c8856a74f4f47f3e9336 /include/godot_cpp/core/Dictionary.hpp
parent3969bcf07857b1a4af391bbddb924388cc7f44bb (diff)
downloadredot-cpp-cf30b0f39ddb2c6acad5d22655c4bca9015d7502.tar.gz
rewrote binding generator in python
Diffstat (limited to 'include/godot_cpp/core/Dictionary.hpp')
-rw-r--r--include/godot_cpp/core/Dictionary.hpp59
1 files changed, 0 insertions, 59 deletions
diff --git a/include/godot_cpp/core/Dictionary.hpp b/include/godot_cpp/core/Dictionary.hpp
deleted file mode 100644
index 139e3ff..0000000
--- a/include/godot_cpp/core/Dictionary.hpp
+++ /dev/null
@@ -1,59 +0,0 @@
-#ifndef DICTIONARY_H
-#define DICTIONARY_H
-
-#if defined(_WIN32)
-# ifdef _GD_CPP_CORE_API_IMPL
-# define GD_CPP_CORE_API __declspec(dllexport)
-# else
-# define GD_CPP_CORE_API __declspec(dllimport)
-# endif
-#else
-# define GD_CPP_CORE_API
-#endif
-
-#include "Variant.hpp"
-
-#include "Array.hpp"
-
-#include <godot/godot_dictionary.h>
-
-namespace godot {
-
-class GD_CPP_CORE_API Dictionary {
- godot_dictionary _godot_dictionary;
-public:
- Dictionary();
-
- void clear();
-
- bool empty() const;
-
- void erase(const Variant& key);
-
- bool has(const Variant& key) const;
-
- bool has_all(const Array& keys) const;
-
- uint32_t hash() const;
-
- Array keys() const;
-
- int parse_json(const String& json);
-
- Variant &operator [](const Variant& key);
-
- const Variant &operator [](const Variant& key) const;
-
- int size() const;
-
- String to_json() const;
-
- Array values() const;
-
- ~Dictionary();
-
-};
-
-}
-
-#endif // DICTIONARY_H