BoundaryReferences Class Reference

#include <BoundaryReferences.hpp>

Inheritance diagram for BoundaryReferences:

Inheritance graph
[legend]
Collaboration diagram for BoundaryReferences:

Collaboration graph
[legend]

List of all members.

Public Types

typedef std::set< size_t > ReferencesSet
enum  Type {
  povRay, structured3DMesh, surfaceMesh, references,
  list
}

Public Member Functions

const ReferencesSetreferences () const
void add (const size_t &i)
 BoundaryReferences (const BoundaryReferences &B)
 BoundaryReferences ()
 ~BoundaryReferences ()
const Boundary::Typetype () const
 Returns the type of the boundary.

Private Member Functions

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

Private Attributes

ReferencesSet __references

Friends

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


Detailed Description

Definition at line 34 of file BoundaryReferences.hpp.


Member Typedef Documentation

typedef std::set<size_t> BoundaryReferences::ReferencesSet

The set of references type

Definition at line 38 of file BoundaryReferences.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

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

Definition at line 63 of file BoundaryReferences.hpp.

00064     : Boundary(B),
00065       __references(B.__references)
00066   {
00067     ;
00068   }

BoundaryReferences::BoundaryReferences (  )  [inline]

Definition at line 70 of file BoundaryReferences.hpp.

00071     : Boundary(Boundary::references)
00072   {
00073     ;
00074   }

BoundaryReferences::~BoundaryReferences (  )  [inline]

Definition at line 76 of file BoundaryReferences.hpp.

00077   {
00078     ;
00079   }


Member Function Documentation

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

ostream overload.

Implements Boundary.

Definition at line 43 of file BoundaryReferences.hpp.

References __references.

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

const ReferencesSet& BoundaryReferences::references (  )  const [inline]

void BoundaryReferences::add ( const size_t &  i  )  [inline]

Definition at line 58 of file BoundaryReferences.hpp.

References __references.

Referenced by BoundaryExpressionReferences::execute().

00059   {
00060     __references.insert(i);
00061   }

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

The set of references associated with this boundary

Definition at line 41 of file BoundaryReferences.hpp.

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


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

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