|
dune-fem 2.12-git
|
Loading...
Searching...
No Matches
Dune::TupleToVectorConverter< VectorTupleType, pos > Class Template Reference
wrapper class to convert a vector of tuples of RangeTypes into something that behaves like a vector< RangeType > More...
#include <dune/fem/common/tupleutility.hh>
Public Types | |
| typedef VectorTupleType::value_type | TupleType |
| typedef std::tuple_element< pos, TupleType >::type | ValueType |
| typedef ValueType | value_type |
Public Member Functions | |
| TupleToVectorConverter (const TupleToVectorConverter &)=delete | |
| TupleToVectorConverter (VectorTupleType &vector) | |
| constructor | |
| ValueType & | operator[] (const size_t i) |
| return reference to i-th entry of vector and pos's tuple component | |
| const ValueType & | operator[] (const size_t i) const |
| return reference to i-th entry of vector and passId's tuple component | |
| size_t | size () const |
| return size of vector | |
Protected Attributes | |
| VectorTupleType & | vector_ |
Detailed Description
template<class VectorTupleType, int pos>
class Dune::TupleToVectorConverter< VectorTupleType, pos >
class Dune::TupleToVectorConverter< VectorTupleType, pos >
wrapper class to convert a vector of tuples of RangeTypes into something that behaves like a vector< RangeType >
Member Typedef Documentation
◆ TupleType
template<class VectorTupleType , int pos>
| typedef VectorTupleType::value_type Dune::TupleToVectorConverter< VectorTupleType, pos >::TupleType |
◆ value_type
template<class VectorTupleType , int pos>
| typedef ValueType Dune::TupleToVectorConverter< VectorTupleType, pos >::value_type |
◆ ValueType
template<class VectorTupleType , int pos>
| typedef std::tuple_element<pos,TupleType>::type Dune::TupleToVectorConverter< VectorTupleType, pos >::ValueType |
Constructor & Destructor Documentation
◆ TupleToVectorConverter() [1/2]
template<class VectorTupleType , int pos>
|
delete |
◆ TupleToVectorConverter() [2/2]
template<class VectorTupleType , int pos>
|
inlineexplicit |
constructor
Member Function Documentation
◆ operator[]() [1/2]
template<class VectorTupleType , int pos>
|
inline |
return reference to i-th entry of vector and pos's tuple component
◆ operator[]() [2/2]
template<class VectorTupleType , int pos>
|
inline |
return reference to i-th entry of vector and passId's tuple component
◆ size()
template<class VectorTupleType , int pos>
|
inline |
return size of vector
Member Data Documentation
◆ vector_
template<class VectorTupleType , int pos>
|
protected |
The documentation for this class was generated from the following file:
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8