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 > | m_dir_list |
fcn_map_type | m_fcn_map |
method_map_type | m_method_map |
std::string | m_package_name |
private_fcn_map_type | m_private_fcn_map |
Definition at line 392 of file load-path.h.
|
inline |
Definition at line 396 of file load-path.h.
|
inline |
Definition at line 402 of file load-path.h.
|
default |
Definition at line 423 of file load-path.h.
References load_path::dir_info::dir_name.
Referenced by load_path::add().
|
private |
Definition at line 1915 of file load-path.cc.
References octave::__get_symbol_table__(), load_path::dir_info::abs_dir_name, concat(), load_path::file_info::dir_name, load_path::dir_info::fcn_files, octave::fi, in_path_list(), symbol_table::is_built_in_function_name(), len, load_path::M_FILE, load_path::MEX_FILE, string_vector::numel(), load_path::OCT_FILE, load_path::s_sys_path, and warning_with_id().
Definition at line 2030 of file load-path.cc.
References load_path::dir_info::abs_dir_name, concat(), octave::fi, load_path::dir_info::class_info::method_file_map, load_path::dir_info::method_file_map, and load_path::dir_info::class_info::private_file_map.
|
private |
Definition at line 2021 of file load-path.cc.
References load_path::dir_info::abs_dir_name, and load_path::dir_info::private_file_map.
|
private |
Definition at line 2273 of file load-path.cc.
References error(), load_path::M_FILE, load_path::MEX_FILE, and load_path::OCT_FILE.
|
inline |
Definition at line 441 of file load-path.h.
Referenced by load_path::clear(), and load_path::update().
void load_path::package_info::display | ( | std::ostream & | out | ) | const |
Definition at line 1665 of file load-path.cc.
References concat().
Referenced by load_path::display().
string_vector load_path::package_info::fcn_names | ( | void | ) | const |
std::string 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 1731 of file load-path.cc.
References concat(), octave::fi, and load_path::find_method().
std::string 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 1814 of file load-path.cc.
References concat(), and octave::fi.
std::string 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 1783 of file load-path.cc.
References concat().
std::list< std::string > load_path::package_info::methods | ( | const std::string & | class_name | ) | const |
Definition at line 1859 of file load-path.cc.
Definition at line 1625 of file load-path.cc.
References load_path::dir_info::abs_dir_name, load_path::dir_info::fcn_files, and find().
Referenced by load_path::move().
|
private |
Definition at line 2094 of file load-path.cc.
References len, and string_vector::numel().
|
private |
Definition at line 2143 of file load-path.cc.
References concat().
|
inline |
Definition at line 409 of file load-path.h.
References m_dir_list, m_fcn_map, m_method_map, m_package_name, and m_private_fcn_map.
void load_path::package_info::overloads | ( | const std::string & | meth, |
std::list< std::string > & | l | ||
) | const |
Definition at line 1880 of file load-path.cc.
Referenced by load_path::overloads().
|
private |
Definition at line 2397 of file load-path.cc.
|
private |
Definition at line 2369 of file load-path.cc.
References load_path::M_FILE, load_path::MEX_FILE, and load_path::OCT_FILE.
void load_path::package_info::remove | ( | const dir_info & | di | ) |
Definition at line 1649 of file load-path.cc.
References load_path::dir_info::abs_dir_name, and load_path::dir_info::fcn_files.
Referenced by load_path::remove().
|
private |
Definition at line 2186 of file load-path.cc.
References len, and string_vector::numel().
|
private |
Definition at line 2235 of file load-path.cc.
References concat().
|
private |
Definition at line 2226 of file load-path.cc.
|
private |
Definition at line 503 of file load-path.h.
Referenced by operator=().
|
private |
Definition at line 505 of file load-path.h.
Referenced by operator=().
|
private |
Definition at line 509 of file load-path.h.
Referenced by operator=().
|
private |
Definition at line 501 of file load-path.h.
Referenced by operator=().
|
private |
Definition at line 507 of file load-path.h.
Referenced by operator=().