hdf_get_obj(3)

πŸ’– hdf_get_obj β€” bestie's guide to grabbing a node πŸ’–

okay so this is hdf_get_obj(3), it lives in util/neo_hdf.h, and it's literally the "take me to my node" function. no cap.


✨ NAME ✨

hdf_get_obj β€” return the HDF data set node at a named location 🎯


🌸 SYNOPSIS 🌸

#include <util/neo_hdf.h>

HDF* hdf_get_obj (HDF *hdf, const char *name);

like. that's it. that's the whole vibe. πŸ¦‹


πŸŽ€ ARGUMENTS πŸŽ€

  • hdf β€” the dataset node to start from. your home base. your origin story. the place you're walking from, bestie 🏠
  • name β€” the name to walk to. the destination. the address. the "where we're going" πŸ’«

πŸ‘‘ DESCRIPTION πŸ‘‘

hdf_get_obj walks the dataset given by hdf to the node named name, and then returns the pointer to that node. πŸšΆβ™€οΈβž‘οΈπŸŽ

that's the whole thing. it's giving "path traversal but make it cute". you hand it a starting hdf, you tell it the name of the node you wanna end up at, it strolls on over there, and hands you back a pointer to that exact node. periodt. πŸ’…


⭐ RETURN VALUE ⭐

None. 🫠

yeah bestie I know. the manpage says None. we don't question the manpage. we simply respect it. πŸ™ˆ

lowkey important though β€” even though it says None up in here, the description is very much out here talking about returning a pointer. so like, read both, okay? πŸ’€

🌈 SEE ALSO 🌈

the whole friend group. every single one. go say hi πŸ‘‹

hdf_set_symlink(3), hdf_get_valuef(3), compareFunc)(3), hdf_dump_str(3), hdf_get_int_value(3), hdf_read_string_ignore(3), hdf_copy(3), hdf_get_node(3), hdf_set_value(3), hdf_obj_child(3), hdf_read_string(3), hdf_set_buf(3), hdf_register_fileload(3), hdf_get_obj(3), hdf_get_attr(3), hdf_obj_top(3), hdf_dump_format(3), hdf_destroy(3), hdf_init(3), hdf_obj_value(3), hdf_write_string(3), hdf_set_valuevf(3), hdf_sort_obj(3), hdf_write_file_atomic(3), hdf_obj_attr(3), hdf_set_valuef(3), hdf_get_copy(3), hdf_write_file(3), hdf_get_valuevf(3), hdf_set_int_value(3), hdf_dump(3), hdf_get_value(3), hdf_set_copy(3), hdf_obj_next(3), hdf_search_path(3), hdf_obj_name(3), hdf_set_attr(3), hdf_get_child(3), hdf_remove_tree

yes hdf_get_obj(3) is in its own SEE ALSO list. iconic behaviour honestly. self-love. πŸ’œ

mwah πŸ’‹ that's a wrap, bestie. this page came from ClearSilver, dated 12 July 2007 β€” yeah she's vintage, she's an elder, and she still slays. go read some HDF docs and hydrate. πŸ“βœ¨