#include <OnixS/CME/Streamlined/TinySet.h>
template<class Key>
class OnixS::CME::Streamlined::MDH::TinySet< Key >
Definition at line 37 of file TinySet.h.
Aliases iterator over set items.
Definition at line 52 of file TinySet.h.
Aliases set item type.
Definition at line 41 of file TinySet.h.
Aliases internal representation.
Definition at line 46 of file TinySet.h.
Initializes empty set.
Definition at line 55 of file TinySet.h.
Initializes empty set and configures internal storage to be enough capacious to store given number of items.
Definition at line 63 of file TinySet.h.
Initializes set as copy of other one.
Definition at line 70 of file TinySet.h.
Cleans everything up.
Definition at line 77 of file TinySet.h.
Provides iterating facilities.
Definition at line 104 of file TinySet.h.
Brings set to blank state.
Definition at line 172 of file TinySet.h.
Indicates whether set is empty.
Definition at line 82 of file TinySet.h.
Provides iterating facilities.
Definition at line 111 of file TinySet.h.
bool erase |
( |
const Item & |
item | ) |
|
|
inline |
Removes given item from the set.
Returned value indicates whether item was actually removed.
Definition at line 150 of file TinySet.h.
Tells whether set contains given item.
Definition at line 118 of file TinySet.h.
bool insert |
( |
const Item & |
item | ) |
|
|
inline |
Inserts items into the set.
Returned value indicates whether item was inserted (true) or set already contained given item (false).
Definition at line 133 of file TinySet.h.
Re-initializes instance as copy of other instance.
Definition at line 189 of file TinySet.h.
void reserve |
( |
size_t |
capacity | ) |
|
|
inline |
Makes internal storage capacious enough to store given number of items.
Definition at line 96 of file TinySet.h.
Number of items in the set.
Definition at line 88 of file TinySet.h.
void swap |
( |
TinySet< Key > & |
other | ) |
|
|
inline |
Swaps content with the other instance.
Definition at line 179 of file TinySet.h.
The documentation for this class was generated from the following file: