ALBA
|
#include <sorted_vector.h>
Public Types | |
typedef sorted_vector< K, bNoDuplicates, Pr, A > | Myt_ |
typedef std::vector< K, A > | Cont |
typedef Cont::allocator_type | allocator_type |
typedef Cont::size_type | size_type |
typedef Cont::difference_type | difference_type |
typedef Cont::reference | reference |
typedef Cont::const_reference | const_reference |
typedef Cont::value_type | value_type |
typedef K | key_type |
typedef Cont::iterator | iterator |
typedef Cont::const_iterator | const_iterator |
typedef Pr | key_compare |
typedef Pr | value_compare |
typedef Cont::const_reverse_iterator | const_reverse_iterator |
typedef Cont::reverse_iterator | reverse_iterator |
typedef std::pair< iterator, iterator > | Pairii_ |
typedef std::pair< const_iterator, const_iterator > | Paircc_ |
typedef std::pair< iterator, bool > | Pairib_ |
Protected Member Functions | |
iterator | Unique_ () |
iterator | InsertImpl_ (iterator p, const value_type &x) |
bool | KeyCompare_Leq_ (const K &ty0, const K &ty1) |
bool | KeyCompare_Geq_ (const K &ty0, const K &ty1) |
bool | KeyCompare_Gt_ (const K &ty0, const K &ty1) |
Protected Attributes | |
key_compare | key_compare_ |
Cont | vec_ |
Friends | |
void | swap (Myt_ &x, Myt_ &Y_) |
Definition at line 41 of file sorted_vector.h.
typedef sorted_vector<K,bNoDuplicates,Pr,A> codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::Myt_ |
Definition at line 43 of file sorted_vector.h.
typedef std::vector<K,A> codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::Cont |
Definition at line 44 of file sorted_vector.h.
typedef Cont::allocator_type codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::allocator_type |
Definition at line 45 of file sorted_vector.h.
typedef Cont::size_type codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::size_type |
Definition at line 46 of file sorted_vector.h.
typedef Cont::difference_type codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::difference_type |
Definition at line 47 of file sorted_vector.h.
typedef Cont::reference codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::reference |
Definition at line 48 of file sorted_vector.h.
typedef Cont::const_reference codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::const_reference |
Definition at line 49 of file sorted_vector.h.
typedef Cont::value_type codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::value_type |
Definition at line 50 of file sorted_vector.h.
typedef K codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::key_type |
Definition at line 51 of file sorted_vector.h.
typedef Cont::iterator codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::iterator |
Definition at line 52 of file sorted_vector.h.
typedef Cont::const_iterator codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::const_iterator |
Definition at line 53 of file sorted_vector.h.
typedef Pr codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::key_compare |
Definition at line 54 of file sorted_vector.h.
typedef Pr codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::value_compare |
Definition at line 55 of file sorted_vector.h.
typedef Cont::const_reverse_iterator codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::const_reverse_iterator |
Definition at line 58 of file sorted_vector.h.
typedef Cont::reverse_iterator codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::reverse_iterator |
Definition at line 59 of file sorted_vector.h.
typedef std::pair<iterator, iterator> codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::Pairii_ |
Definition at line 61 of file sorted_vector.h.
typedef std::pair<const_iterator, const_iterator> codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::Paircc_ |
Definition at line 62 of file sorted_vector.h.
typedef std::pair<iterator, bool> codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::Pairib_ |
Definition at line 63 of file sorted_vector.h.
|
inlineexplicit |
Definition at line 64 of file sorted_vector.h.
|
inline |
Definition at line 73 of file sorted_vector.h.
References codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::stable_sort().
|
inline |
Definition at line 78 of file sorted_vector.h.
|
inline |
Definition at line 81 of file sorted_vector.h.
|
inline |
Definition at line 82 of file sorted_vector.h.
References codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::key_compare_, and codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::vec_.
|
inline |
Definition at line 85 of file sorted_vector.h.
References codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::sort(), and codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::vec_.
|
inline |
Definition at line 88 of file sorted_vector.h.
References codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::vec_.
Referenced by codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::insert().
|
inline |
Definition at line 89 of file sorted_vector.h.
References codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::vec_.
Referenced by codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::Eq_(), codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::equal_range(), codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::lower_bound(), codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::Lt_(), and codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::upper_bound().
|
inline |
Definition at line 90 of file sorted_vector.h.
References codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::vec_.
|
inline |
Definition at line 91 of file sorted_vector.h.
References codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::vec_.
Referenced by codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::Eq_(), codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::equal_range(), codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::find(), codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::insert(), codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::lower_bound(), codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::Lt_(), codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::stable_sort(), and codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::upper_bound().
|
inline |
Definition at line 92 of file sorted_vector.h.
References codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::vec_.
|
inline |
Definition at line 93 of file sorted_vector.h.
References codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::vec_.
|
inline |
Definition at line 94 of file sorted_vector.h.
References codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::vec_.
|
inline |
Definition at line 97 of file sorted_vector.h.
References codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::vec_.
|
inline |
Definition at line 98 of file sorted_vector.h.
References codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::vec_.
|
inline |
Definition at line 102 of file sorted_vector.h.
References codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::vec_.
Referenced by codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::Eq_(), and codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::insert().
|
inline |
Definition at line 103 of file sorted_vector.h.
References codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::vec_.
|
inline |
Definition at line 104 of file sorted_vector.h.
References codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::vec_.
|
inline |
Definition at line 105 of file sorted_vector.h.
References codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::vec_.
|
inline |
Definition at line 106 of file sorted_vector.h.
References codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::vec_.
|
inline |
Definition at line 107 of file sorted_vector.h.
References codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::vec_.
|
inline |
Definition at line 108 of file sorted_vector.h.
References codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::vec_.
|
inline |
Definition at line 111 of file sorted_vector.h.
References codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::vec_.
|
inline |
Definition at line 112 of file sorted_vector.h.
References codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::vec_.
|
inline |
Definition at line 113 of file sorted_vector.h.
References codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::vec_.
|
inline |
Definition at line 114 of file sorted_vector.h.
References codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::vec_.
|
inline |
Definition at line 115 of file sorted_vector.h.
References codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::vec_.
|
inline |
Definition at line 116 of file sorted_vector.h.
References codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::vec_.
|
inline |
Definition at line 118 of file sorted_vector.h.
References codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::vec_.
|
inline |
Definition at line 120 of file sorted_vector.h.
References codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::vec_.
|
inline |
Definition at line 123 of file sorted_vector.h.
References codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::end(), codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::InsertImpl_(), codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::key_compare_, codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::lower_bound(), and codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::upper_bound().
Referenced by codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::insert().
|
inline |
Definition at line 137 of file sorted_vector.h.
References codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::end(), codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::insert(), codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::InsertImpl_(), codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::key_compare_, codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::KeyCompare_Geq_(), codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::KeyCompare_Gt_(), and codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::KeyCompare_Leq_().
|
inline |
Definition at line 168 of file sorted_vector.h.
References codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::insert(), codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::reserve(), and codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::size().
|
inline |
Definition at line 177 of file sorted_vector.h.
References codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::vec_.
Referenced by codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::erase(), and codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::stable_sort().
|
inline |
Definition at line 178 of file sorted_vector.h.
References codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::vec_.
|
inline |
Definition at line 180 of file sorted_vector.h.
References codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::equal_range(), and codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::erase().
|
inline |
Definition at line 187 of file sorted_vector.h.
References codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::vec_.
|
inline |
Definition at line 189 of file sorted_vector.h.
References codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::begin(), codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::end(), and codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::size().
Referenced by codeproject::operator==().
|
inline |
Definition at line 192 of file sorted_vector.h.
References codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::begin(), and codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::end().
Referenced by codeproject::operator<().
|
inline |
Definition at line 195 of file sorted_vector.h.
References codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::key_compare_, and codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::vec_.
|
inline |
Definition at line 201 of file sorted_vector.h.
References codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::key_compare_.
Referenced by codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::value_comp().
|
inline |
Definition at line 202 of file sorted_vector.h.
References codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::key_comp().
|
inline |
Definition at line 203 of file sorted_vector.h.
References codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::end(), codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::key_compare_, and codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::lower_bound().
|
inline |
Definition at line 207 of file sorted_vector.h.
References codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::end(), codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::key_compare_, and codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::lower_bound().
|
inline |
Definition at line 210 of file sorted_vector.h.
References codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::equal_range().
|
inline |
Definition at line 214 of file sorted_vector.h.
References codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::begin(), codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::end(), and codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::key_compare_.
Referenced by codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::find(), and codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::insert().
|
inline |
Definition at line 216 of file sorted_vector.h.
References codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::begin(), codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::end(), and codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::key_compare_.
|
inline |
Definition at line 218 of file sorted_vector.h.
References codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::begin(), codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::end(), and codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::key_compare_.
Referenced by codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::insert().
|
inline |
Definition at line 220 of file sorted_vector.h.
References codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::begin(), codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::end(), and codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::key_compare_.
|
inline |
Definition at line 222 of file sorted_vector.h.
References codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::begin(), codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::end(), and codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::key_compare_.
Referenced by codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::count(), and codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::erase().
|
inline |
Definition at line 224 of file sorted_vector.h.
References codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::begin(), codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::end(), and codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::key_compare_.
|
inline |
Definition at line 228 of file sorted_vector.h.
References codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::vec_.
|
inline |
Definition at line 230 of file sorted_vector.h.
References codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::key_compare_, codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::Unique_(), and codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::vec_.
Referenced by codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::operator=().
|
inline |
Definition at line 236 of file sorted_vector.h.
References codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::end(), codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::erase(), codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::key_compare_, codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::Unique_(), and codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::vec_.
Referenced by codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::sorted_vector().
|
inlineprotected |
Definition at line 243 of file sorted_vector.h.
References codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::key_compare_, and codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::vec_.
Referenced by codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::sort(), and codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::stable_sort().
|
inlineprotected |
Definition at line 258 of file sorted_vector.h.
References codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::vec_.
Referenced by codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::insert().
|
inlineprotected |
Definition at line 260 of file sorted_vector.h.
References codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::key_compare_.
Referenced by codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::insert().
|
inlineprotected |
Definition at line 262 of file sorted_vector.h.
References codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::key_compare_.
Referenced by codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::insert().
|
inlineprotected |
Definition at line 264 of file sorted_vector.h.
References codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::key_compare_.
Referenced by codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::insert().
|
friend |
Definition at line 198 of file sorted_vector.h.
|
protected |
Definition at line 267 of file sorted_vector.h.
Referenced by codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::equal_range(), codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::find(), codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::insert(), codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::key_comp(), codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::KeyCompare_Geq_(), codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::KeyCompare_Gt_(), codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::KeyCompare_Leq_(), codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::lower_bound(), codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::operator=(), codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::sort(), codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::stable_sort(), codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::swap(), codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::Unique_(), and codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::upper_bound().
|
protected |
Definition at line 268 of file sorted_vector.h.
Referenced by codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::assign(), codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::at(), codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::back(), codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::begin(), codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::clear(), codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::empty(), codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::end(), codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::erase(), codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::front(), codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::get_allocator(), codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::get_container(), codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::InsertImpl_(), codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::max_size(), codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::operator=(), codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::operator[](), codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::pop_back(), codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::rbegin(), codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::rend(), codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::reserve(), codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::size(), codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::sort(), codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::stable_sort(), codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::swap(), and codeproject::sorted_vector< K, bNoDuplicates, Pr, A >::Unique_().