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

#include "action-container.h"

Inheritance diagram for octave::action_container::restore_var_elem< T >:
Collaboration diagram for octave::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 octave::action_container::restore_var_elem< T >

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

Constructor & Destructor Documentation

◆ restore_var_elem() [1/2]

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

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

◆ restore_var_elem() [2/2]

template<typename T >
octave::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& octave::action_container::restore_var_elem< T >::operator= ( const restore_var_elem< T > &  )
delete

◆ run()

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

Reimplemented from octave::action_container::elem.

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

Member Data Documentation

◆ m_ptr

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

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

◆ m_val

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

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


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