template <typename T, uint32_t minValue, uint32_t limitValue>
class EnumSet
Defined at line 34 of file ../../third_party/icu/latest/source/common/unicode/enumset.h
Can't use #ifndef U_HIDE_INTERNAL_API for the entire EnumSet class, needed in .h file declarations
enum bitset for boolean fields. Similar to Java EnumSet
<
>.
Needs to range check. Used for private instance variables.
Public Methods
void EnumSet<T, minValue, limitValue> ()
Defined at line 36 of file ../../third_party/icu/latest/source/common/unicode/enumset.h
void EnumSet<T, minValue, limitValue> (const EnumSet<T, minValue, limitValue> & other)
Defined at line 37 of file ../../third_party/icu/latest/source/common/unicode/enumset.h
void ~EnumSet<T, minValue, limitValue> ()
Defined at line 38 of file ../../third_party/icu/latest/source/common/unicode/enumset.h
void clear ()
Defined at line 40 of file ../../third_party/icu/latest/source/common/unicode/enumset.h
void add (T toAdd)
Defined at line 41 of file ../../third_party/icu/latest/source/common/unicode/enumset.h
void remove (T toRemove)
Defined at line 42 of file ../../third_party/icu/latest/source/common/unicode/enumset.h
int32_t contains (T toCheck)
Defined at line 43 of file ../../third_party/icu/latest/source/common/unicode/enumset.h
void set (T toSet, int32_t v)
Defined at line 44 of file ../../third_party/icu/latest/source/common/unicode/enumset.h
int32_t get (T toCheck)
Defined at line 45 of file ../../third_party/icu/latest/source/common/unicode/enumset.h
UBool isValidEnum (T toCheck)
Defined at line 46 of file ../../third_party/icu/latest/source/common/unicode/enumset.h
UBool isValidValue (int32_t v)
Defined at line 47 of file ../../third_party/icu/latest/source/common/unicode/enumset.h
const EnumSet<T, minValue, limitValue> & operator= (const EnumSet<T, minValue, limitValue> & other)
Defined at line 48 of file ../../third_party/icu/latest/source/common/unicode/enumset.h
uint32_t getAll ()
Defined at line 53 of file ../../third_party/icu/latest/source/common/unicode/enumset.h