|
TTKMusicPlayer
4.2.0.0
TTKMusicPlayer imitates Kugou UI, the music player uses of qmmp core library based on Qt for windows and linux
|
#include <ttktree.h>
Classes | |
| struct | iterator |
| struct | Node |
Public Types | |
| using | key_type = _Key |
| using | value_type = _Value |
| using | reference = _Value & |
| using | const_reference = const _Value & |
Public Member Functions | |
| TTKSplayTree () | |
| ~TTKSplayTree () | |
| void | insert (const key_type &key, const value_type &value) |
| value_type * | find (const key_type &key) |
| void | remove (const key_type &key) |
| reference | operator[] (const key_type &key) |
| iterator< key_type, value_type > | begin () |
| iterator< key_type, value_type > | end () |
| bool | empty () const |
| void | clear () noexcept |
Private Member Functions | |
| void | rotateLeft (Node *x) noexcept |
| void | rotateRight (Node *x) noexcept |
| void | splay (Node *x) |
| void | destroy (Node *node) noexcept |
Private Attributes | |
| Node * | m_root |
| using TTKSplayTree< _Key, _Value >::const_reference = const _Value& |
| using TTKSplayTree< _Key, _Value >::key_type = _Key |
| using TTKSplayTree< _Key, _Value >::reference = _Value& |
| using TTKSplayTree< _Key, _Value >::value_type = _Value |
|
inline |
|
inline |
|
inline |
Definition at line 906 of file ttktree.h.
References TTKSplayTree< _Key, _Value >::Node::m_left.
|
inlinenoexcept |
|
inlineprivatenoexcept |
|
inline |
|
inline |
|
inline |
Definition at line 738 of file ttktree.h.
References TTKSplayTree< _Key, _Value >::Node::m_key, TTKSplayTree< _Key, _Value >::Node::m_left, TTKSplayTree< _Key, _Value >::Node::m_right, and TTKSplayTree< _Key, _Value >::Node::m_value.
|
inline |
|
inline |
|
inline |
Definition at line 760 of file ttktree.h.
References key, TTKSplayTree< _Key, _Value >::Node::m_key, TTKSplayTree< _Key, _Value >::Node::m_left, TTKSplayTree< _Key, _Value >::Node::m_parent, and TTKSplayTree< _Key, _Value >::Node::m_right.
|
inlineprivatenoexcept |
Definition at line 578 of file ttktree.h.
References TTKSplayTree< _Key, _Value >::Node::m_left, TTKSplayTree< _Key, _Value >::Node::m_parent, and TTKSplayTree< _Key, _Value >::Node::m_right.
|
inlineprivatenoexcept |
Definition at line 606 of file ttktree.h.
References TTKSplayTree< _Key, _Value >::Node::m_left, TTKSplayTree< _Key, _Value >::Node::m_parent, and TTKSplayTree< _Key, _Value >::Node::m_right.
|
inlineprivate |
Definition at line 634 of file ttktree.h.
References TTKSplayTree< _Key, _Value >::Node::m_left, TTKSplayTree< _Key, _Value >::Node::m_parent, and TTKSplayTree< _Key, _Value >::Node::m_right.
|
private |
1.8.8