47 ERR_FAIL_COND(p_elem->_root);
59 ERR_FAIL_COND(p_elem->_root!=
this);
62 p_elem->_next->_prev=p_elem->_prev;
66 p_elem->_prev->_next=p_elem->_next;
79 _FORCE_INLINE_
SelfList<T> *first() {
return _first; }
80 _FORCE_INLINE_
const SelfList<T> *first()
const {
return _first; }
81 _FORCE_INLINE_
List() { _first=NULL; }
82 _FORCE_INLINE_ ~
List() { ERR_FAIL_COND(_first!=NULL); }
92 _FORCE_INLINE_
bool in_list()
const {
return _root; }
93 _FORCE_INLINE_
SelfList<T> *next() {
return _next; }
94 _FORCE_INLINE_
SelfList<T> *prev() {
return _prev; }
95 _FORCE_INLINE_
const SelfList<T> *next()
const {
return _next; }
96 _FORCE_INLINE_
const SelfList<T> *prev()
const {
return _prev; }
97 _FORCE_INLINE_ T*
self()
const {
return _self; }
100 _FORCE_INLINE_
SelfList(T *p_self) {
116 #endif // SELF_LIST_H Definition: self_list.h:40
Definition: self_list.h:35