MeVisLab Toolbox Reference
ml::WEMQueueElement< T > Class Template Reference

The WEMQueueElement represents an element of a single linked list. More...

#include <WEMQueue.h>

Public Member Functions

 WEMQueueElement ()
 Default constructor.
 WEMQueueElement (T *elem)
 ~WEMQueueElement ()
 Default destructor.
Tget ()
 Returns the pointer to this element.
const Tget () const
 Returns the pointer to this element.
WEMQueueElement< T > * getNextQueueElement ()
 Return the next element in the queue.
void setNextQueueElement (WEMQueueElement< T > *next)
 Sets the next queue element to the given one.

Detailed Description

template<class T>
class ml::WEMQueueElement< T >

The WEMQueueElement represents an element of a single linked list.

Definition at line 23 of file WEMQueue.h.

Constructor & Destructor Documentation

◆ WEMQueueElement() [1/2]

template<class T>
ml::WEMQueueElement< T >::WEMQueueElement ( )

Default constructor.

Definition at line 99 of file WEMQueue.h.

References WEMQueueElement().

Referenced by getNextQueueElement(), setNextQueueElement(), WEMQueueElement(), and WEMQueueElement().

◆ WEMQueueElement() [2/2]

template<class T>
ml::WEMQueueElement< T >::WEMQueueElement ( T * elem)

Constructor takes a T pointer as an argument. and sets the T as its data.

Definition at line 108 of file WEMQueue.h.

References T, and WEMQueueElement().

◆ ~WEMQueueElement()

template<class T>
ml::WEMQueueElement< T >::~WEMQueueElement ( )

Default destructor.

Definition at line 117 of file WEMQueue.h.

References ~WEMQueueElement().

Referenced by ~WEMQueueElement().

Member Function Documentation

◆ get() [1/2]

template<class T>
T * ml::WEMQueueElement< T >::get ( )
inline

Returns the pointer to this element.

Definition at line 35 of file WEMQueue.h.

References T.

◆ get() [2/2]

template<class T>
const T * ml::WEMQueueElement< T >::get ( ) const
inline

Returns the pointer to this element.

Definition at line 37 of file WEMQueue.h.

References get(), and T.

Referenced by get().

◆ getNextQueueElement()

template<class T>
WEMQueueElement< T > * ml::WEMQueueElement< T >::getNextQueueElement ( )
inline

Return the next element in the queue.

Definition at line 39 of file WEMQueue.h.

References WEMQueueElement().

Referenced by ml::WEMQueue< T >::popFront(), and ml::WEMQueue< T >::~WEMQueue().

◆ setNextQueueElement()

template<class T>
void ml::WEMQueueElement< T >::setNextQueueElement ( WEMQueueElement< T > * next)

Sets the next queue element to the given one.

Definition at line 126 of file WEMQueue.h.

References setNextQueueElement(), and WEMQueueElement().

Referenced by ml::WEMQueue< T >::prepend(), and setNextQueueElement().


The documentation for this class was generated from the following file:
  • MeVisLab/Standard/Sources/ML/MLWEM/WEMDataStructure/WEMQueue.h