GNU Octave  8.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
fcn_handle_hook_function Class Reference

#include "hook-fcn.h"

Inheritance diagram for fcn_handle_hook_function:
Collaboration diagram for fcn_handle_hook_function:

Public Member Functions

 fcn_handle_hook_function (const octave_value &fh_arg, const octave_value &d)
 
void eval (const octave_value_list &initial_args)
 
std::string id (void) const
 
bool is_valid (void) const
 

Private Attributes

octave_value m_data
 
octave_value m_fcn_handle
 
std::string m_ident
 
bool m_valid
 

Detailed Description

Definition at line 114 of file hook-fcn.h.

Constructor & Destructor Documentation

◆ fcn_handle_hook_function()

fcn_handle_hook_function::fcn_handle_hook_function ( const octave_value fh_arg,
const octave_value d 
)
inline

Definition at line 118 of file hook-fcn.h.

References octave_value::fcn_handle_value(), m_fcn_handle, m_ident, and m_valid.

Member Function Documentation

◆ eval()

void fcn_handle_hook_function::eval ( const octave_value_list initial_args)
virtual

Reimplemented from base_hook_function.

Definition at line 61 of file hook-fcn.cc.

References octave_value_list::append(), feval(), octave_value::is_defined(), m_data, and m_fcn_handle.

◆ id()

std::string fcn_handle_hook_function::id ( void  ) const
inlinevirtual

Reimplemented from base_hook_function.

Definition at line 135 of file hook-fcn.h.

References m_ident.

◆ is_valid()

bool fcn_handle_hook_function::is_valid ( void  ) const
inlinevirtual

Reimplemented from base_hook_function.

Definition at line 137 of file hook-fcn.h.

References m_valid.

Member Data Documentation

◆ m_data

octave_value fcn_handle_hook_function::m_data
private

Definition at line 147 of file hook-fcn.h.

Referenced by eval().

◆ m_fcn_handle

octave_value fcn_handle_hook_function::m_fcn_handle
private

Definition at line 145 of file hook-fcn.h.

Referenced by fcn_handle_hook_function(), and eval().

◆ m_ident

std::string fcn_handle_hook_function::m_ident
private

Definition at line 141 of file hook-fcn.h.

Referenced by fcn_handle_hook_function(), and id().

◆ m_valid

bool fcn_handle_hook_function::m_valid
private

Definition at line 143 of file hook-fcn.h.

Referenced by fcn_handle_hook_function(), and is_valid().


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