Wiselib
Public Types | Public Member Functions | Public Attributes
wiselib::list_node< Value_P > Struct Template Reference

#include <list_static.h>

List of all members.

Public Types

typedef list_node< Value_P > node_type
typedef node_typepointer
typedef node_typereference

Public Member Functions

 list_node ()
 default constructor
void hook (pointer const position)
 insert node in chain "before" position
void unhook ()
 remove node from chain
void reverse ()
 swap neighbor nodes
void swap (reference node)

Public Attributes

Value_P element_
pointer next_
pointer prev_

template<typename Value_P>
struct wiselib::list_node< Value_P >


Member Typedef Documentation

template<typename Value_P>
typedef list_node<Value_P> wiselib::list_node< Value_P >::node_type
template<typename Value_P>
typedef node_type* wiselib::list_node< Value_P >::pointer
template<typename Value_P>
typedef node_type& wiselib::list_node< Value_P >::reference

Constructor & Destructor Documentation

template<typename Value_P>
wiselib::list_node< Value_P >::list_node ( ) [inline]

default constructor


Member Function Documentation

template<typename Value_P>
void wiselib::list_node< Value_P >::hook ( pointer const  position) [inline]

insert node in chain "before" position

template<typename Value_P>
void wiselib::list_node< Value_P >::reverse ( ) [inline]

swap neighbor nodes

template<typename Value_P>
void wiselib::list_node< Value_P >::swap ( reference  node) [inline]
template<typename Value_P>
void wiselib::list_node< Value_P >::unhook ( ) [inline]

remove node from chain


Member Data Documentation

template<typename Value_P>
Value_P wiselib::list_node< Value_P >::element_
template<typename Value_P>
pointer wiselib::list_node< Value_P >::next_
template<typename Value_P>
pointer wiselib::list_node< Value_P >::prev_

The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines