Isle
Loading...
Searching...
No Matches
MxListEntry< T > Class Template Reference

[AI] More...

#include <mxlist.h>

Public Member Functions

 MxListEntry ()
 [AI] Default constructor. More...
 
 MxListEntry (T p_obj, MxListEntry *p_prev)
 [AI] More...
 
 MxListEntry (T p_obj, MxListEntry *p_prev, MxListEntry *p_next)
 [AI] More...
 
GetValue ()
 [AI] More...
 
MxListEntryGetNext ()
 [AI] More...
 
MxListEntryGetPrev ()
 [AI] More...
 
void SetValue (T p_obj)
 [AI] More...
 
void SetNext (MxListEntry *p_next)
 [AI] More...
 
void SetPrev (MxListEntry *p_prev)
 [AI] More...
 

Detailed Description

template<class T>
class MxListEntry< T >

[AI]

Represents a node in a doubly-linked list. [AI]

[AI] Contains value, next and previous node pointers for building a doubly-linked list. Used internally by MxList and its derivatives. [AI]

Definition at line 20 of file mxlist.h.

Constructor & Destructor Documentation

◆ MxListEntry() [1/3]

template<class T >
MxListEntry< T >::MxListEntry ( )
inline

[AI] Default constructor.

Definition at line 23 of file mxlist.h.

◆ MxListEntry() [2/3]

template<class T >
MxListEntry< T >::MxListEntry ( p_obj,
MxListEntry< T > *  p_prev 
)
inline

[AI]

Construct a list entry with value and previous pointer. [AI]

Parameters
p_objValue to store in the node. [AI]
p_prevPrevious node pointer. [AI]

Definition at line 29 of file mxlist.h.

◆ MxListEntry() [3/3]

template<class T >
MxListEntry< T >::MxListEntry ( p_obj,
MxListEntry< T > *  p_prev,
MxListEntry< T > *  p_next 
)
inline

[AI]

Construct a list entry with value, previous, and next pointer. [AI]

Parameters
p_objValue to store in the node. [AI]
p_prevPrevious node pointer. [AI]
p_nextNext node pointer. [AI]

Definition at line 41 of file mxlist.h.

Member Function Documentation

◆ GetNext()

template<class T >
MxListEntry * MxListEntry< T >::GetNext ( )
inline

[AI]

Returns the next node in the list. [AI]

Returns
The next list entry. [AI]

Definition at line 56 of file mxlist.h.

◆ GetPrev()

template<class T >
MxListEntry * MxListEntry< T >::GetPrev ( )
inline

[AI]

Returns the previous node in the list. [AI]

Returns
The previous list entry. [AI]

Definition at line 61 of file mxlist.h.

◆ GetValue()

template<class T >
T MxListEntry< T >::GetValue ( )
inline

[AI]

Returns the value stored in this node. [AI]

Returns
The value contained in the entry. [AI]

Definition at line 51 of file mxlist.h.

◆ SetNext()

template<class T >
void MxListEntry< T >::SetNext ( MxListEntry< T > *  p_next)
inline

[AI]

Sets the next pointer for this node. [AI]

Parameters
p_nextThe new next node. [AI]

Definition at line 71 of file mxlist.h.

◆ SetPrev()

template<class T >
void MxListEntry< T >::SetPrev ( MxListEntry< T > *  p_prev)
inline

[AI]

Sets the previous pointer for this node. [AI]

Parameters
p_prevThe new previous node. [AI]

Definition at line 76 of file mxlist.h.

◆ SetValue()

template<class T >
void MxListEntry< T >::SetValue ( p_obj)
inline

[AI]

Sets the value stored in this node. [AI]

Parameters
p_objThe value to set. [AI]

Definition at line 66 of file mxlist.h.


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