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

#include "hook-fcn.h"

Public Types

typedef map_type::const_iterator const_iterator
 
typedef map_type::iterator iterator
 
typedef std::map< std::string, hook_functionmap_type
 

Public Member Functions

void clear ()
 
bool empty () const
 
iterator end ()
 
const_iterator end () const
 
void erase (iterator p)
 
iterator find (const std::string &id)
 
const_iterator find (const std::string &id) const
 
void insert (const std::string &id, const hook_function &f)
 
void run (const octave_value_list &initial_args=octave_value_list())
 

Detailed Description

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

Member Typedef Documentation

◆ const_iterator

typedef map_type::const_iterator hook_function_list::const_iterator

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

◆ iterator

typedef map_type::iterator hook_function_list::iterator

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

◆ map_type

typedef std::map<std::string, hook_function> hook_function_list::map_type

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

Member Function Documentation

◆ clear()

void hook_function_list::clear ( )
inline

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

◆ empty()

bool hook_function_list::empty ( ) const
inline

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

◆ end() [1/2]

iterator hook_function_list::end ( )
inline

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

◆ end() [2/2]

const_iterator hook_function_list::end ( ) const
inline

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

◆ erase()

void hook_function_list::erase ( iterator  p)
inline

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

◆ find() [1/2]

iterator hook_function_list::find ( const std::string &  id)
inline

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

◆ find() [2/2]

const_iterator hook_function_list::find ( const std::string &  id) const
inline

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

◆ insert()

void hook_function_list::insert ( const std::string &  id,
const hook_function f 
)
inline

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

References f.

◆ run()

void hook_function_list::run ( const octave_value_list initial_args = octave_value_list ())
inline

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

References hook_function::eval(), and hook_function::is_valid().


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