mn::container::basic_fixed_sorted_vector< TKey, TValue, TCapacity, TAllocator, TCompare > Class Template Reference

#include <mn_fixed_sorted_vector.hpp>

+ Inheritance diagram for mn::container::basic_fixed_sorted_vector< TKey, TValue, TCapacity, TAllocator, TCompare >:
+ Collaboration diagram for mn::container::basic_fixed_sorted_vector< TKey, TValue, TCapacity, TAllocator, TCompare >:

Public Types

using iterator_category = typename base_type::iterator_category
 
using value_type = typename base_type::value_type
 
using pointer = typename base_type::pointer
 
using reference = typename base_type::reference
 
using difference_type = typename base_type::difference_type
 
using iterator = typename base_type::iterator
 
using const_iterator = typename base_type::const_iterator
 
using allocator_type = typename base_type::allocator_type
 
using size_type = typename base_type::size_type
 
using self_type = basic_fixed_sorted_vector< TKey, TValue, TCapacity, TAllocator, TCompare >
 
- Public Types inherited from mn::container::basic_sorted_vector< TKey, TValue, TAllocator, mn::less< TKey >, fixed_vector_storage< basic_pair< TKey, TValue >, TAllocator, TCapacity > >
using key_type = TKey
 
using mapped_type = TValue
 
using size_type = typename base_type::size_type
 
using value_type = typename base_type::value_type
 
using pointer = typename base_type::pointer
 
using reference = typename base_type::reference
 
using iterator = typename base_type::iterator
 
using const_iterator = typename base_type::const_iterator
 
using allocator_type = typename base_type::allocator_type
 
using compare_type = internal::compare_func< value_type, mn::less< TKey > >
 
using pair_type = basic_pair< iterator, bool >
 

Public Member Functions

 basic_fixed_sorted_vector (const allocator_type &allocator=allocator_type())
 
 basic_fixed_sorted_vector (const self_type &)=delete
 
self_typeoperator= (const self_type &)=delete
 
- Public Member Functions inherited from mn::container::basic_sorted_vector< TKey, TValue, TAllocator, mn::less< TKey >, fixed_vector_storage< basic_pair< TKey, TValue >, TAllocator, TCapacity > >
 basic_sorted_vector (const allocator_type &allocator=allocator_type())
 
 basic_sorted_vector (InputIterator first, InputIterator last, const allocator_type &allocator=allocator_type())
 
 basic_sorted_vector (const basic_sorted_vector &)=delete
 
basic_sorted_vectoroperator= (const basic_sorted_vector &)=delete
 
pair_type insert (const value_type &val)
 
pair_type insert (const key_type &k, const mapped_type &v)
 
iterator find (const key_type &k)
 
const_iterator find (const key_type &k) const
 
iterator erase (iterator it)
 
size_type erase (const key_type &k)
 
iterator lower_bound (const key_type &k)
 
const_iterator lower_bound (const key_type &k) const
 
iterator upper_bound (const key_type &k)
 
const_iterator upper_bound (const key_type &k) const
 
iterator begin ()
 
iterator end ()
 
size_type size () const
 
bool empty () const
 
size_type capacity ()
 
void clear ()
 
const allocator_typeget_allocator () const
 
void set_allocator (const allocator_type &allocator)
 

Private Types

using base_type = basic_sorted_vector< TKey, TValue, TAllocator, TCompare, fixed_vector_storage< basic_pair< TKey, TValue >, TAllocator, TCapacity > >
 

Member Typedef Documentation

◆ allocator_type

template<typename TKey , typename TValue , int TCapacity, class TAllocator , class TCompare = mn::less<TKey>>
using mn::container::basic_fixed_sorted_vector< TKey, TValue, TCapacity, TAllocator, TCompare >::allocator_type = typename base_type::allocator_type

◆ base_type

