Flow123d  JS_before_hm-2198-g122e1f2e2
Public Types | Public Member Functions | List of all members
MixedPtr< T, 1 > Class Template Reference

#include <mixed.hh>

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

Public Types

template<IntDim dim>
using TPtr = std::shared_ptr< T< dim > >
 

Public Member Functions

template<template< IntDim... > class TT>
 MixedPtr (const MixedPtr< TT, 1 > &other)
 
 MixedPtr (TPtr< 1 > p1, TPtr< 2 > p2, TPtr< 3 > p3)
 
template<typename... Args>
 MixedPtr (Args... args)
 
template<IntDim i_dim>
std::shared_ptr< T< i_dim > > operator[] (Dim< i_dim >)
 
template<IntDim i_dim>
const std::shared_ptr< T< i_dim > > operator[] (Dim< i_dim >) const
 
Mixed< T, 1 > operator* ()
 

Detailed Description

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

Definition at line 320 of file mixed.hh.

Member Typedef Documentation

◆ TPtr

template<template< IntDim... > class T>
template<IntDim dim>
using MixedPtr< T, 1 >::TPtr = std::shared_ptr<T<dim> >

Similar to MixedPtr. TODO: make generic implementation.

Definition at line 327 of file mixed.hh.

Constructor & Destructor Documentation

◆ MixedPtr() [1/3]

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

Definition at line 330 of file mixed.hh.

◆ MixedPtr() [2/3]

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

Definition at line 337 of file mixed.hh.

◆ MixedPtr() [3/3]

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

Definition at line 342 of file mixed.hh.

Member Function Documentation

◆ operator*()

template<template< IntDim... > class T>
Mixed<T, 1> MixedPtr< T, 1 >::operator* ( )
inline

Definition at line 368 of file mixed.hh.

◆ operator[]() [1/2]

template<template< IntDim... > class T>
template<IntDim i_dim>
std::shared_ptr<T<i_dim> > MixedPtr< 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 356 of file mixed.hh.

◆ operator[]() [2/2]

template<template< IntDim... > class T>
template<IntDim i_dim>
const std::shared_ptr<T<i_dim> > MixedPtr< T, 1 >::operator[] ( Dim< i_dim >  ) const
inline

Definition at line 362 of file mixed.hh.


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