diff options
author | Karroffel <therzog@mail.de> | 2017-05-12 21:53:07 +0200 |
---|---|---|
committer | Karroffel <therzog@mail.de> | 2017-05-12 21:53:07 +0200 |
commit | cf30b0f39ddb2c6acad5d22655c4bca9015d7502 (patch) | |
tree | 45a4df6ff16450b334d6c8856a74f4f47f3e9336 /include/godot_cpp/core/String.hpp | |
parent | 3969bcf07857b1a4af391bbddb924388cc7f44bb (diff) | |
download | redot-cpp-cf30b0f39ddb2c6acad5d22655c4bca9015d7502.tar.gz |
rewrote binding generator in python
Diffstat (limited to 'include/godot_cpp/core/String.hpp')
-rw-r--r-- | include/godot_cpp/core/String.hpp | 79 |
1 files changed, 0 insertions, 79 deletions
diff --git a/include/godot_cpp/core/String.hpp b/include/godot_cpp/core/String.hpp deleted file mode 100644 index ee6532e..0000000 --- a/include/godot_cpp/core/String.hpp +++ /dev/null @@ -1,79 +0,0 @@ -#ifndef STRING_H -#define STRING_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 <godot/godot_string.h> - -namespace godot { - -class NodePath; - -class GD_CPP_CORE_API String -{ - godot_string _godot_string; -public: - String(); - - String(const char *contents); - - String(const wchar_t *contents); - - String(const wchar_t c); - - String(const String& other); - - ~String(); - - - String substr(int p_from,int p_chars) const; - - - wchar_t &operator [](const int idx); - - wchar_t operator [](const int idx) const; - - int length() const; - - void operator =(const String &s); - - bool operator ==(const String &s); - - bool operator !=(const String &s); - - String operator +(const String &s); - - void operator +=(const String &s); - - void operator +=(const wchar_t c); - - bool operator <(const String &s); - - bool operator <=(const String &s); - - bool operator >(const String &s); - - bool operator >=(const String &s); - - operator NodePath() const; - - const char *c_string() const; - -}; - -String operator +(const char *a, const String& b); - - -} - - - -#endif // STRING_H |