OGS
ProcessLib::ConstitutiveRelations::PrevState< T > Struct Template Reference

Detailed Description

template<typename T>
struct ProcessLib::ConstitutiveRelations::PrevState< T >

Represents a previous state of type T.

Definition at line 20 of file Base.h.

#include <Base.h>

Public Member Functions

 PrevState ()=default
 
 PrevState (T const &t)
 
 PrevState (T &&t)
 
PrevState< T > & operator= (T const &u)
 
PrevState< T > & operator= (T &&u)
 
T & operator* ()
 
T const & operator* () const
 
T * operator-> ()
 
T const * operator-> () const
 

Private Attributes

t
 

Constructor & Destructor Documentation

◆ PrevState() [1/3]

template<typename T >
ProcessLib::ConstitutiveRelations::PrevState< T >::PrevState ( )
default

◆ PrevState() [2/3]

template<typename T >
ProcessLib::ConstitutiveRelations::PrevState< T >::PrevState ( T const & t)
inlineexplicit

Definition at line 23 of file Base.h.

◆ PrevState() [3/3]

template<typename T >
ProcessLib::ConstitutiveRelations::PrevState< T >::PrevState ( T && t)
inlineexplicit

Definition at line 24 of file Base.h.

24: t{std::move(t)} {}

Member Function Documentation

◆ operator*() [1/2]

template<typename T >
T & ProcessLib::ConstitutiveRelations::PrevState< T >::operator* ( )
inline

Definition at line 38 of file Base.h.

38{ return t; }

References ProcessLib::ConstitutiveRelations::PrevState< T >::t.

◆ operator*() [2/2]

template<typename T >
T const & ProcessLib::ConstitutiveRelations::PrevState< T >::operator* ( ) const
inline

Definition at line 39 of file Base.h.

39{ return t; }

References ProcessLib::ConstitutiveRelations::PrevState< T >::t.

◆ operator->() [1/2]

template<typename T >
T * ProcessLib::ConstitutiveRelations::PrevState< T >::operator-> ( )
inline

Definition at line 41 of file Base.h.

41{ return &t; }

References ProcessLib::ConstitutiveRelations::PrevState< T >::t.

◆ operator->() [2/2]

template<typename T >
T const * ProcessLib::ConstitutiveRelations::PrevState< T >::operator-> ( ) const
inline

Definition at line 42 of file Base.h.

42{ return &t; }

References ProcessLib::ConstitutiveRelations::PrevState< T >::t.

◆ operator=() [1/2]

template<typename T >
PrevState< T > & ProcessLib::ConstitutiveRelations::PrevState< T >::operator= ( T && u)
inline

Definition at line 32 of file Base.h.

33 {
34 t = std::move(u);
35 return *this;
36 }

References ProcessLib::ConstitutiveRelations::PrevState< T >::t.

◆ operator=() [2/2]

template<typename T >
PrevState< T > & ProcessLib::ConstitutiveRelations::PrevState< T >::operator= ( T const & u)
inline

Definition at line 26 of file Base.h.

27 {
28 t = u;
29 return *this;
30 }

References ProcessLib::ConstitutiveRelations::PrevState< T >::t.

Member Data Documentation

◆ t


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