GNU Octave  4.4.1
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 (void)
 
 hook_function (const octave_value &f, const octave_value &d=octave_value())
 
 hook_function (const hook_function &hf)
 
 ~hook_function (void)
 
void eval (const octave_value_list &initial_args)
 
std::string id (void)
 
bool is_valid (void)
 
hook_functionoperator= (const hook_function &hf)
 

Private Attributes

base_hook_functionrep
 

Detailed Description

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

Constructor & Destructor Documentation

◆ hook_function() [1/3]

hook_function::hook_function ( void  )
inline

Definition at line 65 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 29 of file hook-fcn.cc.

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

◆ ~hook_function()

hook_function::~hook_function ( void  )
inline

Definition at line 75 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 81 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 105 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  )
inline

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

References base_hook_function::id(), and rep.

◆ is_valid()

bool hook_function::is_valid ( void  )
inline

Definition at line 103 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 87 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 112 of file hook-fcn.h.

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


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