#include "symtab.h"
Classes | |
class | fcn_info_rep |
Public Types | |
typedef dispatch_map_type::const_iterator | dispatch_map_const_iterator |
typedef dispatch_map_type::iterator | dispatch_map_iterator |
typedef std::map< std::string, std::string > | dispatch_map_type |
typedef std::map< scope_id, octave_value >::const_iterator | scope_val_const_iterator |
typedef std::map< scope_id, octave_value >::iterator | scope_val_iterator |
typedef std::map< std::string, octave_value >::const_iterator | str_val_const_iterator |
typedef std::map< std::string, octave_value >::iterator | str_val_iterator |
Public Member Functions | |
fcn_info (const std::string &nm=std::string()) | |
fcn_info (const fcn_info &fi) | |
~fcn_info (void) | |
void | add_dispatch (const std::string &type, const std::string &fname) |
octave_value | builtin_find (void) |
void | clear (void) |
void | clear_autoload_function (void) |
void | clear_dispatch (const std::string &type) |
void | clear_mex_function (void) |
void | clear_user_function (void) |
void | dump (std::ostream &os, const std::string &prefix=std::string()) const |
void | erase_subfunction (scope_id scope) |
octave_value | find (const octave_value_list &args=octave_value_list(), bool local_funcs=true) |
octave_value | find_autoload (void) |
octave_value | find_built_in_function (void) const |
octave_value | find_cmdline_function (void) const |
octave_value | find_function (const octave_value_list &args=octave_value_list(), bool local_funcs=true) |
octave_value | find_method (const std::string &dispatch_type) const |
octave_value | find_user_function (void) |
dispatch_map_type | get_dispatch (void) const |
std::string | help_for_dispatch (void) const |
void | install_built_in_function (const octave_value &f) |
void | install_cmdline_function (const octave_value &f) |
void | install_subfunction (const octave_value &f, scope_id scope) |
void | install_user_function (const octave_value &f) |
bool | is_user_function_defined (void) const |
void | lock_subfunction (scope_id scope) |
void | mark_subfunction_in_scope_as_private (scope_id scope, const std::string &class_name) |
fcn_info & | operator= (const fcn_info &fi) |
void | print_dispatch (std::ostream &os) const |
std::pair< std::string, octave_value > | subfunction_defined_in_scope (scope_id scope=xcurrent_scope) const |
void | unlock_subfunction (scope_id scope) |
Private Attributes | |
fcn_info_rep * | rep |
Definition at line 518 of file symtab.h.
typedef dispatch_map_type::const_iterator symbol_table::fcn_info::dispatch_map_const_iterator |
typedef dispatch_map_type::iterator symbol_table::fcn_info::dispatch_map_iterator |
typedef std::map<std::string, std::string> symbol_table::fcn_info::dispatch_map_type |
typedef std::map<scope_id, octave_value>::const_iterator symbol_table::fcn_info::scope_val_const_iterator |
typedef std::map<scope_id, octave_value>::iterator symbol_table::fcn_info::scope_val_iterator |
typedef std::map<std::string, octave_value>::const_iterator symbol_table::fcn_info::str_val_const_iterator |
typedef std::map<std::string, octave_value>::iterator symbol_table::fcn_info::str_val_iterator |
symbol_table::fcn_info::fcn_info | ( | const std::string & | nm = std::string () |
) | [inline] |
symbol_table::fcn_info::fcn_info | ( | const fcn_info & | fi | ) | [inline] |
void symbol_table::fcn_info::add_dispatch | ( | const std::string & | type, | |
const std::string & | fname | |||
) | [inline] |
Definition at line 879 of file symtab.h.
Referenced by symbol_table::add_dispatch().
octave_value symbol_table::fcn_info::builtin_find | ( | void | ) | [inline] |
Definition at line 783 of file symtab.h.
Referenced by symbol_table::do_builtin_find().
void symbol_table::fcn_info::clear_autoload_function | ( | void | ) | [inline] |
Definition at line 875 of file symtab.h.
Referenced by symbol_table::clear_dld_function().
void symbol_table::fcn_info::clear_dispatch | ( | const std::string & | type | ) | [inline] |
Definition at line 884 of file symtab.h.
Referenced by symbol_table::clear_dispatch().
void symbol_table::fcn_info::clear_mex_function | ( | void | ) | [inline] |
Definition at line 877 of file symtab.h.
Referenced by symbol_table::clear_mex_functions().
void symbol_table::fcn_info::clear_user_function | ( | void | ) | [inline] |
Definition at line 873 of file symtab.h.
Referenced by symbol_table::clear_dld_function(), and symbol_table::clear_user_function().
void symbol_table::fcn_info::dump | ( | std::ostream & | os, | |
const std::string & | prefix = std::string () | |||
) | const [inline] |
void symbol_table::fcn_info::erase_subfunction | ( | scope_id | scope | ) | [inline] |
octave_value symbol_table::fcn_info::find | ( | const octave_value_list & | args = octave_value_list () , |
|
bool | local_funcs = true | |||
) | [inline] |
Definition at line 777 of file symtab.h.
Referenced by symbol_table::clear_dispatch(), symbol_table::do_find(), symbol_table::symbol_record::find(), symbol_table::install_built_in_function(), symbol_table::install_subfunction(), and symbol_table::install_user_function().
octave_value symbol_table::fcn_info::find_autoload | ( | void | ) | [inline] |
octave_value symbol_table::fcn_info::find_built_in_function | ( | void | ) | const [inline] |
octave_value symbol_table::fcn_info::find_cmdline_function | ( | void | ) | const [inline] |
octave_value symbol_table::fcn_info::find_function | ( | const octave_value_list & | args = octave_value_list () , |
|
bool | local_funcs = true | |||
) | [inline] |
octave_value symbol_table::fcn_info::find_method | ( | const std::string & | dispatch_type | ) | const [inline] |
Definition at line 788 of file symtab.h.
Referenced by symbol_table::find_method(), and symbol_table::fcn_info::fcn_info_rep::load_class_method().
octave_value symbol_table::fcn_info::find_user_function | ( | void | ) | [inline] |
dispatch_map_type symbol_table::fcn_info::get_dispatch | ( | void | ) | const [inline] |
Definition at line 896 of file symtab.h.
Referenced by symbol_table::get_dispatch().
std::string symbol_table::fcn_info::help_for_dispatch | ( | void | ) | const [inline] |
Definition at line 894 of file symtab.h.
Referenced by symbol_table::help_for_dispatch().
void symbol_table::fcn_info::install_built_in_function | ( | const octave_value & | f | ) | [inline] |
Definition at line 866 of file symtab.h.
Referenced by symbol_table::alias_built_in_function(), and symbol_table::install_built_in_function().
void symbol_table::fcn_info::install_cmdline_function | ( | const octave_value & | f | ) | [inline] |
Definition at line 851 of file symtab.h.
Referenced by symbol_table::install_cmdline_function().
void symbol_table::fcn_info::install_subfunction | ( | const octave_value & | f, | |
scope_id | scope | |||
) | [inline] |
Definition at line 856 of file symtab.h.
Referenced by symbol_table::install_subfunction().
void symbol_table::fcn_info::install_user_function | ( | const octave_value & | f | ) | [inline] |
Definition at line 861 of file symtab.h.
Referenced by symbol_table::install_user_function().
bool symbol_table::fcn_info::is_user_function_defined | ( | void | ) | const [inline] |
void symbol_table::fcn_info::lock_subfunction | ( | scope_id | scope | ) | [inline] |
void symbol_table::fcn_info::mark_subfunction_in_scope_as_private | ( | scope_id | scope, | |
const std::string & | class_name | |||
) | [inline] |
Definition at line 757 of file symtab.h.
References symbol_table::fcn_info::fcn_info_rep::count, and rep.
void symbol_table::fcn_info::print_dispatch | ( | std::ostream & | os | ) | const [inline] |
Definition at line 889 of file symtab.h.
Referenced by symbol_table::print_dispatch().
std::pair<std::string, octave_value> symbol_table::fcn_info::subfunction_defined_in_scope | ( | scope_id | scope = xcurrent_scope |
) | const [inline] |
void symbol_table::fcn_info::unlock_subfunction | ( | scope_id | scope | ) | [inline] |
fcn_info_rep* symbol_table::fcn_info::rep [private] |
Definition at line 909 of file symtab.h.
Referenced by operator=().