GNU Octave
4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
Public Member Functions | |
loader (const std::string &pfx=std::string()) | |
loader (const loader &l) | |
~loader (void) | |
void | add (const dir_info &di, bool at_end) |
void | clear (void) |
void | display (std::ostream &out) const |
string_vector | fcn_names (void) const |
std::string | find_fcn (const std::string &fcn, std::string &dir_name, int type=M_FILE|OCT_FILE|MEX_FILE) const |
std::string | find_method (const std::string &class_name, const std::string &meth, std::string &dir_name, int type=M_FILE|OCT_FILE|MEX_FILE) const |
std::string | find_private_fcn (const std::string &dir, const std::string &fcn, int type=M_FILE|OCT_FILE|MEX_FILE) const |
std::list< std::string > | methods (const std::string &class_name) const |
void | move (const dir_info &di, bool at_end) |
loader & | operator= (const loader &l) |
void | overloads (const std::string &meth, std::list< std::string > &l) const |
void | remove (const dir_info &di) |
Private Member Functions | |
void | add_to_fcn_map (const dir_info &di, bool at_end) |
void | add_to_method_map (const dir_info &di, bool at_end) |
void | add_to_private_fcn_map (const dir_info &di) |
void | move_fcn_map (const std::string &dir, const string_vector &fcn_files, bool at_end) |
void | move_method_map (const std::string &dir, bool at_end) |
void | remove_fcn_map (const std::string &dir, const string_vector &fcn_files) |
void | remove_method_map (const std::string &dir) |
void | remove_private_fcn_map (const std::string &dir) |
Private Attributes | |
std::list< std::string > | dir_list |
fcn_map_type | fcn_map |
method_map_type | method_map |
std::string | prefix |
private_fcn_map_type | private_fcn_map |
Definition at line 490 of file load-path.h.
|
inline |
Definition at line 493 of file load-path.h.
|
inline |
Definition at line 497 of file load-path.h.
|
inline |
Definition at line 501 of file load-path.h.
Definition at line 517 of file load-path.h.
References load_path::dir_info::dir_name.
Referenced by load_path::add().
Definition at line 1890 of file load-path.cc.
References file_ops::concat(), load_path::dir_info::dir_name, load_path::file_info::dir_name, load_path::dir_info::fcn_files, fi, in_path_list(), symbol_table::is_built_in_function_name(), Array< T >::length(), load_path::M_FILE, load_path::MEX_FILE, load_path::OCT_FILE, load_path::sys_path, load_path::file_info::types, and warning_with_id().
Definition at line 1995 of file load-path.cc.
References file_ops::concat(), load_path::dir_info::dir_name, fi, load_path::dir_info::class_info::method_file_map, load_path::dir_info::method_file_map, load_path::dir_info::class_info::private_file_map, and load_path::file_info::types.
|
private |
Definition at line 1986 of file load-path.cc.
References load_path::dir_info::dir_name, and load_path::dir_info::private_file_map.
|
inline |
Definition at line 535 of file load-path.h.
Referenced by load_path::do_clear(), and load_path::do_update().
void load_path::loader::display | ( | std::ostream & | out | ) | const |
Definition at line 2066 of file load-path.cc.
References file_ops::concat(), load_path::dir_list(), load_path::print_fcn_list, and load_path::print_types.
Referenced by load_path::do_display().
string_vector load_path::loader::fcn_names | ( | void | ) | const |
Definition at line 1696 of file load-path.cc.
Referenced by load_path::do_fcn_names().
std::string load_path::loader::find_fcn | ( | const std::string & | fcn, |
std::string & | dir_name, | ||
int | type = M_FILE | OCT_FILE | MEX_FILE |
||
) | const |
Definition at line 1087 of file load-path.cc.
References load_path::check_file_type(), file_ops::concat(), load_path::file_info::dir_name, fi, load_path::find_method(), and load_path::file_info::types.
std::string load_path::loader::find_method | ( | const std::string & | class_name, |
const std::string & | meth, | ||
std::string & | dir_name, | ||
int | type = M_FILE | OCT_FILE | MEX_FILE |
||
) | const |
Definition at line 1172 of file load-path.cc.
References load_path::check_file_type(), file_ops::concat(), load_path::file_info::dir_name, fi, and load_path::file_info::types.
std::string load_path::loader::find_private_fcn | ( | const std::string & | dir, |
const std::string & | fcn, | ||
int | type = M_FILE | OCT_FILE | MEX_FILE |
||
) | const |
Definition at line 1142 of file load-path.cc.
References load_path::check_file_type(), and file_ops::concat().
std::list< std::string > load_path::loader::methods | ( | const std::string & | class_name | ) | const |
Definition at line 1220 of file load-path.cc.
Definition at line 540 of file load-path.cc.
References load_path::dir_list(), load_path::dir_info::dir_name, load_path::dir_info::fcn_files, and find().
Referenced by load_path::move().
|
private |
Definition at line 408 of file load-path.cc.
References fi, and Array< T >::length().
|
private |
Definition at line 457 of file load-path.cc.
References file_ops::concat(), and fi.
Definition at line 503 of file load-path.h.
References dir_list, fcn_map, method_map, prefix, and private_fcn_map.
void load_path::loader::overloads | ( | const std::string & | meth, |
std::list< std::string > & | l | ||
) | const |
Definition at line 1273 of file load-path.cc.
Referenced by load_path::do_overloads().
void load_path::loader::remove | ( | const dir_info & | di | ) |
Definition at line 954 of file load-path.cc.
References load_path::dir_list(), load_path::dir_info::dir_name, and load_path::dir_info::fcn_files.
Referenced by load_path::remove().
|
private |
Definition at line 803 of file load-path.cc.
References Array< T >::length().
|
private |
Definition at line 852 of file load-path.cc.
References file_ops::concat().
|
private |
Definition at line 843 of file load-path.cc.
|
private |
Definition at line 589 of file load-path.h.
Referenced by operator=().
|
private |
Definition at line 591 of file load-path.h.
Referenced by operator=().
|
private |
Definition at line 595 of file load-path.h.
Referenced by operator=().
|
private |
Definition at line 587 of file load-path.h.
Referenced by operator=().
|
private |
Definition at line 593 of file load-path.h.
Referenced by operator=().