|
Sayonara Player
|
A set structure. Inherited from std::set with some useful methods. For integer and String this set is ordered. More...
#include <Set.h>
Public Member Functions | |
| Set (const T &singleElement) | |
| Constructs a set with a single element. | |
| QList< T > | toList () const |
| converts the set to a list. The order is random | |
| bool | isEmpty () const |
| T | first () const |
| get copy of first element | |
| bool | contains (const T &value) const |
| check, if set contains a specific value | |
| void | remove (const T &value) |
| removes every item that matches value | |
| Util::Set< T > & | operator<< (const T &t) |
| template<template< typename > class A> | |
| Util::Set< T > & | operator<< (const A< T > &container) |
| int | count () const |
A set structure. Inherited from std::set with some useful methods. For integer and String this set is ordered.
|
inline |
Constructs a set with a single element.
| singleElement | 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 |