xmscore  1.0
DynBitset.h File Reference

Macros etc that make boost more convenient to use. More...

#include <vector>
#include <boost/dynamic_bitset.hpp>

Go to the source code of this file.

Typedefs

typedef boost::dynamic_bitset< size_t > xms::DynBitset
 vector of flags
 

Functions

void xms::VecBooleanToDynBitset (const std::vector< unsigned char > &a_from, DynBitset &a_to)
 Convert from a VecBoolean to a DynBitset. More...
 
void xms::DynBitsetToVecBoolean (const DynBitset &a_from, std::vector< unsigned char > &a_to)
 Convert from a DynBitset to a VecBoolean. More...
 

Detailed Description

Macros etc that make boost more convenient to use.

Definition in file DynBitset.h.

Function Documentation

◆ DynBitsetToVecBoolean()

void xms::DynBitsetToVecBoolean ( const DynBitset a_from,
std::vector< unsigned char > &  a_to 
)

Convert from a DynBitset to a VecBoolean.

Parameters
[in]a_fromDynBitset array in.
[out]a_toVecBoolean out.

Definition at line 56 of file DynBitset.cpp.

References xms::DynBitsetToVecBoolean().

Referenced by xms::DynBitsetToVecBoolean().

◆ VecBooleanToDynBitset()

void xms::VecBooleanToDynBitset ( const std::vector< unsigned char > &  a_from,
DynBitset a_to 
)

Convert from a VecBoolean to a DynBitset.

Parameters
[in]a_fromVecBoolean array in.
[out]a_toDynBitset out.

Definition at line 43 of file DynBitset.cpp.

References xms::VecBooleanToDynBitset().

Referenced by xms::VecBooleanToDynBitset().