![]() |
Sayonara Player
|
#include <Set.h>
A set structure. Inherited from std::set with some useful methods. For integer and String this set is ordered.
Public Member Functions | |
| Set () | |
| Standard constructor. | |
| Set (const T &one_element) | |
| Constructs a set with a single element. More... | |
| QList< T > | toList () const |
| converts the set to a list. The order is random More... | |
| bool | isEmpty () const |
| T | first () const |
| get copy of first element More... | |
| bool | contains (const T &value) const |
| check, if set contains a specific value More... | |
| void | remove (const T &value) |
| removes every item that matches value More... | |
| SP::Set< T > & | operator<< (const T &t) |
| int | count () const |
Constructs a set with a single element.
| one_element | the first element |
|
inline |
check, if set contains a specific value
| value |
|
inline |
get copy of first element
|
inline |
|
inline |
removes every item that matches value
| value |
converts the set to a list. The order is random
1.8.13