#include <Enumeration.h>
Public Member Functions | |
EnumerationSetRep () | |
Create an empty EnumerationSet. | |
EnumerationSetRep (const Enumeration< T > &value) | |
Create an EnumerationSet which contains a single value. | |
EnumerationSetRep (const EnumerationSetRep &set) | |
Create an EnumerationSet which contains the same values as another set. | |
~EnumerationSetRep () | |
int | size () const |
Get the number of elements in this set. | |
bool | contains (const Enumeration< T > &value) const |
Determine whether this set contains a particular value. | |
bool | containsAll (const EnumerationSetRep &set) const |
Determine whether this set contains all of the values in another set. | |
bool | containsAny (const EnumerationSetRep &set) const |
Determine wheter this set contains any value which is in another set. | |
bool | operator== (const EnumerationSetRep &set) const |
Determine whether this set has identical contents to another one. | |
bool | operator!= (const EnumerationSetRep &set) const |
Determine whether this set has identical contents to another one. | |
void | clear () |
Remove all elements from the set. | |
EnumerationSetRep & | operator= (const EnumerationSetRep &set) |
EnumerationSetRep & | operator-= (const Enumeration< T > &value) |
EnumerationSetRep & | operator-= (const EnumerationSetRep &set) |
EnumerationSetRep & | operator|= (const EnumerationSetRep &set) |
EnumerationSetRep & | operator &= (const EnumerationSetRep &set) |
EnumerationSetRep & | operator^= (const EnumerationSetRep &set) |
void | invert () const |
EnumerationSetRep | ( | ) | [inline] |
Create an empty EnumerationSet.
EnumerationSetRep | ( | const Enumeration< T > & | value | ) | [inline] |
Create an EnumerationSet which contains a single value.
EnumerationSetRep | ( | const EnumerationSetRep & | set | ) | [inline] |
Create an EnumerationSet which contains the same values as another set.
~EnumerationSetRep | ( | ) | [inline] |
int size | ( | ) | const [inline] |
Get the number of elements in this set.
References fkinkryx::i.
Referenced by EnumerationSet::empty(), and EnumerationSet::size().
bool contains | ( | const Enumeration< T > & | value | ) | const [inline] |
bool containsAll | ( | const EnumerationSetRep & | set | ) | const [inline] |
Determine whether this set contains all of the values in another set.
References fkinkryx::i.
Referenced by EnumerationSet::containsAll().
bool containsAny | ( | const EnumerationSetRep & | set | ) | const [inline] |
Determine wheter this set contains any value which is in another set.
References fkinkryx::i.
Referenced by EnumerationSet::containsAny().
bool operator== | ( | const EnumerationSetRep & | set | ) | const [inline] |
bool operator!= | ( | const EnumerationSetRep & | set | ) | const [inline] |
void clear | ( | ) | [inline] |
EnumerationSetRep& operator= | ( | const EnumerationSetRep & | set | ) | [inline] |
References fkinkryx::i.
EnumerationSetRep& operator-= | ( | const Enumeration< T > & | value | ) | [inline] |
EnumerationSetRep& operator-= | ( | const EnumerationSetRep & | set | ) | [inline] |
References fkinkryx::i.
EnumerationSetRep& operator|= | ( | const EnumerationSetRep & | set | ) | [inline] |
References fkinkryx::i.
EnumerationSetRep& operator &= | ( | const EnumerationSetRep & | set | ) | [inline] |
References fkinkryx::i.
EnumerationSetRep& operator^= | ( | const EnumerationSetRep & | set | ) | [inline] |
References fkinkryx::i.
void invert | ( | ) | const [inline] |