|
dune-typetree 2.8.0
|
Loading...
Searching...
No Matches
filters.hh
Go to the documentation of this file.
191 template<typename Filter, std::size_t new_k, std::size_t old_k, typename child, typename... tail>
198 typename filter_helper<Filter,new_k+1,old_k+1,tail...>::template apply<FilterDescriptors...,FilterEntry<new_k,old_k> >,
ImplementationDefined child(Node &&node, Indices... indices)
Extracts the child of a node given by a sequence of compile-time and run-time indices.
Definition childextraction.hh:126
static Type apply(T &t)
A filter entry describing the mapping of one child in the filtered node.
Definition filters.hh:22
std::tuple< FilterEntries... > IndexMap
Definition filters.hh:42
Definition filters.hh:46
std::tuple< typename Node::template Child< FilterEntries::original_index >... > Children
Definition filters.hh:47
std::tuple< typename Node::template Child< FilterEntries::original_index >::Type... > ChildTypes
Definition filters.hh:48
std::tuple< std::shared_ptr< typename Node::template Child< FilterEntries::original_index >::Type >... > NodeStorage
Definition filters.hh:49
Tag describing a simple filter that can only decide whether or not to include a single given child.
Definition filters.hh:55
Tag describing an advanced filter that has full control over the construction of the list of FilterEn...
Definition filters.hh:58
AdvancedFilterTag FilterTag
Filter tag for deciding on filter application mechanism.
Definition filters.hh:66
Apply this filter to the given node and children.
Definition filters.hh:73
implementation defined type
The result of the filtering process.
Definition filters.hh:78
Default simple filter that accepts any node and leaves its child structure unchanged.
Definition filters.hh:92
SimpleFilterTag FilterTag
Filter tag for deciding on filter application mechanism.
Definition filters.hh:95
Validates the combination of filter and node.
Definition filters.hh:101
static const bool value
True if the combination of filter and node is valid.
Definition filters.hh:103
Applies the filter to the given child node.
Definition filters.hh:117
static const bool value
True if the child will be included in the filtered node.
Definition filters.hh:119
Filter class for FilteredCompositeNode that selects the children with the given indices.
Definition filters.hh:159
Adapter class that takes a SimpleFilter, validated it and turns it into an AdvancedFilter.
Definition filters.hh:210
filter_helper< Filter, 0, 0, Children... >::template apply ::type type
Definition filters.hh:219
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8