Kiwano Engine v1.3.x
|
侵入式链表 更多...
#include <IntrusiveList.h>
类 | |
struct | Iterator |
Public 类型 | |
using | value_type = typename std::pointer_traits< _PtrTy >::pointer |
using | pointer = value_type * |
using | reference = value_type & |
using | iterator = Iterator< value_type > |
using | const_iterator = Iterator< const value_type > |
using | reverse_iterator = std::reverse_iterator< iterator > |
using | const_reverse_iterator = std::reverse_iterator< const_iterator > |
Public 成员函数 | |
const value_type & | GetFirst () const |
获取首元素 | |
value_type & | GetFirst () |
获取首元素 | |
const value_type & | GetLast () const |
获取尾元素 | |
value_type & | GetLast () |
获取尾元素 | |
bool | IsEmpty () const |
链表是否为空 | |
void | PushBack (reference child) |
在链表尾部添加对象 | |
void | PushFront (reference child) |
在链表头部添加对象 | |
void | InsertBefore (reference child, reference before) |
在链表的对象前插入新对象 | |
void | InsertAfter (reference child, reference after) |
在链表的对象后插入新对象 | |
void | Remove (reference child) |
移除对象 | |
void | Clear () |
清空所有对象 | |
bool | CheckValid () |
检查链表是否有效 | |
iterator | begin () |
const_iterator | begin () const |
const_iterator | cbegin () const |
iterator | end () |
const_iterator | end () const |
const_iterator | cend () const |
reverse_iterator | rbegin () |
const_reverse_iterator | rbegin () const |
const_reverse_iterator | crbegin () const |
reverse_iterator | rend () |
const_reverse_iterator | rend () const |
const_reverse_iterator | crend () const |
value_type & | front () |
const value_type & | front () const |
value_type & | back () |
const value_type & | back () const |
侵入式链表