Logo Search packages:      
Sourcecode: virtualbox-ose version File versions  Download package

Classes | Defines | Typedefs | Functions

list.h File Reference

#include <iprt/types.h>
Include dependency graph for list.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  RTLISTNODE

Defines

#define RTListForEach(pList, pIterator, Type, Member)
#define RTListForEachReverse(pList, pIterator, Type, Member)
#define RTListIsEmpty(pList)   ((pList)->pPrev == (pList))
#define RTListNodeGetFirst(pList, Type, Member)   (!RTListIsEmpty(pList) ? RTListNodeGetNext(pList, Type, Member) : NULL)
#define RTListNodeGetLast(pList, Type, Member)   (!RTListIsEmpty(pList) ? RTListNodeGetPrev(pList, Type, Member) : NULL)
#define RTListNodeGetNext(pCurNode, Type, Member)   RT_FROM_MEMBER((pCurNode)->pNext, Type, Member)
#define RTListNodeGetPrev(pCurNode, Type, Member)   RT_FROM_MEMBER((pCurNode)->pPrev, Type, Member)
#define RTListNodeIsDummy(pList, pNode, Type, Member)   ( (pNode) == RT_FROM_MEMBER((pList), Type, Member) )
#define RTListNodeIsFirst(pList, pNode)   ((pNode)->pPrev == (pList))
#define RTListNodeIsLast(pList, pNode)   ((pNode)->pNext == (pList))

Typedefs

typedef PRTLISTNODEPPRTLISTNODE
typedef RTLISTNODEPRTLISTNODE
typedef RT_C_DECLS_BEGIN
struct RTLISTNODE 
RTLISTNODE

Functions

 DECLINLINE (void) RTListInit(PRTLISTNODE pList)

Detailed Description

IPRT - Generic Doubly Linked List.

Definition in file list.h.


Generated by  Doxygen 1.6.0   Back to index