Simox  2.3.74.0
simox::OrderedCircularBuffer< KeyT_, ElementT_ > Class Template Reference

Public Types

using value_type = typename Container::value_type
 
using reference = typename Container::reference
 
using const_reference = typename Container::const_reference
 
using pointer = typename Container::pointer
 
using const_pointer = typename Container::const_pointer
 
using iterator = typename Container::iterator
 
using const_iterator = typename Container::const_iterator
 
using reverse_iterator = typename Container::reverse_iterator
 
using const_reverse_iterator = typename Container::const_reverse_iterator
 

Public Member Functions

iterator begin ()
 
const_iterator begin () const
 
iterator end ()
 
const_iterator end () const
 
reverse_iterator rbegin ()
 
const_reverse_iterator rbegin () const
 
reverse_iterator rend ()
 
const_reverse_iterator rend () const
 
bool empty () const
 
std::size_t size () const
 
void clear ()
 
iterator find (KeyT const &key)
 
const_iterator find (KeyT const &key) const
 
int count (KeyT const &key) const
 
ElementT & at (KeyT const &key)
 
ElementT const & at (KeyT const &key) const
 
std::pair< iterator, bool > emplace (KeyT const &key, ElementT &&element)
 
void setMaxSize (std::size_t maxSize)
 
std::size_t getMaxSize ()
 

Static Public Member Functions

static OrderedCircularBuffer createWithMaxSize (std::size_t maxSize)
 

Member Typedef Documentation

◆ const_iterator

template<typename KeyT_ , typename ElementT_ >
using simox::OrderedCircularBuffer< KeyT_, ElementT_ >::const_iterator = typename Container::const_iterator

◆ const_pointer

template<typename KeyT_ , typename ElementT_ >
using simox::OrderedCircularBuffer< KeyT_, ElementT_ >::const_pointer = typename Container::const_pointer

◆ const_reference

template<typename KeyT_ , typename ElementT_ >
using simox::OrderedCircularBuffer< KeyT_, ElementT_ >::const_reference = typename Container::const_reference

◆ const_reverse_iterator

template<typename KeyT_ , typename ElementT_ >
using simox::OrderedCircularBuffer< KeyT_, ElementT_ >::const_reverse_iterator = typename Container::const_reverse_iterator

◆ iterator

template<typename KeyT_ , typename ElementT_ >
using simox::OrderedCircularBuffer< KeyT_, ElementT_ >::iterator = typename Container::iterator

◆ pointer

template<typename KeyT_ , typename ElementT_ >
using simox::OrderedCircularBuffer< KeyT_, ElementT_ >::pointer = typename Container::pointer

◆ reference

template<typename KeyT_ , typename ElementT_ >
using simox::OrderedCircularBuffer< KeyT_, ElementT_ >::reference = typename Container::reference

◆ reverse_iterator

template<typename KeyT_ , typename ElementT_ >
using simox::OrderedCircularBuffer< KeyT_, ElementT_ >::reverse_iterator = typename Container::reverse_iterator

◆ value_type

template<typename KeyT_ , typename ElementT_ >
using simox::OrderedCircularBuffer< KeyT_, ElementT_ >::value_type = typename Container::value_type

Member Function Documentation

◆ at() [1/2]

template<typename KeyT_ , typename ElementT_ >
ElementT& simox::OrderedCircularBuffer< KeyT_, ElementT_ >::at ( KeyT const &  key)
inline

◆ at() [2/2]

template<typename KeyT_ , typename ElementT_ >
ElementT const& simox::OrderedCircularBuffer< KeyT_, ElementT_ >::at ( KeyT const &  key) const
inline

◆ begin() [1/2]

template<typename KeyT_ , typename ElementT_ >
iterator simox::OrderedCircularBuffer< KeyT_, ElementT_ >::begin ( )
inline

◆ begin() [2/2]

template<typename KeyT_ , typename ElementT_ >
const_iterator simox::OrderedCircularBuffer< KeyT_, ElementT_ >::begin ( ) const
inline

◆ clear()

template<typename KeyT_ , typename ElementT_ >
void simox::OrderedCircularBuffer< KeyT_, ElementT_ >::clear ( )
inline

◆ count()

template<typename KeyT_ , typename ElementT_ >
int simox::OrderedCircularBuffer< KeyT_, ElementT_ >::count ( KeyT const &  key) const
inline

◆ createWithMaxSize()

template<typename KeyT_ , typename ElementT_ >
static OrderedCircularBuffer simox::OrderedCircularBuffer< KeyT_, ElementT_ >::createWithMaxSize ( std::size_t  maxSize)
inlinestatic

◆ emplace()

template<typename KeyT_ , typename ElementT_ >
std::pair<iterator, bool> simox::OrderedCircularBuffer< KeyT_, ElementT_ >::emplace ( KeyT const &  key,
ElementT &&  element 
)
inline

◆ empty()

template<typename KeyT_ , typename ElementT_ >
bool simox::OrderedCircularBuffer< KeyT_, ElementT_ >::empty ( ) const
inline

◆ end() [1/2]

template<typename KeyT_ , typename ElementT_ >
iterator simox::OrderedCircularBuffer< KeyT_, ElementT_ >::end ( )
inline

◆ end() [2/2]

template<typename KeyT_ , typename ElementT_ >
const_iterator simox::OrderedCircularBuffer< KeyT_, ElementT_ >::end ( ) const
inline

◆ find() [1/2]

template<typename KeyT_ , typename ElementT_ >
iterator simox::OrderedCircularBuffer< KeyT_, ElementT_ >::find ( KeyT const &  key)
inline

◆ find() [2/2]

template<typename KeyT_ , typename ElementT_ >
const_iterator simox::OrderedCircularBuffer< KeyT_, ElementT_ >::find ( KeyT const &  key) const
inline

◆ getMaxSize()

template<typename KeyT_ , typename ElementT_ >
std::size_t simox::OrderedCircularBuffer< KeyT_, ElementT_ >::getMaxSize ( )
inline

◆ rbegin() [1/2]

template<typename KeyT_ , typename ElementT_ >
reverse_iterator simox::OrderedCircularBuffer< KeyT_, ElementT_ >::rbegin ( )
inline

◆ rbegin() [2/2]

template<typename KeyT_ , typename ElementT_ >
const_reverse_iterator simox::OrderedCircularBuffer< KeyT_, ElementT_ >::rbegin ( ) const
inline

◆ rend() [1/2]

template<typename KeyT_ , typename ElementT_ >
reverse_iterator simox::OrderedCircularBuffer< KeyT_, ElementT_ >::rend ( )
inline

◆ rend() [2/2]

template<typename KeyT_ , typename ElementT_ >
const_reverse_iterator simox::OrderedCircularBuffer< KeyT_, ElementT_ >::rend ( ) const
inline

◆ setMaxSize()

template<typename KeyT_ , typename ElementT_ >
void simox::OrderedCircularBuffer< KeyT_, ElementT_ >::setMaxSize ( std::size_t  maxSize)
inline

◆ size()

template<typename KeyT_ , typename ElementT_ >
std::size_t simox::OrderedCircularBuffer< KeyT_, ElementT_ >::size ( ) const
inline