template<typename TKey , typename TValue , int TCapacity, class TAllocator , class TCompare = mn::less<TKey>>
using mn::container::basic_fixed_sorted_vector< TKey, TValue, TCapacity, TAllocator, TCompare >::base_type = basic_sorted_vector<TKey, TValue, TAllocator, TCompare, fixed_vector_storage< basic_pair<TKey, TValue>, TAllocator, TCapacity > >
private

◆ const_iterator

template<typename TKey , typename TValue , int TCapacity, class TAllocator , class TCompare = mn::less<TKey>>
using mn::container::basic_fixed_sorted_vector< TKey, TValue, TCapacity, TAllocator, TCompare >::const_iterator = typename base_type::const_iterator

◆ difference_type

template<typename TKey , typename TValue , int TCapacity, class TAllocator , class TCompare = mn::less<TKey>>
using mn::container::basic_fixed_sorted_vector< TKey, TValue, TCapacity, TAllocator, TCompare >::difference_type = typename base_type::difference_type

◆ iterator

template<typename TKey , typename TValue , int TCapacity, class TAllocator , class TCompare = mn::less<TKey>>
using mn::container::basic_fixed_sorted_vector< TKey, TValue, TCapacity, TAllocator, TCompare >::iterator = typename base_type::iterator

◆ iterator_category

template<typename TKey , typename TValue , int TCapacity, class TAllocator , class TCompare = mn::less<TKey>>
using mn::container::basic_fixed_sorted_vector< TKey, TValue, TCapacity, TAllocator, TCompare >::iterator_category = typename base_type::iterator_category

◆ pointer

template<typename TKey , typename TValue , int TCapacity, class TAllocator , class TCompare = mn::less<TKey>>
using mn::container::basic_fixed_sorted_vector< TKey, TValue, TCapacity, TAllocator, TCompare >::pointer = typename base_type::pointer

◆ reference

template<typename TKey , typename TValue , int TCapacity, class TAllocator , class TCompare = mn::less<TKey>>
using mn::container::basic_fixed_sorted_vector< TKey, TValue, TCapacity, TAllocator, TCompare >::reference = typename base_type::reference

◆ self_type

template<typename TKey , typename TValue , int TCapacity, class TAllocator , class TCompare = mn::less<TKey>>
using mn::container::basic_fixed_sorted_vector< TKey, TValue, TCapacity, TAllocator, TCompare >::self_type = basic_fixed_sorted_vector<TKey, TValue, TCapacity, TAllocator, TCompare >

◆ size_type

template<typename TKey , typename TValue , int TCapacity, class TAllocator , class TCompare = mn::less<TKey>>
using mn::container::basic_fixed_sorted_vector< TKey, TValue, TCapacity, TAllocator, TCompare >::size_type = typename base_type::size_type

◆ value_type

template<typename TKey , typename TValue , int TCapacity, class TAllocator , class TCompare = mn::less<TKey>>
using mn::container::basic_fixed_sorted_vector< TKey, TValue, TCapacity, TAllocator, TCompare >::value_type = typename base_type::value_type

Constructor & Destructor Documentation

◆ basic_fixed_sorted_vector() [1/2]

template<typename TKey , typename TValue , int TCapacity, class TAllocator , class TCompare = mn::less<TKey>>
mn::container::basic_fixed_sorted_vector< TKey, TValue, TCapacity, TAllocator, TCompare >::basic_fixed_sorted_vector ( const allocator_type allocator = allocator_type())
inlineexplicit

◆ basic_fixed_sorted_vector() [2/2]

template<typename TKey , typename TValue , int TCapacity, class TAllocator , class TCompare = mn::less<TKey>>
mn::container::basic_fixed_sorted_vector< TKey, TValue, TCapacity, TAllocator, TCompare >::basic_fixed_sorted_vector ( const self_type )
delete

Member Function Documentation

◆ operator=()

template<typename TKey , typename TValue , int TCapacity, class TAllocator , class TCompare = mn::less<TKey>>
self_type& mn::container::basic_fixed_sorted_vector< TKey, TValue, TCapacity, TAllocator, TCompare >::operator= ( const self_type )
delete

The documentation for this class was generated from the following file: