SetBitUInt.h
Go to the documentation of this file.
// -*- c++ -*-
//*****************************************************************************
//*****************************************************************************
#ifndef polybori_groebner_SetBitUInt_h_
#define polybori_groebner_SetBitUInt_h_
// include basic definitions
#include "groebner_defs.h"
BEGIN_NAMESPACE_PBORIGB
class SetBitUInt{
public:
void operator() (unsigned int& vec, int index){
vec|=(1<<index);
}
};
END_NAMESPACE_PBORIGB
#endif /* polybori_SetBitUInt_h_ */
END_NAMESPACE_PBORIGB
#define END_NAMESPACE_PBORIGB
Definition: groebner_defs.h:16
BEGIN_NAMESPACE_PBORIGB
#define BEGIN_NAMESPACE_PBORIGB
Definition: groebner_defs.h:15
groebner_defs.h
polybori::groebner::SetBitUInt
This class defines SetBitUInt.
Definition: SetBitUInt.h:28