diff --git a/include/gdn/node_path.h b/include/gdn/node_path.h index c8a2537..e96bf98 100644 --- a/include/gdn/node_path.h +++ b/include/gdn/node_path.h @@ -58,29 +58,37 @@ typedef struct { extern "C" { #endif -void GDAPI pandemonium_node_path_new(pandemonium_node_path *r_dest, const pandemonium_string *p_from); -void GDAPI pandemonium_node_path_new_copy(pandemonium_node_path *r_dest, const pandemonium_node_path *p_src); -void GDAPI pandemonium_node_path_destroy(pandemonium_node_path *p_self); - -pandemonium_string GDAPI pandemonium_node_path_as_string(const pandemonium_node_path *p_self); +//_FORCE_INLINE_ StringName get_sname() const { pandemonium_bool GDAPI pandemonium_node_path_is_absolute(const pandemonium_node_path *p_self); - pandemonium_int GDAPI pandemonium_node_path_get_name_count(const pandemonium_node_path *p_self); - pandemonium_string GDAPI pandemonium_node_path_get_name(const pandemonium_node_path *p_self, const pandemonium_int p_idx); - pandemonium_int GDAPI pandemonium_node_path_get_subname_count(const pandemonium_node_path *p_self); - pandemonium_string GDAPI pandemonium_node_path_get_subname(const pandemonium_node_path *p_self, const pandemonium_int p_idx); - +//Vector get_names() const; +//Vector get_subnames() const; pandemonium_string GDAPI pandemonium_node_path_get_concatenated_subnames(const pandemonium_node_path *p_self); +//NodePath rel_path_to(const NodePath &p_np) const; +pandemonium_node_path pandemonium_node_path_get_as_property_path(const pandemonium_node_path *p_self); + +//void prepend_period(); + +//_FORCE_INLINE_ uint32_t hash() const { + +pandemonium_string GDAPI pandemonium_node_path_as_string(const pandemonium_node_path *p_self); pandemonium_bool GDAPI pandemonium_node_path_is_empty(const pandemonium_node_path *p_self); pandemonium_bool GDAPI pandemonium_node_path_operator_equal(const pandemonium_node_path *p_self, const pandemonium_node_path *p_b); -pandemonium_node_path pandemonium_node_path_get_as_property_path(const pandemonium_node_path *p_self); +//void simplify(); +//NodePath simplified() const; + +//NodePath(const Vector &p_path, bool p_absolute); +//NodePath(const Vector &p_path, const Vector &p_subpath, bool p_absolute); +void GDAPI pandemonium_node_path_new(pandemonium_node_path *r_dest, const pandemonium_string *p_from); +void GDAPI pandemonium_node_path_new_copy(pandemonium_node_path *r_dest, const pandemonium_node_path *p_src); +void GDAPI pandemonium_node_path_destroy(pandemonium_node_path *p_self); #ifdef __cplusplus }