NCBI C++ ToolKit
ncbi_bitset_util.hpp File Reference

Bitset relates utilities. More...

#include <util/bitset/ncbi_bitset.hpp>
#include <util/bitset/bmserial.h>
#include <vector>
+ Include dependency graph for ncbi_bitset_util.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Go to the SVN repository for this file.


template<class TBV , class TBuffer >
void BV_Serialize (const TBV &bv, TBuffer &buf, bm::word_t *tmp_block=0, bool optimize_bv=false)
 Serialize bitset into a vector<char> compatible buffer. More...

Detailed Description

Bitset relates utilities.

Definition in file ncbi_bitset_util.hpp.

Function Documentation

◆ BV_Serialize()

template<class TBV , class TBuffer >
void BV_Serialize ( const TBV &  bv,
TBuffer &  buf,
bm::word_t tmp_block = 0,
bool  optimize_bv = false 

Serialize bitset into a vector<char> compatible buffer.

Definition at line 47 of file ncbi_bitset_util.hpp.

References buf, bm::serialize(), and ncbi::grid::netcache::search::fields::size.

Referenced by CBDB_RangeMap< TBV >::Save().

Modified on Sat Apr 13 11:46:57 2024 by rev. 669887