FastLED 3.9.15
|
#include <rbtree.h>
Classes | |
struct | PairCompare |
Public Types | |
using | allocator_type = Allocator |
using | const_iterator = typename TreeType::const_iterator |
using | const_pointer = const value_type* |
using | const_reference = const value_type& |
using | difference_type = ptrdiff_t |
using | iterator = typename TreeType::iterator |
using | key_compare = Compare |
using | key_type = Key |
using | mapped_type = Value |
using | pointer = value_type* |
using | reference = value_type& |
using | size_type = fl::size |
using | value_type = fl::pair<Key, Value> |
Public Member Functions | |
MapRedBlackTree (const Compare &comp=Compare(), const Allocator &alloc=Allocator()) | |
MapRedBlackTree (const MapRedBlackTree &other)=default | |
~MapRedBlackTree ()=default | |
Value & | at (const Key &key) |
const Value & | at (const Key &key) const |
iterator | begin () |
const_iterator | begin () const |
const_iterator | cbegin () const |
const_iterator | cend () const |
void | clear () |
bool | contains (const Key &key) const |
fl::size | count (const Key &key) const |
template<typename... Args> | |
fl::pair< iterator, bool > | emplace (Args &&... args) |
bool | empty () const |
iterator | end () |
const_iterator | end () const |
fl::pair< iterator, iterator > | equal_range (const Key &key) |
fl::pair< const_iterator, const_iterator > | equal_range (const Key &key) const |
fl::size | erase (const Key &key) |
iterator | erase (const_iterator pos) |
iterator | find (const Key &key) |
const_iterator | find (const Key &key) const |
fl::pair< iterator, bool > | insert (const value_type &value) |
fl::pair< iterator, bool > | insert (value_type &&value) |
key_compare | key_comp () const |
iterator | lower_bound (const Key &key) |
const_iterator | lower_bound (const Key &key) const |
fl::size | max_size () const |
bool | operator!= (const MapRedBlackTree &other) const |
MapRedBlackTree & | operator= (const MapRedBlackTree &other)=default |
bool | operator== (const MapRedBlackTree &other) const |
Value & | operator[] (const Key &key) |
fl::size | size () const |
void | swap (MapRedBlackTree &other) |
iterator | upper_bound (const Key &key) |
const_iterator | upper_bound (const Key &key) const |
Private Types | |
using | TreeType = RedBlackTree<value_type, PairCompare, Allocator> |
Private Attributes | |
TreeType | mTree |