|
BitMagic-C++
|
Sparse vector serialization. More...
|
Data Structures | |
| struct | bm::sparse_vector_serial_layout< SV > |
| layout class for serialization buffer structure More... | |
| class | bm::sparse_vector_serializer< SV > |
| Serialize sparse vector into a memory buffer(s) structure. More... | |
Functions | |
| template<class SV > | |
| void | bm::sparse_vector_serialize (const SV &sv, sparse_vector_serial_layout< SV > &sv_layout, bm::word_t *temp_block=0) |
| Serialize sparse vector into a memory buffer(s) structure. More... | |
Sparse vector serialization.
| void bm::sparse_vector_serialize | ( | const SV & | sv, |
| sparse_vector_serial_layout< SV > & | sv_layout, | ||
| bm::word_t * | temp_block = 0 |
||
| ) |
Serialize sparse vector into a memory buffer(s) structure.
| sv | - sparse vector to serialize |
| sv_layout | - buffer structure to keep the result |
| temp_block | - temporary buffer (allocate with BM_DECLARE_TEMP_BLOCK(x) for speed) |
| bv_serialization_flags | - bit-vector serialization flags as defined in bm::serialization_flags |
Definition at line 231 of file bmsparsevec_serial.h.
References bm::sparse_vector_serializer< SV >::serialize().
Referenced by main().
1.8.13