grasp_box.h
Go to the documentation of this file.
41 extern bool grasp_box_attach_data_to_pixel(grasp_box_t *box, const grasp_box_vector_t *pixel, const size_t data_size, const void *data);
42 extern bool grasp_box_get_data_from_pixel(const grasp_box_t *box, const grasp_box_vector_t *pixel, void *data_copy);
43 extern bool grasp_box_set_data_on_pixel(grasp_box_t *box, const grasp_box_vector_t *pixel, const void *data_copy);
50 extern void grasp_box_get_parent_files(const grasp_box_t *box, size_t num_parent_files, filepath_t *parent_files /* must be allocated by the caller */);
bool grasp_box_get_next_pixel(grasp_box_t *box, void *data_copy)
Definition: grasp_box.c:242
struct grasp_box_vector_t_ grasp_box_vector_t
size_t grasp_box_get_num_records(const grasp_box_t *box)
Definition: grasp_box.c:258
bool grasp_box_attach_data_to_pixel(grasp_box_t *box, const grasp_box_vector_t *pixel, const size_t data_size, const void *data)
Definition: grasp_box.c:152
bool grasp_box_set_data_on_pixel(grasp_box_t *box, const grasp_box_vector_t *pixel, const void *data_copy)
Definition: grasp_box.c:226
void grasp_box_print(FILE *output_stream, const char *label, const grasp_box_t *box)
Definition: grasp_box.c:121
size_t grasp_box_get_num_parent_files(const grasp_box_t *box)
Definition: grasp_box.c:45
Definition: grasp_box.h:21
bool grasp_box_get_data_from_pixel(const grasp_box_t *box, const grasp_box_vector_t *pixel, void *data_copy)
Definition: grasp_box.c:211
struct grasp_box_settings_t_ grasp_box_settings_t
void grasp_box_get_parent_files(const grasp_box_t *box, size_t num_parent_files, filepath_t *parent_files)
Definition: grasp_box.c:50
void grasp_box_add_parent_file(grasp_box_t *box, const char *parent_file)
Definition: grasp_box.c:60
grasp_box_t * grasp_box_new(size_t record_size, const grasp_box_settings_t *settings)
Definition: grasp_box.c:87
Definition: grasp_box.h:25
Definition: grasp_box.c:29
void grasp_box_get_settings(const grasp_box_t *box, grasp_box_settings_t *settings_copy)
Definition: grasp_box.c:263