25 #ifndef ICL_CORE_BITFIELD_HELPER_H_INCLUDED 26 #define ICL_CORE_BITFIELD_HELPER_H_INCLUDED 30 #ifdef _IC_BUILDER_DEPRECATED_STYLE_ 42 bitfield = T(
int(bitfield) | bits);
51 bitfield = T(
int(bitfield) & ~bits);
60 return (bitfield & T(bit)) != 0;
64 #ifdef _IC_BUILDER_DEPRECATED_STYLE_ 75 setBits(bits, bitfield);bitfield = T(
int(bitfield) | bits);
Helper definitions for template programming.
#define ICL_CORE_VC_DEPRECATE_STYLE
Contains macros to deprecate classes, types, functions and variables.
void setBits(int bits, typename ConvertToRef< T >::ToRef bitfield)
bool isBitSet(int bit, typename ConvertToRef< T >::ToConstRef bitfield)
#define ICL_CORE_GCC_DEPRECATE_STYLE
void clearBits(int bits, typename ConvertToRef< T >::ToRef bitfield)