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

#include "hook-fcn.h"

Public Member Functions

 hook_function ()
 
 hook_function (const octave_value &f, const octave_value &d=octave_value())
 
 ~hook_function ()=default
 
void eval (const octave_value_list &initial_args)
 
std::string id () const
 
bool is_valid () const
 

Detailed Description

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

Constructor & Destructor Documentation

◆ hook_function() [1/2]

hook_function::hook_function ( )
inline

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

◆ hook_function() [2/2]

hook_function::hook_function ( const octave_value f,
const octave_value d = octave_value () 
)

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

References d, error(), and f.

◆ ~hook_function()

hook_function::~hook_function ( )
default

Member Function Documentation

◆ eval()

void hook_function::eval ( const octave_value_list initial_args)
inline

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

Referenced by hook_function_list::run().

◆ id()

std::string hook_function::id ( ) const
inline

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

◆ is_valid()

bool hook_function::is_valid ( ) const
inline

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

Referenced by hook_function_list::run().


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