GlobalObjects
Loading...
Searching...
No Matches
ptl::DVElement Struct Reference

Element of double linked lists. More...

#include <PtlDVElement.h>

Public Member Functions

 DVElement (void *pDataObject, DVElement *pNext, DVElement *pPrevious)
 

Public Attributes

void * m_pData
 
DVElementm_pNextElement
 
DVElementm_pPreviousElement
 

Detailed Description

Element of double linked lists.

This class references an 'object' via a void-pointer. Additionally, a predecessor and a successor list element can be referenced.

Author
Helmut Jakoby

Constructor & Destructor Documentation

◆ DVElement()

ptl::DVElement::DVElement ( void * pDataObject,
DVElement * pNext,
DVElement * pPrevious )

Constructor with parameter passing

Parameters
[in]pDataObjectThe object which is kept in a list by this DVElement; comes in m_pData
[in]pNextThe following DVElement can be passed; comes in m_pNextElement
[in]pPreviousThe preceding DVElement can be passed; comes in m_pPreviousElement

Member Data Documentation

◆ m_pData

void* ptl::DVElement::m_pData

Pointer to the data object in the list.

◆ m_pNextElement

DVElement* ptl::DVElement::m_pNextElement

Pointer to next DVElement in list.

◆ m_pPreviousElement

DVElement* ptl::DVElement::m_pPreviousElement

Pointer to previous DVElement in list.


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