Class for storing two sets: one marked as "included" and one marked as "excluded".
Objects of type SetSelectionPair are used as attributes for objects stored in a "wrapper" object of type SetSelectableObject. For further information see class SetSelectableObject.
#include <SetSelectionPair.h>
Public Member Functions | |
SetSelectionPair (const Set< T > &include, const Set< T > &exclude=Set< T >::emptySet()) | |
const Set< T > & | included () const |
const Set< T > & | excluded () const |
bool | isEqual (const SetSelectionPair< T > &s) const |
void | toStream (std::ostream &os) const |
std::string | toString () const |
Private Attributes | |
Set< T > | include_ |
Set< T > | exclude_ |
Friends | |
bool | operator== (const SetSelectionPair &a, const SetSelectionPair &b) |
bool | operator!= (const SetSelectionPair &a, const SetSelectionPair &b) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |
|
friend |
|
private |
|
private |