|
static transformed_type | transform (const SourceTree &s, const Transformation &t=Transformation()) |
| Apply transformation to an existing tree s. More...
|
|
static transformed_type | transform (const SourceTree &s, Transformation &t) |
| Apply transformation to an existing tree s. More...
|
|
static transformed_type | transform (shared_ptr< const SourceTree > sp, const Transformation &t=Transformation()) |
| Apply transformation to an existing tree s. More...
|
|
static transformed_type | transform (shared_ptr< const SourceTree > sp, Transformation &t) |
| Apply transformation to an existing tree s. More...
|
|
static transformed_storage_type | transform_storage (shared_ptr< const SourceTree > sp, const Transformation &t=Transformation()) |
|
static transformed_storage_type | transform_storage (shared_ptr< const SourceTree > sp, Transformation &t) |
|
template<typename SourceTree, typename Transformation, typename Tag = StartTag, bool recursive = true>
struct Dune::TypeTree::TransformTree< SourceTree, Transformation, Tag, recursive >
Transform a TypeTree.
This struct can be used to apply a transformation to a given TypeTree. It exports the type of the resulting (transformed) tree and contains methods to actually transform tree instances.
- Template Parameters
-
SourceTree | = The TypeTree that should be transformed. |
Transformation | = The Transformation to apply to the TypeTree. |
Tag | = This parameter is an implementation detail and must always be set to its default value. |
recursive | = This parameter is an implementation detail and must always be set to its default value. |
template<typename SourceTree , typename Transformation , typename Tag = StartTag, bool recursive = true>
static transformed_storage_type Dune::TypeTree::TransformTree< SourceTree, Transformation, Tag, recursive >::transform_storage |
( |
shared_ptr< const SourceTree > |
sp, |
|
|
const Transformation & |
t = Transformation() |
|
) |
| |
|
inlinestatic |
template<typename SourceTree , typename Transformation , typename Tag = StartTag, bool recursive = true>
static transformed_storage_type Dune::TypeTree::TransformTree< SourceTree, Transformation, Tag, recursive >::transform_storage |
( |
shared_ptr< const SourceTree > |
sp, |
|
|
Transformation & |
t |
|
) |
| |
|
inlinestatic |