#define VALOR1 50
#define VALOR2 51
...
#define VALORN NN //fin de tus definiciones
void TuClase::Procedimiento(UINT valores){
if(valores & VALOR1 ){
// existe VALOR1
}
if(valores & VALOR2 ){
// existe VALOR2
}
...
...
if(valores & VALORN ){
// existe VALORN
}
}
// lo puedes usar de las maneras siguientes
Procedimiento(VALOR1|VALOR5|VALOR10);
Procedimiento(VALOR5);