#include <OnixS/CME/MDH/TinySet.h>
template<class Key>
class OnixS::CME::MDH::TinySet< Key >
Definition at line 34 of file TinySet.h.
Aliases iterator over set items.
Definition at line 44 of file TinySet.h.
Aliases set item type.
Definition at line 38 of file TinySet.h.
Aliases internal representation.
Definition at line 41 of file TinySet.h.
Initializes the empty set.
Definition at line 47 of file TinySet.h.
Initializes the empty set and configures the internal storage to be enough capacious to store the given number of items.
Definition at line 52 of file TinySet.h.
Initializes the set as a copy of the other one.
Definition at line 58 of file TinySet.h.
Cleans everything up.
Definition at line 64 of file TinySet.h.
Provides iterating facilities.
Definition at line 86 of file TinySet.h.
Brings the set to the blank state.
Definition at line 137 of file TinySet.h.
Indicates whether the set is empty.
Definition at line 67 of file TinySet.h.
Provides iterating facilities.
Definition at line 92 of file TinySet.h.
bool erase |
( |
const Item & |
item | ) |
|
|
inline |
Removes the given item from the set.
Returned value indicates whether the item was actually removed.
Definition at line 124 of file TinySet.h.
Tells whether the set contains given item.
Definition at line 98 of file TinySet.h.
bool insert |
( |
const Item & |
item | ) |
|
|
inline |
Inserts the given item into the set.
Returned value indicates whether the item was inserted (true) or the set already contained the given item (false).
Definition at line 108 of file TinySet.h.
Re-initializes the instance as a copy of the other one.
Definition at line 150 of file TinySet.h.
void reserve |
( |
size_t |
capacity | ) |
|
|
inline |
Makes the internal storage capacious enough to store the given number of items.
Definition at line 80 of file TinySet.h.
Returns the number of items in the set.
Definition at line 73 of file TinySet.h.
void swap |
( |
TinySet< Key > & |
other | ) |
|
|
inline |
Swaps content with the other instance.
Definition at line 143 of file TinySet.h.
The documentation for this class was generated from the following file: