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

#include "hook-fcn.h"

Collaboration diagram for hook_function:

Public Member Functions

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

Private Attributes

base_hook_functionrep
 

Detailed Description

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

Constructor & Destructor Documentation

◆ hook_function() [1/3]

hook_function::hook_function ( void  )
inline

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

References base_hook_function::count, and rep.

◆ hook_function() [2/3]

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

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

References d, error(), f, name, and rep.

◆ ~hook_function()

hook_function::~hook_function ( void  )
inline

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

References base_hook_function::count, and rep.

◆ hook_function() [3/3]

hook_function::hook_function ( const hook_function hf)
inline

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

References base_hook_function::count, and rep.

Member Function Documentation

◆ eval()

void hook_function::eval ( const octave_value_list initial_args)
inline

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

References base_hook_function::eval(), and rep.

Referenced by hook_function_list::run().

◆ id()

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

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

References base_hook_function::id(), and rep.

Referenced by hook_function_list::insert().

◆ is_valid()

bool hook_function::is_valid ( void  ) const
inline

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

References base_hook_function::is_valid(), and rep.

Referenced by hook_function_list::run().

◆ operator=()

hook_function& hook_function::operator= ( const hook_function hf)
inline

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

References base_hook_function::count, and rep.

Member Data Documentation

◆ rep

base_hook_function* hook_function::rep
private

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

Referenced by hook_function(), ~hook_function(), eval(), id(), is_valid(), and operator=().


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