OpenFOAM logo
Open Source CFD Toolkit

SLListBase Class Reference

Inheritance diagram for SLListBase:

Inheritance graph
[legend]
Collaboration diagram for SLListBase:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 SLListBase ()
 Null construct.
 SLListBase (link *)
 Construct given initial entry.
 ~SLListBase ()
label size () const
 Return number of elements in list.
link * first ()
 Return first entry.
const link * first () const
 Return const access to first entry.
link * last ()
 Return last entry.
const link * last () const
 Return const access to last entry.
void insert (link *)
 Add at head of list.
void append (link *)
 Add at tail of list.
link * removeHead ()
 Remove and return head.
link * remove (link *)
void clear ()
 Clear the list.
iterator begin ()
const iterator & end ()
const_iterator begin () const
const const_iterator & end () const

Static Public Attributes

iterator endIter
 iterator returned by end()
const_iterator endConstIter
 const_iterator returned by end()

Friends

class iterator
class const_iterator

Constructor & Destructor Documentation

SLListBase (   )  [inline]
 

Null construct.

Definition at line 62 of file SLListBaseI.H.

SLListBase (  link *   )  [inline]
 

Construct given initial entry.

Definition at line 70 of file SLListBaseI.H.

~SLListBase (   )  [inline]
 

Definition at line 79 of file SLListBaseI.H.


Member Function Documentation

void append (  link *   ) 
 

Add at tail of list.

SLListBase::const_iterator begin (   )  const [inline]
 

Definition at line 301 of file SLListBaseI.H.

SLListBase::iterator begin (   )  [inline]
 

Definition at line 209 of file SLListBaseI.H.

void clear (   )  [inline]
 

Clear the list.

Reimplemented in ILList< SLListBase, T >, LList< SLListBase, T >, LList< SLListBase, string >, LList< SLListBase, reaction * >, LList< SLListBase, T * >, LList< SLListBase, pointAddressing >, LList< SLListBase, label >, LList< SLListBase, word >, LPtrList< SLListBase, T >, and LPtrList< SLListBase, reaction >.

Definition at line 145 of file SLListBaseI.H.

const SLListBase::const_iterator & end (   )  const [inline]
 

Definition at line 314 of file SLListBaseI.H.

const SLListBase::iterator & end (   )  [inline]
 

Definition at line 222 of file SLListBaseI.H.

const SLListBase::link * first (   )  const [inline]
 

Return const access to first entry.

Reimplemented in LList< SLListBase, T >, LList< SLListBase, string >, LList< SLListBase, reaction * >, LList< SLListBase, T * >, LList< SLListBase, pointAddressing >, LList< SLListBase, label >, LList< SLListBase, word >, LPtrList< SLListBase, T >, LPtrList< SLListBase, reaction >, and UILList< SLListBase, T >.

Definition at line 106 of file SLListBaseI.H.

SLListBase::link * first (   )  [inline]
 

Return first entry.

Reimplemented in LList< SLListBase, T >, LList< SLListBase, string >, LList< SLListBase, reaction * >, LList< SLListBase, T * >, LList< SLListBase, pointAddressing >, LList< SLListBase, label >, LList< SLListBase, word >, LPtrList< SLListBase, T >, LPtrList< SLListBase, reaction >, and UILList< SLListBase, T >.

Definition at line 93 of file SLListBaseI.H.

Referenced by SLListBase::const_iterator::operator++(), and SLListBase::iterator::operator++().

void insert (  link *   ) 
 

Add at head of list.

const SLListBase::link * last (   )  const [inline]
 

Return const access to last entry.

Reimplemented in LList< SLListBase, T >, LList< SLListBase, string >, LList< SLListBase, reaction * >, LList< SLListBase, T * >, LList< SLListBase, pointAddressing >, LList< SLListBase, label >, LList< SLListBase, word >, LPtrList< SLListBase, T >, LPtrList< SLListBase, reaction >, and UILList< SLListBase, T >.

Definition at line 132 of file SLListBaseI.H.

SLListBase::link * last (   )  [inline]
 

Return last entry.

Reimplemented in LList< SLListBase, T >, LList< SLListBase, string >, LList< SLListBase, reaction * >, LList< SLListBase, T * >, LList< SLListBase, pointAddressing >, LList< SLListBase, label >, LList< SLListBase, word >, LPtrList< SLListBase, T >, LPtrList< SLListBase, reaction >, and UILList< SLListBase, T >.

Definition at line 119 of file SLListBaseI.H.

link* remove (  link *   ) 
 

link* removeHead (   ) 
 

Remove and return head.

Reimplemented in LList< SLListBase, T >, LList< SLListBase, string >, LList< SLListBase, reaction * >, LList< SLListBase, T * >, LList< SLListBase, pointAddressing >, LList< SLListBase, label >, LList< SLListBase, word >, and UILList< SLListBase, T >.

label size (   )  const [inline]
 

Return number of elements in list.

Definition at line 86 of file SLListBaseI.H.

References Foam::abort(), Foam::FatalError, and FatalErrorIn.

Referenced by SLListBase::const_iterator::operator++(), and SLListBase::iterator::operator++().

Here is the call graph for this function:


Friends And Related Function Documentation

friend class const_iterator [friend]
 

Reimplemented in LList< SLListBase, T >, LList< SLListBase, string >, LList< SLListBase, reaction * >, LList< SLListBase, T * >, LList< SLListBase, pointAddressing >, LList< SLListBase, label >, LList< SLListBase, word >, LPtrList< SLListBase, T >, LPtrList< SLListBase, reaction >, and UILList< SLListBase, T >.

Definition at line 107 of file SLListBase.H.

friend class iterator [friend]
 

Reimplemented in LList< SLListBase, T >, LList< SLListBase, string >, LList< SLListBase, reaction * >, LList< SLListBase, T * >, LList< SLListBase, pointAddressing >, LList< SLListBase, label >, LList< SLListBase, word >, LPtrList< SLListBase, T >, LPtrList< SLListBase, reaction >, and UILList< SLListBase, T >.

Definition at line 104 of file SLListBase.H.


Member Data Documentation

const_iterator endConstIter [static]
 

const_iterator returned by end()

Definition at line 239 of file SLListBase.H.

iterator endIter [static]
 

iterator returned by end()

Definition at line 197 of file SLListBase.H.


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