GNU Octave
4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
Public Member Functions | |
fcn_info_rep (const std::string &nm) | |
void | add_dispatch (const std::string &type, const std::string &fname) |
octave_value | builtin_find (void) |
void | clear (bool force=false) |
void | clear_autoload_function (bool force=false) |
void | clear_dispatch (const std::string &type) |
template<class T > | |
void | clear_map (std::map< T, octave_value > &map, bool force=false) |
void | clear_mex_function (void) |
void | clear_package (void) |
void | clear_user_function (bool force=false) |
void | dump (std::ostream &os, const std::string &prefix) const |
void | erase_subfunction (scope_id scope) |
octave_value | find (const octave_value_list &args, bool local_funcs) |
octave_value | find_autoload (void) |
octave_value | find_function (const octave_value_list &args, bool local_funcs) |
octave_value | find_method (const std::string &dispatch_type) |
octave_value | find_package (void) |
octave_value | find_user_function (void) |
std::string | full_name (void) const |
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 |
octave_value | load_class_constructor (void) |
octave_value | load_class_method (const std::string &dispatch_type) |
octave_value | load_private_function (const std::string &dir_name) |
void | lock_subfunction (scope_id scope) |
void | mark_subfunction_in_scope_as_private (scope_id scope, const std::string &class_name) |
void | print_dispatch (std::ostream &os) const |
std::pair< std::string, octave_value > | subfunction_defined_in_scope (scope_id scope) const |
void | unlock_subfunction (scope_id scope) |
Public Attributes | |
octave_value | autoload_function |
octave_value | built_in_function |
std::map< std::string, octave_value > | class_constructors |
std::map< std::string, octave_value > | class_methods |
octave_value | cmdline_function |
octave_refcount< size_t > | count |
dispatch_map_type | dispatch_map |
octave_value | function_on_path |
std::string | name |
octave_value | package |
std::string | package_name |
std::map< std::string, octave_value > | private_functions |
std::map< scope_id, octave_value > | subfunctions |
Private Member Functions | |
fcn_info_rep (const fcn_info_rep &) | |
fcn_info_rep & | operator= (const fcn_info_rep &) |
octave_value | x_builtin_find (void) |
octave_value | xfind (const octave_value_list &args, bool local_funcs) |
|
inline |
|
private |
|
inline |
octave_value symbol_table::fcn_info::fcn_info_rep::builtin_find | ( | void | ) |
Definition at line 896 of file symtab.cc.
References octave_value::is_defined(), and load_path::update().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void symbol_table::fcn_info::fcn_info_rep::dump | ( | std::ostream & | os, |
const std::string & | prefix | ||
) | const |
Definition at line 1171 of file symtab.cc.
References fcn_file_name().
|
inline |
octave_value symbol_table::fcn_info::fcn_info_rep::find | ( | const octave_value_list & | args, |
bool | local_funcs | ||
) |
Definition at line 693 of file symtab.cc.
References error_state, octave_value::is_defined(), and load_path::update().
octave_value symbol_table::fcn_info::fcn_info_rep::find_autoload | ( | void | ) |
Definition at line 1040 of file symtab.cc.
References file_ops::dir_sep_chars(), load_fcn_from_file(), lookup_autoload(), octave_value(), and out_of_date_check().
|
inline |
octave_value symbol_table::fcn_info::fcn_info_rep::find_method | ( | const std::string & | dispatch_type | ) |
Definition at line 1005 of file symtab.cc.
References octave_value::is_defined(), and out_of_date_check().
octave_value symbol_table::fcn_info::fcn_info_rep::find_package | ( | void | ) |
Definition at line 1099 of file symtab.cc.
References error_state, and cdef_manager::find_package_symbol().
octave_value symbol_table::fcn_info::fcn_info_rep::find_user_function | ( | void | ) |
Definition at line 1071 of file symtab.cc.
References error_state, load_path::find_fcn(), load_fcn_from_file(), octave_value(), and out_of_date_check().
|
inline |
|
inline |
std::string symbol_table::fcn_info::fcn_info_rep::help_for_dispatch | ( | void | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
octave_value symbol_table::fcn_info::fcn_info_rep::load_class_constructor | ( | void | ) |
Definition at line 417 of file symtab.cc.
References load_path::find_method(), symbol_table::find_user_function(), octave_value::function_value(), octave_function::is_classdef_constructor(), octave_value::is_defined(), load_fcn_from_file(), and octave_value().
octave_value symbol_table::fcn_info::fcn_info_rep::load_class_method | ( | const std::string & | dispatch_type | ) |
Definition at line 469 of file symtab.cc.
References load_path::find_method(), symbol_table::find_method(), cdef_manager::find_method_symbol(), octave_value::is_defined(), octave_value::is_undefined(), load_fcn_from_file(), octave_value(), and symbol_table::parent_classes().
octave_value symbol_table::fcn_info::fcn_info_rep::load_private_function | ( | const std::string & | dir_name | ) |
Definition at line 381 of file symtab.cc.
References file_ops::dir_sep_chars(), load_path::find_private_fcn(), load_fcn_from_file(), octave_function::mark_as_private_function(), and octave_value().
|
inline |
void symbol_table::fcn_info::fcn_info_rep::mark_subfunction_in_scope_as_private | ( | scope_id | scope, |
const std::string & | class_name | ||
) |
Definition at line 533 of file symtab.cc.
References octave_base_value::function_value(), and octave_function::mark_as_private_function().
|
private |
void symbol_table::fcn_info::fcn_info_rep::print_dispatch | ( | std::ostream & | os | ) | const |
|
inline |
|
inline |
|
private |
Definition at line 915 of file symtab.cc.
References symbol_table::curr_fcn, octave_function::dir_name(), symbol_table::find_autoload(), symbol_table::find_user_function(), symbol_table::get_curr_fcn(), octave_value::is_defined(), octave_value(), out_of_date_check(), octave_user_function::parent_fcn_scope(), and symbol_table::xcurrent_scope.
|
private |
Definition at line 713 of file symtab.cc.
References symbol_table::curr_fcn, octave_function::dir_name(), octave_value_list::empty(), symbol_table::find_autoload(), symbol_table::find_function(), symbol_table::find_method(), symbol_table::find_user_function(), symbol_table::get_curr_fcn(), get_dispatch_type(), octave_value::is_defined(), out_of_date_check(), octave_user_function::parent_fcn_scope(), and symbol_table::xcurrent_scope.
octave_value symbol_table::fcn_info::fcn_info_rep::autoload_function |
octave_value symbol_table::fcn_info::fcn_info_rep::built_in_function |
std::map<std::string, octave_value> symbol_table::fcn_info::fcn_info_rep::class_constructors |
std::map<std::string, octave_value> symbol_table::fcn_info::fcn_info_rep::class_methods |
octave_value symbol_table::fcn_info::fcn_info_rep::cmdline_function |
octave_refcount<size_t> symbol_table::fcn_info::fcn_info_rep::count |
Definition at line 972 of file symtab.h.
Referenced by symbol_table::fcn_info::operator=().
dispatch_map_type symbol_table::fcn_info::fcn_info_rep::dispatch_map |
octave_value symbol_table::fcn_info::fcn_info_rep::function_on_path |
octave_value symbol_table::fcn_info::fcn_info_rep::package |
std::string symbol_table::fcn_info::fcn_info_rep::package_name |
std::map<std::string, octave_value> symbol_table::fcn_info::fcn_info_rep::private_functions |
std::map<scope_id, octave_value> symbol_table::fcn_info::fcn_info_rep::subfunctions |