GNU Octave  6.2.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
 

Protected Attributes

size_t count
 

Private Attributes

octave_value data
 
octave_value fcn_handle
 
std::string ident
 
bool valid
 

Detailed Description

Definition at line 139 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

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 59 of file hook-fcn.cc.

References octave_value_list::append(), data, fcn_handle, octave::feval(), and octave_value::is_defined().

◆ id()

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

Reimplemented from base_hook_function.

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

◆ is_valid()

bool fcn_handle_hook_function::is_valid ( void  ) const
inlinevirtual

Reimplemented from base_hook_function.

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

Member Data Documentation

◆ count

size_t base_hook_function::count
protectedinherited

◆ data

octave_value fcn_handle_hook_function::data
private

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

Referenced by eval().

◆ fcn_handle

octave_value fcn_handle_hook_function::fcn_handle
private

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

Referenced by eval().

◆ ident

std::string fcn_handle_hook_function::ident
private

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

◆ valid

bool fcn_handle_hook_function::valid
private

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


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