rtxScalarDList.h File Reference

Doubly-linked list utility functions to hold scalar data variables. More...

#include "rtxsrc/osSysTypes.h"
#include "rtxsrc/rtxExternDefs.h"

Go to the source code of this file.

Classes

struct  OSRTScalarDListNode
 This structure is used to hold a single data item within the list. More...
struct  OSRTScalarDList
 This is the main list structure. More...

Functions

EXTERNRT void rtxScalarDListInit (OSRTScalarDList *pList)
 This function initializes a doubly linked list structure.
EXTERNRT OSRTScalarDListNodertxScalarDListAppendDouble (struct OSCTXT *pctxt, OSRTScalarDList *pList, OSDOUBLE value)
 This set of functions appends an item of the given scalar type to the linked list structure.
EXTERNRT OSRTScalarDListNodertxScalarDListAppendNode (OSRTScalarDList *pList, OSRTScalarDListNode *pListNode)
 This function is used to append a node to the linked list.
EXTERNRT OSRTScalarDListNodertxScalarDListInsertNode (OSRTScalarDList *pList, OSUINT32 idx, OSRTScalarDListNode *pListNode)
 This function is used to insert a node into the linked list.
EXTERNRT OSRTScalarDListNodertxScalarDListFindByIndex (const OSRTScalarDList *pList, OSUINT32 idx)
 This function will return the node pointer of the indexed entry in the list.
EXTERNRT void rtxScalarDListFreeNode (struct OSCTXT *pctxt, OSRTScalarDList *pList, OSRTScalarDListNode *node)
 This function will remove the given node from the list and free memory.
EXTERNRT void rtxScalarDListRemove (OSRTScalarDList *pList, OSRTScalarDListNode *node)
 This function will remove the given node from the list.
EXTERNRT void rtxScalarDListFreeNodes (struct OSCTXT *pctxt, OSRTScalarDList *pList)
 This function will free all of the dynamic memory used to hold the list node pointers.

Detailed Description

Doubly-linked list utility functions to hold scalar data variables.

Definition in file rtxScalarDList.h.