IBAMR  IBAMR version 0.19.
Private Member Functions | Static Private Member Functions | Private Attributes | Static Private Attributes | Friends | List of all members
SAMRAI::tbox::ListNode< TYPE > Class Template Reference

#include <tbox/List.h>

Inheritance diagram for SAMRAI::tbox::ListNode< TYPE >:
Inheritance graph
[legend]

Private Member Functions

 ListNode (const TYPE &t, ListNode< TYPE > *n, ListNode< TYPE > *p)
 
 ~ListNode ()
 
void * operator new (size_t bytes)
 
void operator delete (void *what)
 

Static Private Member Functions

static void freeCachedListItems ()
 

Private Attributes

TYPE d_item
 
ListNode< TYPE > * d_next
 
ListNode< TYPE > * d_prev
 

Static Private Attributes

static ListNode< TYPE > * s_free_list
 
static int s_num_free
 
static int s_max_free
 
static bool s_registered_callback
 

Friends

class ListIterator< TYPE >
 
class List< TYPE >
 

Detailed Description

template<class TYPE>
class SAMRAI::tbox::ListNode< TYPE >

Class ListNode holds items for the linked list. This class should be defined inside the List class, but nested template classes can cause some compilers to barf. List nodes should never be seen by the user of a list.

There are no public functions for ListNode.

See also
tbox::List

Constructor & Destructor Documentation

◆ ListNode()

template<class TYPE >
SAMRAI::tbox::ListNode< TYPE >::ListNode ( const TYPE &  t,
ListNode< TYPE > *  n,
ListNode< TYPE > *  p 
)
private

◆ ~ListNode()

template<class TYPE >
SAMRAI::tbox::ListNode< TYPE >::~ListNode ( )
private

Member Function Documentation

◆ freeCachedListItems()

template<class TYPE >
static void SAMRAI::tbox::ListNode< TYPE >::freeCachedListItems ( )
staticprivate

◆ operator new()

template<class TYPE >
void* SAMRAI::tbox::ListNode< TYPE >::operator new ( size_t  bytes)
private

◆ operator delete()

template<class TYPE >
void SAMRAI::tbox::ListNode< TYPE >::operator delete ( void *  what)
private

Friends And Related Function Documentation

◆ ListIterator< TYPE >

template<class TYPE >
friend class ListIterator< TYPE >
friend

◆ List< TYPE >

template<class TYPE >
friend class List< TYPE >
friend

Member Data Documentation

◆ s_free_list

template<class TYPE >
ListNode<TYPE>* SAMRAI::tbox::ListNode< TYPE >::s_free_list
staticprivate

◆ s_num_free

template<class TYPE >
int SAMRAI::tbox::ListNode< TYPE >::s_num_free
staticprivate

◆ s_max_free

template<class TYPE >
int SAMRAI::tbox::ListNode< TYPE >::s_max_free
staticprivate

◆ s_registered_callback

template<class TYPE >
bool SAMRAI::tbox::ListNode< TYPE >::s_registered_callback
staticprivate

◆ d_item

template<class TYPE >
TYPE SAMRAI::tbox::ListNode< TYPE >::d_item
private

◆ d_next

template<class TYPE >
ListNode<TYPE>* SAMRAI::tbox::ListNode< TYPE >::d_next
private

◆ d_prev

template<class TYPE >
ListNode<TYPE>* SAMRAI::tbox::ListNode< TYPE >::d_prev
private

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