COOLFluiD
Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
|
ComponentIterator class, can linearize a complete tree of components More...
#include <Component.hpp>
Inherits iterator_facade< ComponentIterator< T >, T, boost::bidirectional_traversal_tag, T & >.
Public Types | |
typedef BaseT::difference_type | difference_type |
Public Member Functions | |
ComponentIterator (const std::vector< boost::shared_ptr< T > > &vec, const Uint startPosition) | |
T & | dereference () const |
dereferencing More... | |
Handle< T > | get () const |
Get a handle to the referenced object. More... | |
ComponentIterator< T > & | base () |
const ComponentIterator< T > & | base () const |
Compatibility with boost filtered_iterator interface. More... | |
Private Types | |
typedef boost::iterator_facade< ComponentIterator< T >, T, boost::random_access_traversal_tag, T & > | BaseT |
Private Member Functions | |
template<typename T2 > | |
bool | equal (ComponentIterator< T2 > const &other) const |
void | increment () |
void | decrement () |
void | advance (const difference_type n) |
template<typename T2 > | |
difference_type | distance_to (ComponentIterator< T2 > const &other) const |
Private Attributes | |
std::vector< boost::shared_ptr< T > > | m_vec |
Uint | m_position |
Friends | |
class | boost::iterator_core_access |
template<class > | |
class | ComponentIterator |
ComponentIterator class, can linearize a complete tree of components
The ComponentIterator class is the type for
Definition at line 39 of file Component.hpp.
|
private |
Definition at line 43 of file ComponentIterator.hpp.
typedef BaseT::difference_type difference_type |
Definition at line 46 of file ComponentIterator.hpp.
|
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 51 of file ComponentIterator.hpp.
|
inlineprivate |
Definition at line 74 of file ComponentIterator.hpp.
|
inline |
Compatibility with boost filtered_iterator interface, so base() can be used transparently on all ranges
Definition at line 90 of file ComponentIterator.hpp.
|
inline |
Compatibility with boost filtered_iterator interface.
Definition at line 92 of file ComponentIterator.hpp.
|
inlineprivate |
Definition at line 68 of file ComponentIterator.hpp.
|
inline |
dereferencing
Definition at line 85 of file ComponentIterator.hpp.
|
inlineprivate |
Definition at line 77 of file ComponentIterator.hpp.
|
inlineprivate |
Definition at line 60 of file ComponentIterator.hpp.
|
inline |
Get a handle to the referenced object.
Definition at line 87 of file ComponentIterator.hpp.
|
inlineprivate |
Definition at line 62 of file ComponentIterator.hpp.
|
friend |
Definition at line 56 of file ComponentIterator.hpp.
|
friend |
Definition at line 57 of file ComponentIterator.hpp.
|
private |
Definition at line 96 of file ComponentIterator.hpp.
|
private |
Definition at line 95 of file ComponentIterator.hpp.
Send comments to: COOLFluiD Web Admin |