Emergency 2017 Dokumentation  v3.0.1
qsf::bitmasking Namespace Reference

Functions

template<typename BitMask >
QSF_FORCEINLINE BitMask negate (BitMask mask)
 
template<typename BitMask , typename Operand >
QSF_FORCEINLINE void addTo (BitMask &in, Operand toAdd)
 
template<typename BitMask , typename Operand >
QSF_FORCEINLINE void resetIn (BitMask &in, Operand toReset)
 
template<typename BitMask , typename Operand >
QSF_FORCEINLINE void setIn (BitMask &in, Operand operand, bool enable)
 
template<typename BitMask , typename Comparator >
QSF_FORCEINLINE bool holdsIn (const BitMask currentValue, const Comparator searchedPattern)
 

Function Documentation

template<typename BitMask , typename Operand >
QSF_FORCEINLINE void qsf::bitmasking::addTo ( BitMask &  in,
Operand  toAdd 
)

Definition at line 31 of file BitMaskHelper.h.

template<typename BitMask , typename Comparator >
QSF_FORCEINLINE bool qsf::bitmasking::holdsIn ( const BitMask  currentValue,
const Comparator  searchedPattern 
)

Definition at line 56 of file BitMaskHelper.h.

template<typename BitMask >
QSF_FORCEINLINE BitMask qsf::bitmasking::negate ( BitMask  mask)

Definition at line 24 of file BitMaskHelper.h.

template<typename BitMask , typename Operand >
QSF_FORCEINLINE void qsf::bitmasking::resetIn ( BitMask &  in,
Operand  toReset 
)

Definition at line 38 of file BitMaskHelper.h.

template<typename BitMask , typename Operand >
QSF_FORCEINLINE void qsf::bitmasking::setIn ( BitMask &  in,
Operand  operand,
bool  enable 
)

Definition at line 45 of file BitMaskHelper.h.