OpenFOAM logo
Open Source CFD Toolkit

UILList Class Template Reference

Inheritance diagram for UILList:

Inheritance graph
[legend]
Collaboration diagram for UILList:

Collaboration graph
[legend]
List of all members.

template<class LListBase, class T>
class Foam::UILList< LListBase, T >


Public Types

typedef T value_type
 Type of values the DLList contains.
typedef T & reference
 Type that can be used for storing into DLList::value_type.
typedef const T & const_reference
 Type that can be used for storing into constant.
typedef label size_type
 The type that can represent the size of a DLList.
typedef LListBase::iterator LListBase_iterator
typedef LListBase::const_iterator LListBase_const_iterator

Public Member Functions

 UILList ()
 Null construct.
 UILList (T *a)
 Construct given initial T.
 UILList (const UILList< LListBase, T > &)
 Construct as copy.
T * first ()
 Return the first entry.
const T * first () const
 Return the first entry.
T * last ()
 Return the last entry.
const T * last () const
 Return the last entry.
T * removeHead ()
 Return and remove head.
T * remove (T *p)
 Return and remove element.
void operator= (const UILList< LListBase, T > &)

Friends

class iterator
class const_iterator
Ostreamoperator (Ostream &, const UILList< LListBase, T > &)

Member Typedef Documentation

typedef const T& const_reference
 

Type that can be used for storing into constant.

DLList::value_type objects.

Definition at line 170 of file UILList.H.

typedef LListBase::const_iterator LListBase_const_iterator
 

Definition at line 219 of file UILList.H.

typedef LListBase::iterator LListBase_iterator
 

Definition at line 178 of file UILList.H.

typedef T& reference
 

Type that can be used for storing into DLList::value_type.

objects.

Definition at line 164 of file UILList.H.

typedef label size_type
 

The type that can represent the size of a DLList.

Definition at line 173 of file UILList.H.

typedef T value_type
 

Type of values the DLList contains.

Definition at line 158 of file UILList.H.


Constructor & Destructor Documentation

UILList  )  [inline]
 

Null construct.

Definition at line 93 of file UILList.H.

UILList T *  a  )  [inline]
 

Construct given initial T.

Definition at line 97 of file UILList.H.

UILList const UILList< LListBase, T > &   ) 
 

Construct as copy.


Member Function Documentation

const T* first  )  const [inline]
 

Return the first entry.

Definition at line 117 of file UILList.H.

T* first  )  [inline]
 

Return the first entry.

Definition at line 111 of file UILList.H.

const T* last  )  const [inline]
 

Return the last entry.

Definition at line 129 of file UILList.H.

T* last  )  [inline]
 

Return the last entry.

Definition at line 123 of file UILList.H.

void operator= const UILList< LListBase, T > &   ) 
 

T* remove T *  p  )  [inline]
 

Return and remove element.

Definition at line 144 of file UILList.H.

T* removeHead  )  [inline]
 

Return and remove head.

Definition at line 138 of file UILList.H.


Friends And Related Function Documentation

friend class const_iterator [friend]
 

Reimplemented in Cloud, Cloud< indexedParticle >, Cloud< parcel >, and Cloud< passiveParticle >.

Definition at line 87 of file UILList.H.

friend class iterator [friend]
 

Reimplemented in Cloud, Cloud< indexedParticle >, Cloud< parcel >, and Cloud< passiveParticle >.

Definition at line 84 of file UILList.H.

Ostream& operator Ostream ,
const UILList< LListBase, T > & 
[friend]
 


The documentation for this class was generated from the following file:
For further information go to www.openfoam.org