Dune Core Modules (2.4.1)
tupleutility.hh File Reference
Contains utility classes which can be used with tuples. More...
#include <cstddef>
#include <dune/common/typetraits.hh>
#include <dune/common/std/type_traits.hh>
#include "tuples.hh"
Go to the source code of this file.
Classes | |
class | Dune::NullPointerInitialiser< Tuple > |
A helper template that initializes a tuple consisting of pointers to NULL. More... | |
class | Dune::ForEachType< TypeEvaluator, TupleType > |
Helper template to clone the type definition of a tuple with the storage types replaced by a user-defined rule. More... | |
class | Dune::TransformTupleFunctor< TE, A0, A1, A2, A3, A4, A5, A6, A7, A8, A9 > |
helper class to implement transformTuple() More... | |
struct | Dune::TransformTupleFunctor< TE, A0, A1, A2, A3, A4, A5, A6, A7, A8, A9 >::TypeEvaluator< T > |
export the TypeEvaluator template class for genericTransformTuple() More... | |
struct | Dune::AddRefTypeEvaluator< T > |
TypeEvaluator to turn a type T into a reference to T More... | |
struct | Dune::AddPtrTypeEvaluator< T > |
TypeEvaluator to turn a type T into a pointer to T More... | |
class | Dune::ForEachValue< TupleType > |
Helper template which implements iteration over all storage elements in a tuple. More... | |
class | Dune::ForEachValuePair< TupleType1, TupleType2 > |
Extension of ForEachValue to two tuples... More... | |
struct | Dune::AtType< N, Tuple > |
Type for reverse element access. More... | |
struct | Dune::At< N > |
Reverse element access. More... | |
class | Dune::PointerPairDeletor< Tuple > |
Deletes all objects pointed to in a tuple of pointers. More... | |
class | Dune::FirstPredicateIndex< Tuple, Predicate, start, size > |
Finding the index of a certain type in a tuple. More... | |
struct | Dune::IsType< T > |
Generator for predicates accepting one particular type. More... | |
struct | Dune::IsType< T >::Predicate< U > |
The actual predicate. More... | |
struct | Dune::FirstTypeIndex< Tuple, T, start > |
Find the first occurance of a type in a tuple. More... | |
struct | Dune::PushBackTuple< Tuple, T > |
Helper template to append a type to a tuple. More... | |
struct | Dune::PushFrontTuple< Tuple, T > |
Helper template to prepend a type to a tuple. More... | |
struct | Dune::ReduceTuple< F, Tuple, Seed, N > |
Apply reduce with meta binary function to template. More... | |
struct | Dune::ReduceTuple< F, Tuple, Seed, 0 > |
Apply reduce with meta binary function to template. More... | |
struct | Dune::JoinTuples< Head, Tail > |
Join two tuples. More... | |
struct | Dune::FlattenTuple< TupleTuple > |
Flatten a tuple of tuples. More... | |
Namespaces | |
namespace | Dune |
Dune namespace. | |
Functions | |
template<class Tuple , class Functor > | |
ForEachType< Functor::templateTypeEvaluator, Tuple >::Type | Dune::genericTransformTuple (Tuple &t, Functor &f) |
transform a tuple object into another tuple object More... | |
template<template< class > class TE, class A0 , class A1 , class A2 , class A3 , class A4 , class A5 , class A6 , class A7 , class A8 , class A9 > | |
TransformTupleFunctor< TE, A0, A1, A2, A3, A4, A5, A6, A7, A8, A9 > | Dune::makeTransformTupleFunctor (A0 &a0, A1 &a1, A2 &a2, A3 &a3, A4 &a4, A5 &a5, A6 &a6, A7 &a7, A8 &a8, A9 &a9) |
syntactic sugar for creation of TransformTupleFunctor objects More... | |
template<template< class > class TypeEvaluator, class Tuple , class A0 , class A1 , class A2 , class A3 , class A4 , class A5 , class A6 , class A7 , class A8 , class A9 > | |
remove_const< typenameForEachType< TypeEvaluator, Tuple >::Type >::type | Dune::transformTuple (Tuple &orig, A0 &a0, A1 &a1, A2 &a2, A3 &a3, A4 &a4, A5 &a5, A6 &a6, A7 &a7, A8 &a8, A9 &a9) |
transform a tuple's value according to a user-supplied policy More... | |
Detailed Description
Contains utility classes which can be used with tuples.
@ addtogroup Common
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Dec 22, 23:30, 2024)