GNU Octave  3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Types | Public Member Functions | Private Attributes | List of all members
hook_function_list Class Reference

#include "hook-fcn.h"

Collaboration diagram for hook_function_list:
Collaboration graph
[legend]

Public Types

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

Public Member Functions

 hook_function_list (void)
 hook_function_list (const hook_function_list &lst)
 ~hook_function_list (void)
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 188 of file hook-fcn.h.

Member Typedef Documentation

typedef map_type::const_iterator hook_function_list::const_iterator

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

typedef map_type::iterator hook_function_list::iterator

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

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

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

Constructor & Destructor Documentation

hook_function_list::hook_function_list ( void  )
inline

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

hook_function_list::~hook_function_list ( void  )
inline

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

hook_function_list::hook_function_list ( const hook_function_list lst)
inline

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

Member Function Documentation

void hook_function_list::clear ( void  )
inline

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

Referenced by remove_input_event_hook_functions().

bool hook_function_list::empty ( void  ) const
inline
iterator hook_function_list::end ( void  )
inline

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

Referenced by Fremove_input_event_hook().

const_iterator hook_function_list::end ( void  ) const
inline

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

void hook_function_list::erase ( iterator  p)
inline

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

Referenced by Fremove_input_event_hook().

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

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

Referenced by Fremove_input_event_hook().

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

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

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

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

References f, and hook_function::id().

Referenced by Fadd_input_event_hook().

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

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

References fcn_map.

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

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

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

Referenced by internal_input_event_hook_fcn().

Member Data Documentation

map_type hook_function_list::fcn_map
private

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

Referenced by operator=().


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