![]() |
librnr
1.14.5
RoadNarrows Robotics Common Library 1
|
Example of a "derived" DListVoid doubly-linked lists. More...
Go to the source code of this file.
Classes | |
| struct | Zoo_T |
| Zoo Type. More... | |
Macros | |
| #define | DLIST_DNAME Zoo |
| derived dlist name space (i.e. DListZoo<x>) | |
| #define | DLIST_DTYPE Zoo_T |
| derived dlist user data type | |
Functions | |
| static int | DListZooDataCmp (const Zoo_T *pData1, const Zoo_T *pData2) |
| Node zoo data comparator callback. More... | |
| static void | DListZooDataDelete (Zoo_T *pData) |
| Node zoo data delete callback. More... | |
| static void | DListZooDataPrint (FILE *fp, Zoo_T *pData) |
| Node zoo data print callback. More... | |
Example of a "derived" DListVoid doubly-linked lists.
Definition in file example_dlist.h.
Node zoo data comparator callback.
| pData1 | Zoo node data 1. |
| pData2 | Zoo node data 2. |
Definition at line 74 of file example_dlist.h.
References Zoo_T::m_sPetName.
Referenced by main().
|
inlinestatic |
Node zoo data delete callback.
| pData | Zoo node data. |
Definition at line 84 of file example_dlist.h.
References Zoo_T::m_sPetName.
Referenced by main().
|
inlinestatic |
Node zoo data print callback.
| fp | File pointer. |
| pData | Zoo node data. |
Definition at line 96 of file example_dlist.h.
References Zoo_T::m_nZid, Zoo_T::m_sComName, Zoo_T::m_sPetName, Zoo_T::m_sSciName, and NULL.
Referenced by main().