#include <enumset.h>
Public Member Functions | |
EnumSet () | |
EnumSet (const EnumSet< T, minValue, limitValue > &other) | |
~EnumSet () | |
void | clear () |
void | add (T toAdd) |
void | remove (T toRemove) |
int32_t | contains (T toCheck) const |
void | set (T toSet, int32_t v) |
int32_t | get (T toCheck) const |
UBool | isValidEnum (T toCheck) const |
UBool | isValidValue (int32_t v) const |
const EnumSet< T, minValue, limitValue > & | operator= (const EnumSet< T, minValue, limitValue > &other) |
uint32_t | getAll () const |
Similar to Java EnumSet<>. Needs to range check.
Definition at line 30 of file enumset.h.