FreeFOAM The Cross-Platform CFD Toolkit
ISLList< T > Class Template Reference

Intrusive singly-linked list. More...

#include <OpenFOAM/ISLList.H>


Detailed Description

template<class T>
class Foam::ISLList< T >

Intrusive singly-linked list.

Definition at line 48 of file ISLList.H.

+ Inheritance diagram for ISLList< T >:
+ Collaboration diagram for ISLList< T >:

List of all members.

Public Member Functions

 ISLList ()
 Null construct.
 ISLList (const T &a)
 Construct given initial T.
template<class INew >
 ISLList (Istream &is, const INew &inewt)
 Construct from Istream using given Istream constructor class.
 ISLList (Istream &is)
 Construct from Istream.
- Public Member Functions inherited from ILList< SLListBase, T >
 ILList ()
 Null construct.
 ILList (T *a)
 Construct given initial T.
 ILList (Istream &)
 Construct from Istream.
 ILList (const ILList< SLListBase, T > &)
 Construct as copy.
 ILList (const ILList< SLListBase, T > &lst, const CloneArg &cloneArg)
 Copy constructor with additional argument for clone.
 ILList (Istream &, const INew &)
 Construct from Istream using given Istream constructor class.
 ~ILList ()
bool eraseHead ()
 Remove the head element specified from the list and delete it.
bool erase (T *p)
 Remove the specified element from the list and delete it.
void clear ()
 Clear the contents of the list.
void transfer (ILList< SLListBase, T > &)
 Transfer the contents of the argument into this List.
void operator= (const ILList< SLListBase, T > &)
- Public Member Functions inherited from UILList< SLListBase, T >
 UILList ()
 Null construct.
 UILList (T *a)
 Construct given initial T.
 UILList (const UILList< SLListBase, T > &)
 Construct as copy.
Tfirst ()
 Return the first entry.
const Tfirst () const
 Return the first entry.
Tlast ()
 Return the last entry.
const Tlast () const
 Return the last entry.
TremoveHead ()
 Remove and return head.
Tremove (T *p)
 Remove and return element.
Tremove (iterator &it)
 Remove and return specified by iterator.
void operator= (const UILList< SLListBase, T > &)
bool operator== (const UILList< SLListBase, T > &) const
 Equality operation on ULists of the same type.
bool operator!= (const UILList< SLListBase, T > &) const
 The opposite of the equality operation. Takes linear time.
- Public Member Functions inherited from SLListBase
 SLListBase ()
 Null construct.
 SLListBase (link *)
 Construct given initial entry.
 ~SLListBase ()
label size () const
 Return number of elements in list.
bool empty () const
 Return true if the list is empty.
void insert (link *)
 Add at head of list.
void append (link *)
 Add at tail of list.
linkremove (link *)
void transfer (SLListBase &)
 Transfer the contents of the argument into this List.
iterator begin ()
const iteratorend ()
const_iterator cbegin () const
const const_iteratorcend () const
const_iterator begin () const
const const_iteratorend () const

Constructor & Destructor Documentation

ISLList ( )
inline

Null construct.

Definition at line 58 of file ISLList.H.

ISLList ( const T a)
inline

Construct given initial T.

Definition at line 62 of file ISLList.H.

ISLList ( Istream is,
const INew inewt 
)
inline

Construct from Istream using given Istream constructor class.

Definition at line 69 of file ISLList.H.

ISLList ( Istream is)
inline

Construct from Istream.

Definition at line 75 of file ISLList.H.


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