BoundaryList Class Reference

#include <BoundaryList.hpp>

Inheritance diagram for BoundaryList:

Inheritance graph
[legend]
Collaboration diagram for BoundaryList:

Collaboration graph
[legend]

List of all members.

Public Types

typedef std::list
< ReferenceCounting< Boundary > > 
List
enum  Type {
  povRay, structured3DMesh, surfaceMesh, references,
  list
}

Public Member Functions

const Listlist () const
void add (ReferenceCounting< Boundary > b)
 BoundaryList (const BoundaryList &B)
 BoundaryList ()
 ~BoundaryList ()
const Boundary::Typetype () const
 Returns the type of the boundary.

Private Member Functions

void put (std::ostream &os) const
 ostream overload.

Private Attributes

std::list< ReferenceCounting
< Boundary > > 
__list

Friends

std::ostream & operator<< (std::ostream &os, const Boundary &B)
 Writes the boundary conditions.


Detailed Description

Definition at line 35 of file BoundaryList.hpp.


Member Typedef Documentation

Definition at line 39 of file BoundaryList.hpp.


Member Enumeration Documentation

enum Boundary::Type [inherited]

Enumerator:
povRay 
structured3DMesh 
surfaceMesh 
references 
list 

Definition at line 36 of file Boundary.hpp.

00036             {
00037     povRay,
00038     structured3DMesh,
00039     surfaceMesh,
00040     references,
00041     list
00042   };


Constructor & Destructor Documentation

BoundaryList::BoundaryList ( const BoundaryList B  )  [inline]

Definition at line 64 of file BoundaryList.hpp.

00065     : Boundary(B),
00066       __list(B.__list)
00067   {
00068     ;
00069   }

BoundaryList::BoundaryList (  )  [inline]

Definition at line 71 of file BoundaryList.hpp.

00072     : Boundary(Boundary::list)
00073   {
00074     ;
00075   }

BoundaryList::~BoundaryList (  )  [inline]

Definition at line 77 of file BoundaryList.hpp.

00078   {
00079     ;
00080   }


Member Function Documentation

void BoundaryList::put ( std::ostream &  os  )  const [inline, private, virtual]

ostream overload.

Implements Boundary.

Definition at line 44 of file BoundaryList.hpp.

References __list.

00045   {
00046     for (List::const_iterator i = __list.begin();
00047          i != __list.end(); ++i) {
00048       os << **i << ',';
00049     }
00050     os << "\b ";
00051   }

const List& BoundaryList::list (  )  const [inline]

void BoundaryList::add ( ReferenceCounting< Boundary b  )  [inline]

Definition at line 59 of file BoundaryList.hpp.

References __list.

Referenced by BoundaryExpressionList::execute().

00060   {
00061     __list.push_back(b);
00062   }

const Boundary::Type& Boundary::type (  )  const [inline, inherited]

Returns the type of the boundary.

Definition at line 52 of file Boundary.hpp.

References Boundary::__type.

Referenced by BoundaryMeshAssociation::setPOVMeshes().

00053   {
00054     return __type;
00055   }


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const Boundary B 
) [friend, inherited]

Writes the boundary conditions.

Definition at line 58 of file Boundary.hpp.

00060   {
00061     B.put(os);
00062     return os;
00063   }


Member Data Documentation

Definition at line 42 of file BoundaryList.hpp.

Referenced by add(), list(), and put().


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

Generated on Wed Nov 19 00:04:56 2008 for FreeFEM3D (aka ff3d) by  doxygen 1.5.6