GNU Octave  8.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
action_container::restore_var_elem< T > Class Template Reference

#include "action-container.h"

Inheritance diagram for action_container::restore_var_elem< T >:
Collaboration diagram for action_container::restore_var_elem< T >:

Public Member Functions

 restore_var_elem (const restore_var_elem &)=delete
 
 restore_var_elem (T &ref, const T &val)
 
restore_var_elemoperator= (const restore_var_elem &)=delete
 
void run (void)
 

Private Attributes

T * m_ptr
 
m_val
 

Detailed Description

template<typename T>
class action_container::restore_var_elem< T >

Definition at line 92 of file action-container.h.

Constructor & Destructor Documentation

◆ restore_var_elem() [1/2]

template<typename T >
action_container::restore_var_elem< T >::restore_var_elem ( T &  ref,
const T &  val 
)
inline

Definition at line 96 of file action-container.h.

◆ restore_var_elem() [2/2]

template<typename T >
action_container::restore_var_elem< T >::restore_var_elem ( const restore_var_elem< T > &  )
delete

Member Function Documentation

◆ operator=()

template<typename T >
restore_var_elem& action_container::restore_var_elem< T >::operator= ( const restore_var_elem< T > &  )
delete

◆ run()

template<typename T >
void action_container::restore_var_elem< T >::run ( void  )
inlinevirtual

Reimplemented from action_container::elem.

Definition at line 105 of file action-container.h.

Member Data Documentation

◆ m_ptr

template<typename T >
T* action_container::restore_var_elem< T >::m_ptr
private

Definition at line 109 of file action-container.h.

◆ m_val

template<typename T >
T action_container::restore_var_elem< T >::m_val
private

Definition at line 109 of file action-container.h.


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