QSet

#include <QtCore/QSet>

More information will be added here shortly. For now, you'll find more extensive information about this class in the Qt reference for QSet


Overview

Public Types Index

Public Functions Index

QSet ()
QSet (const QSet< T > &other)
iteratorbegin ()
const_iteratorbegin () const
intcapacity () const
voidclear ()
const_iteratorconstBegin () const
const_iteratorconstEnd () const
const_iteratorconstFind (const T &value) const
boolcontains (const T &value) const
boolcontains (const QSet< T > &set) const
intcount () const
voiddetach ()
boolempty () const
iteratorend ()
const_iteratorend () const
iteratorerase (iterator i)
iteratorfind (const T &value)
const_iteratorfind (const T &value) const
const_iteratorinsert (const T &value)
QSet< T > &intersect (const QSet< T > &other)
boolisDetached () const
boolisEmpty () const
booloperator!= (const QSet< T > &other) const
QSet< T >operator& (const QSet< T > &other) const
QSet< T >operator& (const QSet< T > &other)
QSet< T > &operator&= (const QSet< T > &other)
QSet< T > &operator&= (const T &value)
QSet< T >operator+ (const QSet< T > &other) const
QSet< T >operator+ (const QSet< T > &other)
QSet< T > &operator+= (const QSet< T > &other)
QSet< T > &operator+= (const T &value)
QSet< T >operator- (const QSet< T > &other) const
QSet< T >operator- (const QSet< T > &other)
QSet< T > &operator-= (const QSet< T > &other)
QSet< T > &operator-= (const T &value)
QSet< T > &operator<< (const T &value)
QSet< T > &operator= (const QSet< T > &other)
booloperator== (const QSet< T > &other) const
QSet< T >operator| (const QSet< T > &other) const
QSet< T >operator| (const QSet< T > &other)
QSet< T > &operator|= (const QSet< T > &other)
QSet< T > &operator|= (const T &value)
boolremove (const T &value)
voidreserve (int size)
voidsetSharable (bool sharable)
intsize () const
voidsqueeze ()
QSet< T > &subtract (const QSet< T > &other)
voidswap (QSet< T > &other)
QList< T >toList () const
QSet< T > &unite (const QSet< T > &other)
QList< T >values () const

Static Public Functions Index

QSet< T >fromList (const QList< T > &list)

Public Types

typedef const value_type * const_pointer

typedef const value_type & const_reference

typedef const_iterator ConstIterator

typedef qptrdiff difference_type

typedef iterator Iterator

typedef T key_type

typedef value_type * pointer

typedef value_type & reference

typedef int size_type

typedef T value_type

Public Functions

QSet ()

QSet (
  • const QSet< T > &other)

iterator begin ()

int capacity ()

void clear ()

const_iterator constBegin ()

const_iterator constEnd ()

const_iterator constFind (
  • const T &value)

bool contains (
  • const T &value)

bool contains (
  • const QSet< T > &set)

int count ()

void detach ()

bool empty ()

iterator end ()

iterator find (
  • const T &value)

const_iterator find (
  • const T &value)

const_iterator insert (
  • const T &value)

QSet< T > & intersect (
  • const QSet< T > &other)

bool isDetached ()

bool isEmpty ()

bool operator!= (
  • const QSet< T > &other)

QSet< T > operator& (
  • const QSet< T > &other)

QSet< T > operator& (
  • const QSet< T > &other)

QSet< T > & operator&= (
  • const QSet< T > &other)

QSet< T > & operator&= (
  • const T &value)

QSet< T > operator+ (
  • const QSet< T > &other)

QSet< T > operator+ (
  • const QSet< T > &other)

QSet< T > & operator+= (
  • const QSet< T > &other)

QSet< T > & operator+= (
  • const T &value)

QSet< T > operator- (
  • const QSet< T > &other)

QSet< T > operator- (
  • const QSet< T > &other)

QSet< T > & operator-= (
  • const QSet< T > &other)

QSet< T > & operator-= (
  • const T &value)

QSet< T > & operator<< (
  • const T &value)

QSet< T > & operator= (
  • const QSet< T > &other)

bool operator== (
  • const QSet< T > &other)

QSet< T > operator| (
  • const QSet< T > &other)

QSet< T > operator| (
  • const QSet< T > &other)

QSet< T > & operator|= (
  • const QSet< T > &other)

QSet< T > & operator|= (
  • const T &value)

bool remove (
  • const T &value)

void reserve (
  • intsize)

void setSharable (
  • boolsharable)

int size ()

void squeeze ()

QSet< T > & subtract (
  • const QSet< T > &other)

void swap (

QList< T > toList ()

QSet< T > & unite (
  • const QSet< T > &other)

QList< T > values ()

Static Public Functions

QSet< T > fromList (

Last modified: 2015-07-24



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus