xmscore  1.0
DynBitset.h
Go to the documentation of this file.
1 #pragma once
2 //------------------------------------------------------------------------------
8 //------------------------------------------------------------------------------
9 
10 // 3. Standard Library Headers
11 #include <vector>
12 
13 // 4. External Library Headers
14 #include <boost/dynamic_bitset.hpp>
15 
16 // 5. Shared Headers
17 
18 // 6. Non-shared Headers
19 
20 //----- Namespace declaration --------------------------------------------------
21 
22 namespace xms
23 {
24 typedef boost::dynamic_bitset<size_t> DynBitset;
25 
26 void VecBooleanToDynBitset(const std::vector<unsigned char>& a_from, DynBitset& a_to);
27 void DynBitsetToVecBoolean(const DynBitset& a_from, std::vector<unsigned char>& a_to);
28 
29 } // namespace xms
void VecBooleanToDynBitset(const std::vector< unsigned char > &a_from, DynBitset &a_to)
Convert from a VecBoolean to a DynBitset.
Definition: DynBitset.cpp:43
void DynBitsetToVecBoolean(const DynBitset &a_from, std::vector< unsigned char > &a_to)
Convert from a DynBitset to a VecBoolean.
Definition: DynBitset.cpp:56
boost::dynamic_bitset< size_t > DynBitset
vector of flags
Definition: DynBitset.h:24