MADARA  3.1.8
madara::utility::LStackNode< T > Class Template Reference

Defines a node in the LStack that's implemented as a linked list. More...

#include <LStack.h>

Collaboration diagram for madara::utility::LStackNode< T >:

Public Member Functions

 LStackNode (const T &item, LStackNode< T > *next=0)
 
 LStackNode (LStackNode< T > *next)
 
 LStackNode (void)
 
LStackNodenext (void)
 
void operator delete (void *ptr)
 
void * operator new (size_t bytes)
 

Static Public Member Functions

static void free_list_allocate (size_t n)
 
static void free_list_release (void)
 

Private Attributes

item_
 
LStackNode< T > * next_
 

Static Private Attributes

static LStackNode< T > * free_list_ = 0
 

Friends

class madara::utility::LStack< T >
 
class madara::utility::LStackConstIterator< T >
 
class madara::utility::LStackIterator< T >
 

Detailed Description

template<class T>
class madara::utility::LStackNode< T >

Defines a node in the LStack that's implemented as a linked list.

Definition at line 21 of file LStack.cpp.

Constructor & Destructor Documentation

template<class T>
madara::utility::LStackNode< T >::LStackNode ( const T &  item,
LStackNode< T > *  next = 0 
)

Definition at line 157 of file LStack.cpp.

template<class T>
madara::utility::LStackNode< T >::LStackNode ( LStackNode< T > *  next)

Definition at line 165 of file LStack.cpp.

template<class T>
madara::utility::LStackNode< T >::LStackNode ( void  )

Definition at line 175 of file LStack.cpp.

Member Function Documentation

template<class T >
void madara::utility::LStackNode< T >::free_list_allocate ( size_t  n)
static

Definition at line 139 of file LStack.cpp.

template<class T >
void madara::utility::LStackNode< T >::free_list_release ( void  )
static

Definition at line 124 of file LStack.cpp.

template<class T >
madara::utility::LStackNode< T > * madara::utility::LStackNode< T >::next ( void  )

Definition at line 116 of file LStack.cpp.

template<class T >
void madara::utility::LStackNode< T >::operator delete ( void *  ptr)

Definition at line 99 of file LStack.cpp.

template<class T >
void * madara::utility::LStackNode< T >::operator new ( size_t  bytes)

Definition at line 79 of file LStack.cpp.

Friends And Related Function Documentation

template<class T>
friend class madara::utility::LStack< T >
friend

Definition at line 23 of file LStack.cpp.

template<class T>
friend class madara::utility::LStackConstIterator< T >
friend

Definition at line 25 of file LStack.cpp.

template<class T>
friend class madara::utility::LStackIterator< T >
friend

Definition at line 24 of file LStack.cpp.

Member Data Documentation

template<class T>
madara::utility::LStackNode< T > * madara::utility::LStackNode< T >::free_list_ = 0
staticprivate

Definition at line 57 of file LStack.cpp.

template<class T>
T madara::utility::LStackNode< T >::item_
private

Definition at line 61 of file LStack.cpp.

template<class T>
LStackNode<T>* madara::utility::LStackNode< T >::next_
private

Definition at line 64 of file LStack.cpp.


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