Flow123d  JS_before_hm-927-g0a4a2b5
Public Member Functions | List of all members
Mixed< T, 1 > Class Template Reference

#include <mixed.hh>

Inheritance diagram for Mixed< T, 1 >:
Inheritance graph
[legend]
Collaboration diagram for Mixed< T, 1 >:
Collaboration graph
[legend]

Public Member Functions

template<template< IntDim... > class TT>
 Mixed (const Mixed< TT, 1 > &other)
 
 Mixed (const T< 1 > &p1, const T< 2 > &p2, const T< 3 > &p3)
 
 Mixed (T< 1 > &&p1, T< 2 > &&p2, T< 3 > &&p3)
 
template<typename... Args>
 Mixed (Args...args)
 
template<IntDim i_dim>
T< i_dim > & operator[] (Dim< i_dim >)
 
template<IntDim i_dim>
const T< i_dim > & operator[] (Dim< i_dim >) const
 
template<template< IntDim... > class TParent, typename std::enable_if< std::is_convertible< TParent< 1 >, T< 1 >>::value, T< 1 > >::type >
 operator Mixed< TParent > () const
 

Detailed Description

template<template< IntDim... > class T>
class Mixed< T, 1 >

Definition at line 151 of file mixed.hh.

Constructor & Destructor Documentation

template<template< IntDim... > class T>
template<template< IntDim... > class TT>
Mixed< T, 1 >::Mixed ( const Mixed< TT, 1 > &  other)
inline

Explicit specialization for tuple containing just 1,2,3. TODO: implement generic Mixed with the lower_dim parameter.

Definition at line 159 of file mixed.hh.

template<template< IntDim... > class T>
Mixed< T, 1 >::Mixed ( const T< 1 > &  p1,
const T< 2 > &  p2,
const T< 3 > &  p3 
)
inline

Definition at line 166 of file mixed.hh.

template<template< IntDim... > class T>
Mixed< T, 1 >::Mixed ( T< 1 > &&  p1,
T< 2 > &&  p2,
T< 3 > &&  p3 
)
inline

Definition at line 170 of file mixed.hh.

template<template< IntDim... > class T>
template<typename... Args>
Mixed< T, 1 >::Mixed ( Args...  args)
inline

Definition at line 176 of file mixed.hh.

Member Function Documentation

template<template< IntDim... > class T>
template<template< IntDim... > class TParent, typename std::enable_if< std::is_convertible< TParent< 1 >, T< 1 >>::value, T< 1 > >::type >
Mixed< T, 1 >::operator Mixed< TParent > ( ) const
inline

Definition at line 201 of file mixed.hh.

template<template< IntDim... > class T>
template<IntDim i_dim>
T<i_dim>& Mixed< T, 1 >::operator[] ( Dim< i_dim >  )
inline

Beautiful index/like access insired by: https://arne-mertz.de/2017/03/tuple-compile-time-access/

Definition at line 189 of file mixed.hh.

template<template< IntDim... > class T>
template<IntDim i_dim>
const T<i_dim>& Mixed< T, 1 >::operator[] ( Dim< i_dim >  ) const
inline

Definition at line 195 of file mixed.hh.


The documentation for this class was generated from the following file: