COOLFluiD  Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
Public Types | Public Member Functions | List of all members
ConstComponentIteratorRange< T, Predicate > Struct Template Reference

#include <FindComponents.hpp>

Inherits iterator_range< boost::filter_iterator< Predicate, ComponentIterator< T const > > >.

Public Types

typedef boost::iterator_range< boost::filter_iterator< Predicate, ComponentIterator< T const > > > Base
 
typedef boost::filter_iterator< Predicate, ComponentIterator< T const > > ConstFilter
 
typedef boost::filter_iterator< Predicate, ComponentIterator< T > > Filter
 

Public Member Functions

 ConstComponentIteratorRange (ComponentIterator< T const > b, ComponentIterator< T const > e)
 
 ConstComponentIteratorRange (ComponentIterator< T const > b, ComponentIterator< T const > e, const Predicate &pred)
 
 ConstComponentIteratorRange (const ComponentIteratorRange< T, Predicate > &rhs)
 
 ConstComponentIteratorRange (const std::vector< boost::shared_ptr< T > > &vec)
 
bool operator== (const ConstComponentIteratorRange &rhs)
 
bool operator!= (const ConstComponentIteratorRange &rhs)
 
std::vector< boost::shared_ptr< T const > > as_vector ()
 
std::vector< boost::shared_ptr< T const > > as_const_vector ()
 
Uint size () const
 

Detailed Description

template<typename T, typename Predicate = IsComponentTrue>
struct cf3::common::ConstComponentIteratorRange< T, Predicate >

Definition at line 235 of file FindComponents.hpp.

Member Typedef Documentation

typedef boost::iterator_range< boost::filter_iterator< Predicate, ComponentIterator<T const> > > Base

Definition at line 238 of file FindComponents.hpp.

typedef boost::filter_iterator< Predicate, ComponentIterator<T const> > ConstFilter

Definition at line 239 of file FindComponents.hpp.

typedef boost::filter_iterator< Predicate, ComponentIterator<T> > Filter

Definition at line 240 of file FindComponents.hpp.

Constructor & Destructor Documentation

ConstComponentIteratorRange ( ComponentIterator< T const >  b,
ComponentIterator< T const >  e 
)
inline

Definition at line 242 of file FindComponents.hpp.

ConstComponentIteratorRange ( ComponentIterator< T const >  b,
ComponentIterator< T const >  e,
const Predicate &  pred 
)
inline

Definition at line 247 of file FindComponents.hpp.

ConstComponentIteratorRange ( const ComponentIteratorRange< T, Predicate > &  rhs)
inline

Definition at line 252 of file FindComponents.hpp.

ConstComponentIteratorRange ( const std::vector< boost::shared_ptr< T > > &  vec)
inline

Definition at line 256 of file FindComponents.hpp.

Member Function Documentation

std::vector<boost::shared_ptr<T const> > as_const_vector ( )
inline

Definition at line 272 of file FindComponents.hpp.

std::vector<boost::shared_ptr<T const> > as_vector ( )
inline

Definition at line 264 of file FindComponents.hpp.

bool operator!= ( const ConstComponentIteratorRange< T, Predicate > &  rhs)
inline

Definition at line 262 of file FindComponents.hpp.

bool operator== ( const ConstComponentIteratorRange< T, Predicate > &  rhs)
inline

Definition at line 261 of file FindComponents.hpp.

Uint size ( ) const
inline

Definition at line 277 of file FindComponents.hpp.


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