foobar2000 SDK  2015-08-03
Public Types | Public Member Functions
pfc::_list_node< t_item >

#include <iterators.h>

+ Inheritance diagram for pfc::_list_node< t_item >:

Public Types

typedef _list_node< t_item > t_self
 

Public Member Functions

virtual t_selfnext () throw ()
 
virtual t_selfprev () throw ()
 
 TEMPLATE_CONSTRUCTOR_FORWARD_FLOOD (_list_node, m_content) t_item m_content
 
t_selfwalk (bool forward) throw ()
 
- Public Member Functions inherited from pfc::refcounted_object_root
void _refcount_release_temporary () throw ()
 
void refcount_add_ref () throw ()
 
void refcount_release () throw ()
 

Additional Inherited Members

- Protected Member Functions inherited from pfc::refcounted_object_root
 refcounted_object_root ()
 
virtual ~refcounted_object_root ()
 

Detailed Description

template<typename t_item>
class pfc::_list_node< t_item >

Base class for list nodes. Implemented by list implementers.

Definition at line 3 of file iterators.h.

Member Typedef Documentation

template<typename t_item>
typedef _list_node<t_item> pfc::_list_node< t_item >::t_self

Definition at line 5 of file iterators.h.

Member Function Documentation

template<typename t_item>
virtual t_self* pfc::_list_node< t_item >::next ( )
throw (
)
inlinevirtual

Reimplemented in pfc::_avltree_node< t_storage >, and pfc::__chain_list_elem< t_item >.

Definition at line 12 of file iterators.h.

12 {return NULL;}
template<typename t_item>
virtual t_self* pfc::_list_node< t_item >::prev ( )
throw (
)
inlinevirtual

Reimplemented in pfc::_avltree_node< t_storage >, and pfc::__chain_list_elem< t_item >.

Definition at line 11 of file iterators.h.

11 {return NULL;}
template<typename t_item>
pfc::_list_node< t_item >::TEMPLATE_CONSTRUCTOR_FORWARD_FLOOD ( _list_node< t_item >  ,
m_content   
)
template<typename t_item>
t_self* pfc::_list_node< t_item >::walk ( bool  forward)
throw (
)
inline

Definition at line 14 of file iterators.h.

14 {return forward ? next() : prev();}
virtual t_self * next()
Definition: iterators.h:12
virtual t_self * prev()
Definition: iterators.h:11

The documentation for this class was generated from the following file: