17 #ifndef MED_LOGICAL_OP_HXX
18 #define MED_LOGICAL_OP_HXX
21 template <
typename T>
inline int MEDtestBits(
const T & int_type,
const int offset) {
23 return(int_type & mask);
27 template <
typename T>
inline T
MEDnSetBits(
const T & int_type) {
41 template <
typename T>
inline T&
MEDsetBits(T& int_type,
const int offset) {
43 int_type = int_type | mask;
int MEDtestBits(const T &int_type, const int offset)
T & MEDsetBits(T &int_type, const int offset)
T MEDnSetBits(const T &int_type)