Container that stores unique elements in no particular order, and which allow for fast retrieval or insertion of individual elements based on their value.
More...
#include <Set.h>
|
void | add (const t_value &key) |
|
void | add (t_value &&key) |
|
bool | hasValue (const t_value &key) const |
|
uint04 | indexOf (const t_value &key) const |
|
| Set () |
|
template<class t_type , class t_index_type , class t_memory_allocator , class t_memory_manager > |
| Set (const Buffer< t_type, t_index_type, t_memory_allocator, t_memory_manager > &values) |
|
template<class t_iter > |
| Set (const t_iter &begin, const t_iter &end) |
|
uint04 | size () const |
|
template<class t_index_type = uint04, class t_memory_allocator = ObjectAllocator<ObjectInfo<t_value>::Primitive, t_index_type>, class t_memory_manager = BufferAllocator<t_value, t_index_type, false>> |
Buffer< t_value, t_index_type, t_memory_allocator, t_memory_manager > | values () const |
|
template<class t_type>
class NDEVR::Set< t_type >
Container that stores unique elements in no particular order, and which allow for fast retrieval or insertion of individual elements based on their value.
◆ Set() [1/3]
◆ Set() [2/3]
template<class t_type >
template<class t_iter >
Set |
( |
const t_iter & | begin, |
|
|
const t_iter & | end ) |
|
inline |
◆ Set() [3/3]
template<class t_type >
template<class t_type , class t_index_type , class t_memory_allocator , class t_memory_manager >
Set |
( |
const Buffer< t_type, t_index_type, t_memory_allocator, t_memory_manager > & | values | ) |
|
|
inline |
◆ add() [1/2]
template<class t_type >
void add |
( |
const t_value & | key | ) |
|
|
inline |
◆ add() [2/2]
template<class t_type >
void add |
( |
t_value && | key | ) |
|
|
inline |
◆ hasValue()
template<class t_type >
bool hasValue |
( |
const t_value & | key | ) |
const |
|
inlinenodiscard |
◆ indexOf()
template<class t_type >
uint04 indexOf |
( |
const t_value & | key | ) |
const |
|
inlinenodiscard |
◆ size()
◆ values()
template<class t_type >
template<class t_index_type = uint04, class t_memory_allocator = ObjectAllocator<ObjectInfo<t_value>::Primitive, t_index_type>, class t_memory_manager = BufferAllocator<t_value, t_index_type, false>>
Buffer< t_value, t_index_type, t_memory_allocator, t_memory_manager > values |
( |
| ) |
const |
|
inlinenodiscard |
The documentation for this class was generated from the following files: