Classes | |
struct | class_info |
Public Types | |
typedef fcn_file_map_type::const_iterator | const_fcn_file_map_iterator |
typedef method_file_map_type::const_iterator | const_method_file_map_iterator |
typedef package_dir_map_type::const_iterator | const_package_dir_map_iterator |
typedef fcn_file_map_type::iterator | fcn_file_map_iterator |
typedef std::map< std::string, int > | fcn_file_map_type |
typedef method_file_map_type::iterator | method_file_map_iterator |
typedef std::map< std::string, class_info > | method_file_map_type |
typedef package_dir_map_type::iterator | package_dir_map_iterator |
typedef std::map< std::string, dir_info > | package_dir_map_type |
Public Member Functions | |
dir_info (void)=default | |
dir_info (const std::string &d) | |
dir_info (const dir_info &)=default | |
~dir_info (void)=default | |
bool | is_package (const std::string &name) const |
dir_info & | operator= (const dir_info &)=default |
void | update (void) |
Private Member Functions | |
void | get_file_list (const std::string &d) |
void | get_method_file_map (const std::string &d, const std::string &class_name) |
void | get_package_dir (const std::string &d, const std::string &package_name) |
void | get_private_file_map (const std::string &d) |
void | initialize (void) |
Friends | |
fcn_file_map_type | get_fcn_files (const std::string &d) |
Definition at line 202 of file load-path.h.
typedef fcn_file_map_type::const_iterator octave::load_path::dir_info::const_fcn_file_map_iterator |
Definition at line 209 of file load-path.h.
typedef method_file_map_type::const_iterator octave::load_path::dir_info::const_method_file_map_iterator |
Definition at line 240 of file load-path.h.
typedef package_dir_map_type::const_iterator octave::load_path::dir_info::const_package_dir_map_iterator |
Definition at line 246 of file load-path.h.
typedef fcn_file_map_type::iterator octave::load_path::dir_info::fcn_file_map_iterator |
Definition at line 210 of file load-path.h.
Definition at line 207 of file load-path.h.
typedef method_file_map_type::iterator octave::load_path::dir_info::method_file_map_iterator |
Definition at line 241 of file load-path.h.
Definition at line 238 of file load-path.h.
typedef package_dir_map_type::iterator octave::load_path::dir_info::package_dir_map_iterator |
Definition at line 247 of file load-path.h.
Definition at line 244 of file load-path.h.
|
default |
|
inline |
Definition at line 254 of file load-path.h.
References initialize().
|
default |
|
default |
|
private |
Definition at line 1264 of file load-path.cc.
References octave::sys::file_ops::concat(), d, octave::sys::dir_entry::error(), fname, fs, i, octave::sys::base_file_stat::is_dir(), Array< T >::numel(), octave::sys::dir_entry::read(), string, valid_identifier(), and warning().
|
private |
Definition at line 1338 of file load-path.cc.
References octave::sys::file_ops::concat(), d, fs, octave::load_path::get_fcn_files, octave::sys::base_file_stat::is_dir(), and string.
|
private |
Definition at line 1352 of file load-path.cc.
References d.
|
private |
Definition at line 1332 of file load-path.cc.
References d, and octave::load_path::get_fcn_files.
|
private |
Definition at line 1220 of file load-path.cc.
References octave::load_path::abs_dir_cache, octave::sys::env::absolute_pathname(), octave::sys::base_file_stat::error(), fs, octave::load_path::get_file_list(), octave::sys::env::make_absolute(), octave::sys::base_file_stat::mtime(), octave::interpreter::recover_from_exception(), string, and warning().
Referenced by update().
bool octave::load_path::dir_info::is_package | ( | const std::string & | name | ) | const |
Definition at line 1199 of file load-path.cc.
void octave::load_path::dir_info::update | ( | void | ) |
Definition at line 1125 of file load-path.cc.
References octave::load_path::abs_dir_cache, abs_dir_name, all_files, octave::sys::file_ops::concat(), dir_mtime, dir_name, dir_time_last_checked, octave::sys::base_file_stat::error(), fcn_files, fs, initialize(), octave::sys::base_file_stat::is_dir(), is_relative, octave::sys::env::make_absolute(), method_file_map, octave::sys::base_file_stat::mtime(), p, package_dir_map, private_file_map, octave::interpreter::recover_from_exception(), string, octave::sys::base_file_stat::time_resolution(), and warning().
|
friend |
Definition at line 1067 of file load-path.cc.
std::string octave::load_path::dir_info::abs_dir_name |
Definition at line 271 of file load-path.h.
Referenced by update().
string_vector octave::load_path::dir_info::all_files |
Definition at line 275 of file load-path.h.
Referenced by update().
sys::time octave::load_path::dir_info::dir_mtime |
Definition at line 273 of file load-path.h.
Referenced by update().
std::string octave::load_path::dir_info::dir_name |
Definition at line 270 of file load-path.h.
Referenced by octave::load_path::package_info::add(), octave::load_path::package_info::add_to_fcn_map(), octave::load_path::package_info::add_to_method_map(), octave::load_path::package_info::add_to_private_fcn_map(), octave::load_path::package_info::move(), octave::load_path::package_info::remove(), and update().
sys::time octave::load_path::dir_info::dir_time_last_checked |
Definition at line 274 of file load-path.h.
Referenced by update().
string_vector octave::load_path::dir_info::fcn_files |
Definition at line 276 of file load-path.h.
Referenced by octave::load_path::package_info::add_to_fcn_map(), octave::load_path::package_info::move(), octave::load_path::package_info::remove(), and update().
bool octave::load_path::dir_info::is_relative |
Definition at line 272 of file load-path.h.
Referenced by update().
method_file_map_type octave::load_path::dir_info::method_file_map |
Definition at line 278 of file load-path.h.
Referenced by octave::load_path::package_info::add_to_method_map(), and update().
package_dir_map_type octave::load_path::dir_info::package_dir_map |
Definition at line 279 of file load-path.h.
Referenced by octave::load_path::add(), octave::load_path::move(), octave::load_path::remove(), and update().
fcn_file_map_type octave::load_path::dir_info::private_file_map |
Definition at line 277 of file load-path.h.
Referenced by octave::load_path::package_info::add_to_private_fcn_map(), and update().