BitMagic-C++
Typedefs | Functions
rscsample02.cpp File Reference

Example: rsc_sparse_vector<> selective and range de-serialization. More...

#include <iostream>
#include <vector>
#include "bm.h"
#include "bmsparsevec.h"
#include "bmsparsevec_compr.h"
#include "bmsparsevec_serial.h"
Include dependency graph for rscsample02.cpp:

Go to the source code of this file.

Typedefs

typedef bm::sparse_vector< unsigned, bm::bvector<> > sparse_vector_u32
 
typedef bm::rsc_sparse_vector< unsigned, sparse_vector_u32rsc_sparse_vector_u32
 

Functions

template<typename SV >
void PrintSV (const SV &sv)
 Print sparse vector content. More...
 
int main (void)
 

Detailed Description

Example: rsc_sparse_vector<> selective and range de-serialization.

See also
strsvsample05.cpp

Definition in file rscsample02.cpp.

Typedef Documentation

◆ rsc_sparse_vector_u32

Examples
rscsample02.cpp.

Definition at line 61 of file rscsample02.cpp.

◆ sparse_vector_u32

Examples
rscsample02.cpp.

Definition at line 60 of file rscsample02.cpp.

Function Documentation

◆ main()

int main ( void  )

◆ PrintSV()

template<typename SV >
void PrintSV ( const SV &  sv)

Print sparse vector content.

Examples
rscsample02.cpp.

Definition at line 44 of file rscsample02.cpp.

Referenced by main().