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

#include "hook-fcn.h"

Collaboration diagram for hook_function_list:

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

 hook_function_list (void)
 hook_function_list (const hook_function_list &lst)
 ~hook_function_list (void)=default
void clear (void)
bool empty (void) const
iterator end (void)
const_iterator end (void) 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)
hook_function_listoperator= (const hook_function_list &lst)
void run (const octave_value_list &initial_args=octave_value_list())

Private Attributes

map_type fcn_map

Detailed Description

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

Member Typedef Documentation

◆ const_iterator

typedef map_type::const_iterator hook_function_list::const_iterator

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

◆ iterator

typedef map_type::iterator hook_function_list::iterator

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

◆ map_type

Constructor & Destructor Documentation

◆ hook_function_list() [1/2]

hook_function_list::hook_function_list ( void  )

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

◆ ~hook_function_list()

hook_function_list::~hook_function_list ( void  )

◆ hook_function_list() [2/2]

hook_function_list::hook_function_list ( const hook_function_list lst)

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

Member Function Documentation

◆ clear()

void hook_function_list::clear ( void  )

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

Referenced by remove_input_event_hook_functions().

◆ empty()

bool hook_function_list::empty ( void  ) const

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

◆ end() [1/2]

iterator hook_function_list::end ( void  )

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

◆ end() [2/2]

const_iterator hook_function_list::end ( void  ) const

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

◆ erase()

void hook_function_list::erase ( iterator  p)

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

References p.

◆ find() [1/2]

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

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

◆ find() [2/2]

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

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

◆ insert()

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

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

References f, and id.

◆ operator=()

hook_function_list& hook_function_list::operator= ( const hook_function_list lst)

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

References fcn_map.

◆ run()

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

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

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

Member Data Documentation

◆ fcn_map

map_type hook_function_list::fcn_map

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

Referenced by operator=().

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