summaryrefslogtreecommitdiffstats
path: root/include/godot_cpp/core/NodePath.hpp
diff options
context:
space:
mode:
authorKarroffel <therzog@mail.de>2017-03-06 08:49:24 +0100
committerKarroffel <therzog@mail.de>2017-03-06 08:49:24 +0100
commit632c953e4211eeddf9932918a26f0d2101c3fc38 (patch)
tree34f11acb2246c6ddc0d49e436daafb2cfc22069d /include/godot_cpp/core/NodePath.hpp
parent92e1f553ec7b6c609a8503a0d9bbf21f236a9805 (diff)
downloadredot-cpp-632c953e4211eeddf9932918a26f0d2101c3fc38.tar.gz
buuunch of stuff
Diffstat (limited to 'include/godot_cpp/core/NodePath.hpp')
-rw-r--r--include/godot_cpp/core/NodePath.hpp42
1 files changed, 42 insertions, 0 deletions
diff --git a/include/godot_cpp/core/NodePath.hpp b/include/godot_cpp/core/NodePath.hpp
new file mode 100644
index 0000000..180b8a1
--- /dev/null
+++ b/include/godot_cpp/core/NodePath.hpp
@@ -0,0 +1,42 @@
+#ifndef NODEPATH_H
+#define NODEPATH_H
+
+#include "String.hpp"
+
+#include <godot/godot_node_path.h>
+
+namespace godot {
+
+
+class NodePath
+{
+ godot_node_path _node_path;
+public:
+ NodePath();
+
+ NodePath(const String &from);
+
+ String get_name(const int idx) const;
+
+ int get_name_count() const;
+
+ String get_property() const;
+
+ String get_subname(const int idx) const;
+
+ int get_subname_count() const;
+
+ bool is_absolute() const;
+
+ bool is_empty() const;
+
+ operator String() const;
+
+ ~NodePath();
+};
+
+
+
+}
+
+#endif // NODEPATH_H