Blender V5.3
BLI_array_store.hh File Reference

Efficient in-memory storage of multiple similar arrays. More...

#include "BLI_sys_types.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.

Functions

Main Array Storage API
BArrayStore * blender::BLI_array_store_create (unsigned int stride, unsigned int chunk_count)
void blender::BLI_array_store_destroy (BArrayStore *bs)
void blender::BLI_array_store_clear (BArrayStore *bs)
BArrayStore Statistics
size_t blender::BLI_array_store_calc_size_expanded_get (const BArrayStore *bs)
size_t blender::BLI_array_store_calc_size_compacted_get (const BArrayStore *bs)
BArrayState Access
BArrayState * blender::BLI_array_store_state_add (BArrayStore *bs, const void *data, size_t data_len, const BArrayState *state_reference)
void blender::BLI_array_store_state_remove (BArrayStore *bs, BArrayState *state)
size_t blender::BLI_array_store_state_size_get (const BArrayState *state)
void blender::BLI_array_store_state_data_get (const BArrayState *state, void *data)
void * blender::BLI_array_store_state_data_get_alloc (const BArrayState *state, size_t *r_data_len)
Debugging API (for testing).
bool blender::BLI_array_store_is_valid (BArrayStore *bs)
Public API
uint8_t * blender::BLI_array_store_rle_encode (const uint8_t *data_dec, size_t data_dec_len, size_t data_enc_extra_size, size_t *r_data_enc_len)
void blender::BLI_array_store_rle_decode (const uint8_t *data_enc, const size_t data_enc_len, void *data_dec_v, const size_t data_dec_len)

Detailed Description

Efficient in-memory storage of multiple similar arrays.

Definition in file BLI_array_store.hh.