Files
godot-cpp-double/include/core/NodePath.hpp

49 lines
639 B
C++
Raw Permalink Normal View History

2017-03-03 01:07:14 +01:00
#ifndef NODEPATH_H
#define NODEPATH_H
2017-03-06 08:49:24 +01:00
#include "String.hpp"
2017-03-03 01:07:14 +01:00
2017-10-03 16:07:34 +05:30
#include <gdnative/node_path.h>
2017-03-03 01:07:14 +01:00
namespace godot {
class NodePath
2017-03-03 01:07:14 +01:00
{
godot_node_path _node_path;
public:
NodePath();
NodePath(const NodePath &other);
NodePath(const String& from);
NodePath(const char *contents);
String get_name(const int idx) const;
int get_name_count() const;
String get_subname(const int idx) const;
int get_subname_count() const;
bool is_absolute() const;
bool is_empty() const;
operator String() const;
void operator =(const NodePath& other);
2018-03-02 19:04:57 +01:00
bool operator ==(const NodePath& other);
~NodePath();
2017-03-03 01:07:14 +01:00
};
}
#endif // NODEPATH_H