ivutils
Loading...
Searching...
No Matches
seq_data_pack< iter_t, T, packer_t > Class Template Reference

Class for packing pairs (iterator,data) of two different types. More...

#include <seqpack.h>

Public Member Functions

 seq_data_pack (iter_t *sbeg=NULL, packer_t *sp=new packer_t())
 constructor with possible packer construction specification
 
template<class rec_it >
int next_group (rec_it beg, int n=1)
 put a group of n elements starting with beg
 
std::size_t packed_size () const
 returns the size in bytes ignoring vector overheads
 
std::size_t data_size () const
 returns full unpacked sequence size in bytes
 

Detailed Description

template<class iter_t, class T, class packer_t = data_pack<T>>
class seq_data_pack< iter_t, T, packer_t >

Class for packing pairs (iterator,data) of two different types.

The iterator is icremented (not packed) and the data is packed by packer_t.


The documentation for this class was generated from the following file: