openMSX
|
#include <CircularBuffer.hh>
Public Member Functions | |
constexpr | CircularBuffer ()=default |
constexpr void | push_front (const T &element) |
constexpr void | push_front (T &&element) |
constexpr void | push_back (const T &element) |
constexpr void | push_back (T &&element) |
constexpr T & | pop_front () |
constexpr T & | pop_back () |
constexpr T & | operator[] (size_t pos) |
constexpr const T & | operator[] (size_t pos) const |
constexpr T & | front () |
constexpr const T & | front () const |
constexpr T & | back () |
constexpr const T & | back () const |
constexpr bool | empty () const |
constexpr bool | full () const |
constexpr size_t | size () const |
void | clear () |
Definition at line 12 of file CircularBuffer.hh.
|
constexprdefault |
|
inlineconstexpr |
Definition at line 69 of file CircularBuffer.hh.
References openmsx::CircularBuffer< T, MAXSIZE >::empty().
Referenced by openmsx::CircularBuffer< T, MAXSIZE >::back(), and TEST_CASE().
|
inlineconstexpr |
Definition at line 73 of file CircularBuffer.hh.
References openmsx::CircularBuffer< T, MAXSIZE >::back().
|
inline |
Definition at line 91 of file CircularBuffer.hh.
|
inlineconstexpr |
Definition at line 77 of file CircularBuffer.hh.
Referenced by openmsx::CircularBuffer< T, MAXSIZE >::back(), openmsx::CircularBuffer< T, MAXSIZE >::front(), openmsx::CircularBuffer< T, MAXSIZE >::pop_back(), openmsx::CircularBuffer< T, MAXSIZE >::pop_front(), and TEST_CASE().
|
inlineconstexpr |
Definition at line 61 of file CircularBuffer.hh.
References openmsx::CircularBuffer< T, MAXSIZE >::empty().
Referenced by openmsx::CircularBuffer< T, MAXSIZE >::front(), and TEST_CASE().
|
inlineconstexpr |
Definition at line 65 of file CircularBuffer.hh.
References openmsx::CircularBuffer< T, MAXSIZE >::front().
|
inlineconstexpr |
|
inlineconstexpr |
Definition at line 49 of file CircularBuffer.hh.
References openmsx::CircularBuffer< T, MAXSIZE >::size().
|
inlineconstexpr |
Definition at line 57 of file CircularBuffer.hh.
|
inlineconstexpr |
Definition at line 43 of file CircularBuffer.hh.
References openmsx::CircularBuffer< T, MAXSIZE >::empty().
Referenced by openmsx::Display::repaintImpl(), and TEST_CASE().
|
inlineconstexpr |
Definition at line 37 of file CircularBuffer.hh.
References openmsx::CircularBuffer< T, MAXSIZE >::empty().
Referenced by TEST_CASE().
|
inlineconstexpr |
Definition at line 27 of file CircularBuffer.hh.
References openmsx::CircularBuffer< T, MAXSIZE >::full().
Referenced by TEST_CASE().
|
inlineconstexpr |
Definition at line 32 of file CircularBuffer.hh.
References openmsx::CircularBuffer< T, MAXSIZE >::full().
|
inlineconstexpr |
Definition at line 17 of file CircularBuffer.hh.
References openmsx::CircularBuffer< T, MAXSIZE >::full().
Referenced by openmsx::Display::Display(), openmsx::Display::repaintImpl(), and TEST_CASE().
|
inlineconstexpr |
Definition at line 22 of file CircularBuffer.hh.
References openmsx::CircularBuffer< T, MAXSIZE >::full().
|
inlineconstexpr |
Definition at line 83 of file CircularBuffer.hh.
Referenced by openmsx::CircularBuffer< T, MAXSIZE >::operator[](), and TEST_CASE().