58 Set(
const T& one_element) :
61 this->insert(one_element);
72 for(
auto it=this->begin(); it!=this->end(); it++){
85 return (this->size() == 0);
95 return *(this->begin());
105 auto it = this->find(value);
106 return (it != this->end());
113 void remove(
const T& value)
115 auto it = this->find(value);
116 if(it != this->end()){
Set()
Standard constructor.
Definition: Set.h:47
Definition: MetaDataList.h:41
bool contains(const T &value) const
check, if set contains a specific value
Definition: Set.h:103
T first() const
get copy of first element
Definition: Set.h:93
QList< T > toList() const
converts the set to a list. The order is random
Definition: Set.h:69
Set namespace defines the setting: Which key and which type.
Definition: SettingKey.h:173
Set(const T &one_element)
Constructs a set with a single element.
Definition: Set.h:58
bool isEmpty() const
Definition: Set.h:83
Definition: org_mpris_media_player2_adaptor.h:20