Public Member Functions | |
package_info (const package_info &l) | |
package_info (const std::string &package_name="") | |
~package_info (void)=default | |
void | add (const dir_info &di, bool at_end, bool updating) |
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) |
package_info & | operator= (const package_info &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, bool updating) |
void | add_to_method_map (const dir_info &di, bool at_end) |
void | add_to_private_fcn_map (const dir_info &di) |
bool | check_file_type (std::string &fname, int type, int possible_types, const std::string &fcn, const char *who) const |
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 | print_fcn_list (std::ostream &os, const dir_info::fcn_file_map_type &lst) const |
void | print_types (std::ostream &os, int types) const |
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 |
std::string | m_package_name |
method_map_type | method_map |
private_fcn_map_type | private_fcn_map |
Definition at line 389 of file load-path.h.
|
inline |
Definition at line 393 of file load-path.h.
|
inline |
Definition at line 399 of file load-path.h.
|
default |
|
inline |
Definition at line 420 of file load-path.h.
References octave::load_path::dir_info::dir_name.
Referenced by octave::load_path::add().
|
private |
Definition at line 1784 of file load-path.cc.
References octave::__get_symbol_table__(), octave::load_path::dir_info::abs_dir_name, octave::sys::file_ops::concat(), octave::load_path::file_info::dir_name, octave::load_path::dir_info::fcn_files, octave::fi, octave::in_path_list(), octave::symbol_table::is_built_in_function_name(), len, octave::load_path::M_FILE, octave::load_path::MEX_FILE, string_vector::numel(), octave::load_path::OCT_FILE, octave::load_path::sys_path, and warning_with_id().
|
private |
Definition at line 1899 of file load-path.cc.
References octave::load_path::dir_info::abs_dir_name, octave::sys::file_ops::concat(), octave::fi, m, octave::load_path::dir_info::class_info::method_file_map, octave::load_path::dir_info::method_file_map, and octave::load_path::dir_info::class_info::private_file_map.
|
private |
Definition at line 1890 of file load-path.cc.
References octave::load_path::dir_info::abs_dir_name, and octave::load_path::dir_info::private_file_map.
|
private |
Definition at line 2142 of file load-path.cc.
References error(), octave::load_path::M_FILE, octave::load_path::MEX_FILE, octave::load_path::OCT_FILE, and retval.
|
inline |
Definition at line 438 of file load-path.h.
Referenced by octave::load_path::clear(), and octave::load_path::update().
void octave::load_path::package_info::display | ( | std::ostream & | out | ) | const |
Definition at line 1534 of file load-path.cc.
References octave::sys::file_ops::concat(), and octave::load_path::dir_list().
Referenced by octave::load_path::display().
string_vector octave::load_path::package_info::fcn_names | ( | void | ) | const |
Definition at line 1769 of file load-path.cc.
Referenced by octave::load_path::fcn_names().
std::string octave::load_path::package_info::find_fcn | ( | const std::string & | fcn, |
std::string & | dir_name, | ||
int | type = M_FILE | OCT_FILE | MEX_FILE |
||
) | const |
Definition at line 1600 of file load-path.cc.
References octave::sys::file_ops::concat(), octave::fi, Array< T >::find(), octave::load_path::find_method(), and retval.
std::string octave::load_path::package_info::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 1683 of file load-path.cc.
References octave::sys::file_ops::concat(), octave::fi, Array< T >::find(), m, and retval.
std::string octave::load_path::package_info::find_private_fcn | ( | const std::string & | dir, |
const std::string & | fcn, | ||
int | type = M_FILE | OCT_FILE | MEX_FILE |
||
) | const |
Definition at line 1652 of file load-path.cc.
References octave::sys::file_ops::concat(), Array< T >::find(), and retval.
std::list< std::string > octave::load_path::package_info::methods | ( | const std::string & | class_name | ) | const |
Definition at line 1728 of file load-path.cc.
References Array< T >::find(), retval, and Array< T >::sort().
void octave::load_path::package_info::move | ( | const dir_info & | di, |
bool | at_end | ||
) |
Definition at line 1494 of file load-path.cc.
References octave::load_path::dir_info::abs_dir_name, octave::load_path::dir_list(), octave::load_path::dir_info::fcn_files, and find().
Referenced by octave::load_path::move().
|
private |
Definition at line 1963 of file load-path.cc.
References len, and string_vector::numel().
|
private |
Definition at line 2012 of file load-path.cc.
References octave::sys::file_ops::concat().
|
inline |
Definition at line 406 of file load-path.h.
References dir_list, fcn_map, m_package_name, method_map, and private_fcn_map.
void octave::load_path::package_info::overloads | ( | const std::string & | meth, |
std::list< std::string > & | l | ||
) | const |
Definition at line 1749 of file load-path.cc.
References m.
Referenced by octave::load_path::overloads().
|
private |
Definition at line 2266 of file load-path.cc.
|
private |
Definition at line 2238 of file load-path.cc.
References octave::load_path::M_FILE, octave::load_path::MEX_FILE, and octave::load_path::OCT_FILE.
void octave::load_path::package_info::remove | ( | const dir_info & | di | ) |
Definition at line 1518 of file load-path.cc.
References octave::load_path::dir_info::abs_dir_name, octave::load_path::dir_list(), and octave::load_path::dir_info::fcn_files.
Referenced by octave::load_path::remove().
|
private |
Definition at line 2055 of file load-path.cc.
References len, and string_vector::numel().
|
private |
Definition at line 2104 of file load-path.cc.
References octave::sys::file_ops::concat().
|
private |
Definition at line 2095 of file load-path.cc.
|
private |
Definition at line 500 of file load-path.h.
Referenced by operator=().
|
private |
Definition at line 502 of file load-path.h.
Referenced by operator=().
|
private |
Definition at line 498 of file load-path.h.
Referenced by operator=().
|
private |
Definition at line 506 of file load-path.h.
Referenced by operator=().
|
private |
Definition at line 504 of file load-path.h.
Referenced by operator=().