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

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

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 22 of file LStack.cpp.

Constructor & Destructor Documentation

◆ LStackNode() [1/3]

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

Definition at line 156 of file LStack.cpp.

◆ LStackNode() [2/3]

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

Definition at line 163 of file LStack.cpp.

◆ LStackNode() [3/3]

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

Definition at line 172 of file LStack.cpp.

Member Function Documentation

◆ free_list_allocate()

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

Definition at line 139 of file LStack.cpp.

◆ free_list_release()

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

Definition at line 124 of file LStack.cpp.

◆ next()

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

Definition at line 116 of file LStack.cpp.

◆ operator delete()

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

Definition at line 99 of file LStack.cpp.

◆ operator new()

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

◆ madara::utility::LStack< T >

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

Definition at line 596 of file LStack.cpp.

◆ madara::utility::LStackConstIterator< T >

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

Definition at line 596 of file LStack.cpp.

◆ madara::utility::LStackIterator< T >

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

Definition at line 596 of file LStack.cpp.

Member Data Documentation

◆ free_list_

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

Definition at line 57 of file LStack.cpp.

◆ item_

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

Definition at line 61 of file LStack.cpp.

◆ next_

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: