COOLFluiD  Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
Public Types | Public Member Functions | Private Types | Private Member Functions | Private Attributes | Friends | List of all members
ElementIterator Class Reference

Inherits iterator_facade< ElementIterator, Entity, boost::random_access_traversal_tag, Entity >.

Public Types

typedef BaseT::difference_type difference_type
 

Public Member Functions

 ElementIterator (Entities &entities, const Uint element_idx=0)
 
const Entitydereference () const
 dereferencing More...
 

Private Types

typedef boost::iterator_facade< ElementIterator, Entity, boost::random_access_traversal_tag, EntityBaseT
 

Private Member Functions

bool equal (ElementIterator const &other) const
 
void increment ()
 
void decrement ()
 
void advance (const difference_type n)
 
template<typename T2 >
difference_type distance_to (ElementIterator const &other) const
 

Private Attributes

Entity element
 

Friends

class boost::iterator_core_access
 

Detailed Description

Definition at line 39 of file utest-mesh-construction.cpp.

Member Typedef Documentation

typedef boost::iterator_facade<ElementIterator, Entity, boost::random_access_traversal_tag, Entity > BaseT
private

Definition at line 50 of file utest-mesh-construction.cpp.

typedef BaseT::difference_type difference_type

Definition at line 53 of file utest-mesh-construction.cpp.

Constructor & Destructor Documentation

ElementIterator ( Entities entities,
const Uint  element_idx = 0 
)
inlineexplicit

Construct an iterator over the given set of components. If endIterator is true, the iterator is intialized at the end of the range, otherwise at the beginning.

Definition at line 58 of file utest-mesh-construction.cpp.

Member Function Documentation

void advance ( const difference_type  n)
inlineprivate

Definition at line 77 of file utest-mesh-construction.cpp.

void decrement ( )
inlineprivate

Definition at line 72 of file utest-mesh-construction.cpp.

const Entity& dereference ( ) const
inline

dereferencing

Definition at line 88 of file utest-mesh-construction.cpp.

difference_type distance_to ( ElementIterator const &  other) const
inlineprivate

Definition at line 80 of file utest-mesh-construction.cpp.

bool equal ( ElementIterator const &  other) const
inlineprivate

Definition at line 65 of file utest-mesh-construction.cpp.

void increment ( )
inlineprivate

Definition at line 67 of file utest-mesh-construction.cpp.

Friends And Related Function Documentation

friend class boost::iterator_core_access
friend

Definition at line 63 of file utest-mesh-construction.cpp.

Member Data Documentation

Entity element
private

Definition at line 92 of file utest-mesh-construction.cpp.


The documentation for this class was generated from the following file:
Send comments to:
COOLFluiD Web Admin