VectorEntity  1.1.0
Medical Data Segmentation Toolkit
Public Types | Public Member Functions
vctl::MCListNode< NODE_TYPE > Class Template Reference

An element of a double-linked list. More...

#include <mclistnode.h>

Inheritance diagram for vctl::MCListNode< NODE_TYPE >:
Inheritance graph
[legend]

List of all members.

Public Types

typedef NODE_TYPE MT_VALUE
 Value type.

Public Member Functions

NODE_TYPE * GetNext ()
 Returns pointer to the next node in the list, or NULL in case the list is empty.
NODE_TYPE * GetPrev ()
 Returns pointer to the previous node in the list, or NULL in case the list is empty.
 MCListNode ()
 Default constructor.
void SetNext (NODE_TYPE *_node)
 Sets pointer to the next node in the list.
void SetPrev (NODE_TYPE *_node)
 Sets pointer to previous list node.
 ~MCListNode ()
 An empty non-virtual destructor!

Detailed Description

template<typename NODE_TYPE>
class vctl::MCListNode< NODE_TYPE >

An element of a double-linked list.


Member Typedef Documentation

template<typename NODE_TYPE>
typedef NODE_TYPE vctl::MCListNode< NODE_TYPE >::MT_VALUE

Value type.


Constructor & Destructor Documentation

template<typename NODE_TYPE>
vctl::MCListNode< NODE_TYPE >::MCListNode ( ) [inline]

Default constructor.

template<typename NODE_TYPE>
vctl::MCListNode< NODE_TYPE >::~MCListNode ( ) [inline]

An empty non-virtual destructor!


Member Function Documentation

template<typename NODE_TYPE>
NODE_TYPE* vctl::MCListNode< NODE_TYPE >::GetNext ( ) [inline]

Returns pointer to the next node in the list, or NULL in case the list is empty.

template<typename NODE_TYPE>
NODE_TYPE* vctl::MCListNode< NODE_TYPE >::GetPrev ( ) [inline]

Returns pointer to the previous node in the list, or NULL in case the list is empty.

template<typename NODE_TYPE>
void vctl::MCListNode< NODE_TYPE >::SetNext ( NODE_TYPE *  _node) [inline]

Sets pointer to the next node in the list.

template<typename NODE_TYPE>
void vctl::MCListNode< NODE_TYPE >::SetPrev ( NODE_TYPE *  _node) [inline]

Sets pointer to previous list node.


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