An adaptor to assert when duplicate values are added, or non-existent values removed from a std::set. More...
#include <container.h>
Public Types | |
typedef Values::iterator | iterator |
typedef Values::const_iterator | const_iterator |
typedef Values::reverse_iterator | reverse_iterator |
typedef Values::const_reverse_iterator | const_reverse_iterator |
Public Member Functions | |
iterator | begin () |
const_iterator | begin () const |
iterator | end () |
const_iterator | end () const |
reverse_iterator | rbegin () |
const_reverse_iterator | rbegin () const |
reverse_iterator | rend () |
const_reverse_iterator | rend () const |
bool | empty () const |
std::size_t | size () const |
void | clear () |
void | swap (UniqueSet &other) |
iterator | insert (const Value &value) |
void | erase (const Value &value) |
iterator | find (const Value &value) |
Private Types | |
typedef std::set< Value > | Values |
Private Attributes | |
Values | m_values |
An adaptor to assert when duplicate values are added, or non-existent values removed from a std::set.
Definition at line 211 of file container.h.
typedef Values::const_iterator UniqueSet< Value >::const_iterator |
Definition at line 216 of file container.h.
typedef Values::const_reverse_iterator UniqueSet< Value >::const_reverse_iterator |
Definition at line 218 of file container.h.
Definition at line 215 of file container.h.
typedef Values::reverse_iterator UniqueSet< Value >::reverse_iterator |
Definition at line 217 of file container.h.
Definition at line 212 of file container.h.
const_iterator UniqueSet< Value >::begin | ( | ) | const [inline] |
Definition at line 224 of file container.h.
Definition at line 221 of file container.h.
Referenced by Brush::clear(), Brush::connectivityChanged(), Brush::edge_clear(), Brush::edge_push_back(), Brush::erase(), UniqueSet< BrushObserver * >::find(), Brush::importState(), Brush::pop_back(), Brush::push_back(), Brush::reserve(), Brush::vertex_clear(), and Brush::vertex_push_back().
Definition at line 252 of file container.h.
Definition at line 246 of file container.h.
Referenced by Brush::~Brush().
const_iterator UniqueSet< Value >::end | ( | ) | const [inline] |
Definition at line 230 of file container.h.
Definition at line 227 of file container.h.
Referenced by Brush::clear(), Brush::connectivityChanged(), Brush::edge_clear(), Brush::edge_push_back(), Brush::erase(), UniqueSet< BrushObserver * >::erase(), UniqueSet< BrushObserver * >::find(), Brush::importState(), Brush::pop_back(), Brush::push_back(), Brush::reserve(), Brush::vertex_clear(), and Brush::vertex_push_back().
Definition at line 264 of file container.h.
Referenced by Brush::detach().
Definition at line 269 of file container.h.
Referenced by UniqueSet< BrushObserver * >::erase(), and UniqueSet< BrushObserver * >::find().
Definition at line 259 of file container.h.
Referenced by Brush::attach().
const_reverse_iterator UniqueSet< Value >::rbegin | ( | ) | const [inline] |
Definition at line 236 of file container.h.
reverse_iterator UniqueSet< Value >::rbegin | ( | ) | [inline] |
Definition at line 233 of file container.h.
const_reverse_iterator UniqueSet< Value >::rend | ( | ) | const [inline] |
Definition at line 242 of file container.h.
reverse_iterator UniqueSet< Value >::rend | ( | ) | [inline] |
Definition at line 239 of file container.h.
Definition at line 249 of file container.h.
Definition at line 256 of file container.h.
Referenced by UniqueSet< BrushObserver * >::swap().
Definition at line 213 of file container.h.
Referenced by UniqueSet< BrushObserver * >::begin(), UniqueSet< BrushObserver * >::clear(), UniqueSet< BrushObserver * >::empty(), UniqueSet< BrushObserver * >::end(), UniqueSet< BrushObserver * >::erase(), UniqueSet< BrushObserver * >::insert(), UniqueSet< BrushObserver * >::rbegin(), UniqueSet< BrushObserver * >::rend(), UniqueSet< BrushObserver * >::size(), and UniqueSet< BrushObserver * >::swap().