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

#include <ut0lst.h>

Public Types

typedef TYPE elem_type

Public Attributes

ulint count
TYPE * start
TYPE * end

Detailed Description

template<typename TYPE>
struct ut_list_base< TYPE >

This macro expands to the unnamed type definition of a struct which acts as the two-way list base node. The base node contains pointers to both ends of the list and a count of nodes in the list (excluding the base node from the count).

Parameters
TYPEthe name of the list node data type

Definition at line 50 of file ut0lst.h.

Member Data Documentation

template<typename TYPE >
ulint ut_list_base< TYPE >::count

count of nodes in list

Definition at line 53 of file ut0lst.h.

template<typename TYPE >
TYPE* ut_list_base< TYPE >::end

pointer to list end, NULL if empty

Definition at line 55 of file ut0lst.h.

template<typename TYPE >
TYPE* ut_list_base< TYPE >::start

pointer to list start, NULL if empty

Definition at line 54 of file ut0lst.h.


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