![]() |
Project
|
#include <OrderedSet.h>
Classes | |
struct | Comparator |
Public Types | |
using | source_type = source_T |
using | value_type = value_T |
using | tuple_type = std::pair< source_T, value_T > |
using | container_type = std::vector< tuple_type > |
using | size_type = size_t |
using | difference_type = std::ptrdiff_t |
using | reference = value_type & |
using | const_reference = const value_type & |
using | pointer = value_type * |
using | const_pointer = const value_type * |
using | iterator = OrderedSetIterator< tuple_type * > |
using | const_iterator = OrderedSetIterator< const tuple_type * > |
Public Member Functions | |
OrderedSet ()=default | |
OrderedSet (value_type nullElement) | |
OrderedSet (container_type container, value_type nullElement, OrderedSetState state=OrderedSetState::unordered) | |
const_reference | getNullElement () const |
const_reference | operator[] (source_type sourceSymbol) const |
reference | operator[] (source_type sourceSymbol) |
const_iterator | find (source_type sourceSymbol) const |
iterator | find (source_type sourceSymbol) |
size_type | size () const noexcept |
bool | empty () const noexcept |
const_iterator | cbegin () const noexcept |
const_iterator | cend () const noexcept |
const_iterator | begin () const noexcept |
const_iterator | end () const noexcept |
iterator | begin () noexcept |
iterator | end () noexcept |
container_type | release () &&noexcept |
Protected Member Functions | |
decltype(auto) | findImpl (source_type sourceSymbol) |
decltype(auto) | findImpl (source_type sourceSymbol) const |
Protected Attributes | |
container_type | mContainer {} |
value_type | mNullElement {} |
Friends | |
void | swap (OrderedSet &a, OrderedSet &b) noexcept |
Definition at line 40 of file OrderedSet.h.
using o2::rans::internal::OrderedSet< source_T, value_T >::const_iterator = OrderedSetIterator<const tuple_type*> |
Definition at line 54 of file OrderedSet.h.
using o2::rans::internal::OrderedSet< source_T, value_T >::const_pointer = const value_type* |
Definition at line 52 of file OrderedSet.h.
using o2::rans::internal::OrderedSet< source_T, value_T >::const_reference = const value_type& |
Definition at line 50 of file OrderedSet.h.
using o2::rans::internal::OrderedSet< source_T, value_T >::container_type = std::vector<tuple_type> |
Definition at line 46 of file OrderedSet.h.
using o2::rans::internal::OrderedSet< source_T, value_T >::difference_type = std::ptrdiff_t |
Definition at line 48 of file OrderedSet.h.
using o2::rans::internal::OrderedSet< source_T, value_T >::iterator = OrderedSetIterator<tuple_type*> |
Definition at line 53 of file OrderedSet.h.
using o2::rans::internal::OrderedSet< source_T, value_T >::pointer = value_type* |
Definition at line 51 of file OrderedSet.h.
using o2::rans::internal::OrderedSet< source_T, value_T >::reference = value_type& |
Definition at line 49 of file OrderedSet.h.
using o2::rans::internal::OrderedSet< source_T, value_T >::size_type = size_t |
Definition at line 47 of file OrderedSet.h.
using o2::rans::internal::OrderedSet< source_T, value_T >::source_type = source_T |
Definition at line 43 of file OrderedSet.h.
using o2::rans::internal::OrderedSet< source_T, value_T >::tuple_type = std::pair<source_T, value_T> |
Definition at line 45 of file OrderedSet.h.
using o2::rans::internal::OrderedSet< source_T, value_T >::value_type = value_T |
Definition at line 44 of file OrderedSet.h.
|
default |
|
inline |
Definition at line 57 of file OrderedSet.h.
|
inline |
Definition at line 58 of file OrderedSet.h.
|
inlinenoexcept |
Definition at line 112 of file OrderedSet.h.
|
inlinenoexcept |
Definition at line 116 of file OrderedSet.h.
|
inlinenoexcept |
Definition at line 108 of file OrderedSet.h.
|
inlinenoexcept |
Definition at line 110 of file OrderedSet.h.
|
inlinenoexcept |
Definition at line 106 of file OrderedSet.h.
|
inlinenoexcept |
Definition at line 114 of file OrderedSet.h.
|
inlinenoexcept |
Definition at line 118 of file OrderedSet.h.
|
inline |
Definition at line 102 of file OrderedSet.h.
|
inline |
Definition at line 100 of file OrderedSet.h.
|
inlineprotected |
Definition at line 142 of file OrderedSet.h.
|
inlineprotected |
Definition at line 153 of file OrderedSet.h.
|
inline |
Definition at line 78 of file OrderedSet.h.
|
inline |
Definition at line 90 of file OrderedSet.h.
|
inline |
Definition at line 80 of file OrderedSet.h.
|
inlinenoexcept |
Definition at line 120 of file OrderedSet.h.
|
inlinenoexcept |
Definition at line 104 of file OrderedSet.h.
|
friend |
Definition at line 122 of file OrderedSet.h.
|
protected |
Definition at line 164 of file OrderedSet.h.
|
protected |
Definition at line 165 of file OrderedSet.h.