|
Elm
2
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
|
21 #ifndef ELM_DATA_LISTSET_H_
22 #define ELM_DATA_LISTSET_H_
24 #include "SortedList.h"
28 template <
class T,
class C = Comparator<T>,
class A = DefaultAlloc >
43 for(; i() && j(); i++) {
62 if(c == 0) { i++; j++; }
74 if(c == 0) { i++; j++; }
111 template <
class T,
class M>
ListSet(void)
Definition: ListSet.h:34
bool operator<(const SortedList< T > &l) const
Definition: ListSet.h:53
bool operator<=(const T &v, const FragTable< T, E, A > &t)
Definition: FragTable.h:158
self_t & operator-=(const self_t &set)
Definition: ListSet.h:96
self_t & operator*=(const self_t &set)
Definition: ListSet.h:94
void add(const T &value)
Definition: SortedList.h:85
bool contains(const T &item) const
Definition: SortedList.h:53
Definition: SortedList.h:34
bool operator>(const SortedList< T > &l) const
Definition: ListSet.h:55
self_t & operator+=(const T &val)
Definition: ListSet.h:106
list_t list
Definition: SortedList.h:126
ListSet< T, C, A > self_t
Definition: ListSet.h:33
void add(const T &v)
Definition: ListSet.h:105
void diff(const self_t &set)
Definition: ListSet.h:81
bool operator<=(const SortedList< T > &l) const
Definition: ListSet.h:52
void remove(const T &item)
Definition: SortedList.h:96
self_t & operator|(const self_t &set)
Definition: ListSet.h:99
T t
Definition: ListSet.h:32
bool operator>=(const SortedList< T > &l) const
Definition: ListSet.h:54
self_t & operator-(const self_t &set)
Definition: ListSet.h:102
bool equals(const SortedList< T > &l) const
Definition: SortedList.h:71
self_t & operator*(const self_t &set)
Definition: ListSet.h:100
self_t & operator&(const self_t &set)
Definition: ListSet.h:101
self_t & operator&=(const self_t &set)
Definition: ListSet.h:95
self_t & operator|=(const self_t &set)
Definition: ListSet.h:93
self_t & operator+=(const self_t &set)
Definition: ListSet.h:92
void join(const self_t &set)
Definition: ListSet.h:57
void remove(const T &value)
Definition: List.h:136
void addBefore(PrecIter &pos, const T &value)
Definition: List.h:161
ListSet(const ListSet< T, C > &set)
Definition: ListSet.h:35
void set(Iter i, const T &val)
Definition: SortedList.h:125
self_t & operator-=(const T &val)
Definition: ListSet.h:107
void meet(const self_t &set)
Definition: ListSet.h:69
void insert(const T &v)
Definition: ListSet.h:38
self_t & operator+(const self_t &set)
Definition: ListSet.h:98
bool subsetOf(const SortedList< T > &l) const
Definition: ListSet.h:41
Definition: SortedList.h:60
Iter begin(void) const
Definition: SortedList.h:68
C & comparator()
Definition: SortedList.h:43