COOLFluiD  Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
Public Types | List of all members
ComponentPtr< ParentT, ComponentT > Struct Template Reference

Shared pointer to ComponentT, constness determined by the constness of ParentT. More...

#include <FindComponents.hpp>

Public Types

typedef boost::mpl::if_c< boost::is_const< ParentT >::value, boost::shared_ptr< ComponentT const >, boost::shared_ptr< ComponentT > >::type type
 

Detailed Description

template<typename ParentT, typename ComponentT = Component>
struct cf3::common::ComponentPtr< ParentT, ComponentT >

Shared pointer to ComponentT, constness determined by the constness of ParentT.

Definition at line 58 of file FindComponents.hpp.

Member Typedef Documentation

typedef boost::mpl::if_c<boost::is_const<ParentT>::value, boost::shared_ptr<ComponentT const>, boost::shared_ptr<ComponentT> >::type type

Definition at line 59 of file FindComponents.hpp.


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