Anklang 0.3.0-460-gc4ef46ba
ASE — Anklang Sound Engine (C++)
« « « Anklang Documentation |
Vector that keeps its elements sorted. More...
#include "sortnet.hh"
Public Types | |
using | size_type = typename std::vector< T >::size_type |
using | value_type = typename std::vector< T >::value_type |
using | iterator = typename std::vector< T >::iterator |
using | const_iterator = typename std::vector< T >::const_iterator |
using | reverse_iterator = typename std::vector< T >::reverse_iterator |
using | const_reverse_iterator = typename std::vector< T >::const_reverse_iterator |
using | const_reference = typename std::vector< T >::const_reference |
Public Member Functions | |
constexpr void | reserve (size_type n) |
constexpr size_type | capacity () const noexcept |
constexpr const_iterator | begin () const noexcept |
constexpr const_iterator | end () const noexcept |
constexpr const_reverse_iterator | crbegin () const noexcept |
constexpr const_reverse_iterator | crend () const noexcept |
constexpr const_reverse_iterator | rbegin () const noexcept |
constexpr const_reverse_iterator | rend () const noexcept |
constexpr void | clear () noexcept |
constexpr bool | empty () const noexcept |
constexpr iterator | erase (const_iterator first, const_iterator last) |
constexpr iterator | erase (const_iterator position) |
constexpr iterator | replace (const value_type &val) |
constexpr size_type | size () const noexcept |
constexpr void | shrink_to_fit () |
constexpr bool | sorted (const bool allow_multiple=false) const |
constexpr bool | contains (const value_type &val) const |
constexpr const_iterator | find (const value_type &val) const |
constexpr const_reference | front () const noexcept |
constexpr const_reference | back () const noexcept |
constexpr const T * | data () const noexcept |
constexpr T * | data () noexcept |
constexpr void | swap (std::vector< T > &other) noexcept |
constexpr void | swap (SortedVector &other) noexcept |
constexpr const_reference | at (size_type n) const |
constexpr const_reference | operator[] (size_type n) const noexcept |
constexpr SortedVector & | operator= (const SortedVector &other) |
constexpr SortedVector & | operator= (const std::vector< T > &other) |
constexpr SortedVector & | operator= (std::initializer_list< value_type > l) |
constexpr SortedVector & | operator= (SortedVector &&other) |
constexpr SortedVector & | operator= (std::vector< T > &&other) |
constexpr void | resize (size_type n, const value_type &el) |
constexpr void | assign (std::initializer_list< value_type > l) |
constexpr void | sort () |
constexpr iterator | find (const value_type &val) |
constexpr iterator | insert (const value_type &val, bool replace=false) |
constexpr bool | sorted (const Less &lesser, const bool allow_multiple=false) const |
constexpr size_type | collapse (bool delete_first=true) |
template<class Pred > | |
constexpr size_type | erase_if (Pred pred) |
template<class InputIterator > | |
constexpr | SortedVector (InputIterator first, InputIterator last) |
constexpr | SortedVector (std::initializer_list< value_type > l={}) |
operator const std::vector< T > () const | |
Friends | |
template<class Pred > | |
constexpr size_type | erase_if (SortedVector &self, Pred pred) |
Vector that keeps its elements sorted.
Definition at line 223 of file sortnet.hh.
using Ase::SortedVector< T, Less >::const_iterator = typename std::vector<T>::const_iterator |
Definition at line 229 of file sortnet.hh.
using Ase::SortedVector< T, Less >::const_reference = typename std::vector<T>::const_reference |
Definition at line 232 of file sortnet.hh.
using Ase::SortedVector< T, Less >::const_reverse_iterator = typename std::vector<T>::const_reverse_iterator |
Definition at line 231 of file sortnet.hh.
using Ase::SortedVector< T, Less >::iterator = typename std::vector<T>::iterator |
Definition at line 228 of file sortnet.hh.
using Ase::SortedVector< T, Less >::reverse_iterator = typename std::vector<T>::reverse_iterator |
Definition at line 230 of file sortnet.hh.
using Ase::SortedVector< T, Less >::size_type = typename std::vector<T>::size_type |
Definition at line 226 of file sortnet.hh.
using Ase::SortedVector< T, Less >::value_type = typename std::vector<T>::value_type |
Definition at line 227 of file sortnet.hh.
|
constexpr |
Definition at line 370 of file sortnet.hh.
|
constexpr |
Definition at line 376 of file sortnet.hh.
|
constexpr |
Definition at line 298 of file sortnet.hh.
|
constexpr |
Definition at line 257 of file sortnet.hh.
|
constexprnoexcept |
Definition at line 252 of file sortnet.hh.
|
constexprnoexcept |
Definition at line 235 of file sortnet.hh.
|
constexprnoexcept |
Definition at line 234 of file sortnet.hh.
|
constexprnoexcept |
Definition at line 241 of file sortnet.hh.
|
constexpr |
Definition at line 346 of file sortnet.hh.
|
constexpr |
Definition at line 249 of file sortnet.hh.
|
constexprnoexcept |
Definition at line 237 of file sortnet.hh.
|
constexprnoexcept |
Definition at line 238 of file sortnet.hh.
|
constexprnoexcept |
Definition at line 253 of file sortnet.hh.
|
constexprnoexcept |
Definition at line 254 of file sortnet.hh.
|
constexprnoexcept |
Definition at line 242 of file sortnet.hh.
|
constexprnoexcept |
Definition at line 236 of file sortnet.hh.
|
constexpr |
Definition at line 243 of file sortnet.hh.
|
constexpr |
Definition at line 244 of file sortnet.hh.
|
constexpr |
Definition at line 359 of file sortnet.hh.
|
constexpr |
Definition at line 310 of file sortnet.hh.
|
constexpr |
Definition at line 250 of file sortnet.hh.
|
constexprnoexcept |
Definition at line 251 of file sortnet.hh.
|
constexpr |
Definition at line 319 of file sortnet.hh.
Ase::SortedVector< T, Less >::operator const std::vector< T > | ( | ) | const |
Definition at line 380 of file sortnet.hh.
|
constexpr |
Definition at line 259 of file sortnet.hh.
|
constexpr |
Definition at line 261 of file sortnet.hh.
|
constexpr |
Definition at line 275 of file sortnet.hh.
|
constexpr |
Definition at line 268 of file sortnet.hh.
|
constexpr |
Definition at line 282 of file sortnet.hh.
|
constexprnoexcept |
Definition at line 258 of file sortnet.hh.
|
constexprnoexcept |
Definition at line 239 of file sortnet.hh.
|
constexprnoexcept |
Definition at line 240 of file sortnet.hh.
|
constexpr |
Definition at line 245 of file sortnet.hh.
|
constexpr |
Definition at line 233 of file sortnet.hh.
|
constexpr |
Definition at line 290 of file sortnet.hh.
|
constexpr |
Definition at line 247 of file sortnet.hh.
|
constexprnoexcept |
Definition at line 246 of file sortnet.hh.
|
constexpr |
Definition at line 304 of file sortnet.hh.
|
constexpr |
Definition at line 248 of file sortnet.hh.
|
constexpr |
Definition at line 333 of file sortnet.hh.
|
constexprnoexcept |
Definition at line 256 of file sortnet.hh.
|
constexprnoexcept |
Definition at line 255 of file sortnet.hh.
|
friend |
Definition at line 381 of file sortnet.hh.