MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ut_list_node< TYPE > Struct Template Reference

#include <ut0lst.h>

Public Attributes

TYPE * prev
TYPE * next

Detailed Description

template<typename TYPE>
struct ut_list_node< TYPE >

This macro expands to the unnamed type definition of a struct which should be embedded in the nodes of the list, the node type must be a struct. This struct contains the pointers to next and previous nodes in the list. The name of the field in the node struct should be the name given to the list.

Parameters
TYPEthe list node type name

Definition at line 76 of file ut0lst.h.

Member Data Documentation

template<typename TYPE>
TYPE* ut_list_node< TYPE >::next

pointer to next node, NULL if end of list

Definition at line 79 of file ut0lst.h.

template<typename TYPE>
TYPE* ut_list_node< TYPE >::prev

pointer to the previous node, NULL if start of list

Definition at line 77 of file ut0lst.h.


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