GNU Octave
4.2.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
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) | |
dir_info (const std::string &d) | |
dir_info (const dir_info &di) | |
~dir_info (void) | |
bool | is_package (const std::string &name) const |
dir_info & | operator= (const dir_info &di) |
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 297 of file load-path.h.
typedef fcn_file_map_type::const_iterator load_path::dir_info::const_fcn_file_map_iterator |
Definition at line 304 of file load-path.h.
typedef method_file_map_type::const_iterator load_path::dir_info::const_method_file_map_iterator |
Definition at line 334 of file load-path.h.
typedef package_dir_map_type::const_iterator load_path::dir_info::const_package_dir_map_iterator |
Definition at line 340 of file load-path.h.
typedef fcn_file_map_type::iterator load_path::dir_info::fcn_file_map_iterator |
Definition at line 305 of file load-path.h.
Definition at line 302 of file load-path.h.
typedef method_file_map_type::iterator load_path::dir_info::method_file_map_iterator |
Definition at line 335 of file load-path.h.
Definition at line 332 of file load-path.h.
typedef package_dir_map_type::iterator load_path::dir_info::package_dir_map_iterator |
Definition at line 341 of file load-path.h.
Definition at line 338 of file load-path.h.
|
inline |
Definition at line 346 of file load-path.h.
|
inline |
Definition at line 353 of file load-path.h.
References initialize().
|
inline |
Definition at line 362 of file load-path.h.
|
inline |
Definition at line 372 of file load-path.h.
|
private |
Definition at line 186 of file load-path.cc.
References octave::sys::file_ops::concat(), octave::sys::dir_entry::error(), fname, fs, octave::sys::base_file_stat::is_dir(), Array< T >::numel(), octave::sys::dir_entry::read(), string, valid_identifier(), and warning().
|
private |
Definition at line 310 of file load-path.cc.
References octave::sys::file_ops::concat(), fs, load_path::get_fcn_files, octave::sys::base_file_stat::is_dir(), and string.
|
private |
Definition at line 324 of file load-path.cc.
|
private |
Definition at line 304 of file load-path.cc.
References load_path::get_fcn_files.
|
private |
Definition at line 142 of file load-path.cc.
References load_path::abs_dir_cache, octave::sys::env::absolute_pathname(), octave::sys::base_file_stat::error(), fs, load_path::get_file_list, octave::sys::env::make_absolute(), octave::sys::base_file_stat::mtime(), recover_from_exception(), string, and warning().
Referenced by update().
bool load_path::dir_info::is_package | ( | const std::string & | name | ) | const |
Definition at line 121 of file load-path.cc.
References string.
Definition at line 374 of file load-path.h.
References abs_dir_name, all_files, dir_mtime, dir_name, dir_time_last_checked, fcn_files, is_relative, method_file_map, package_dir_map, and private_file_map.
void load_path::dir_info::update | ( | void | ) |
Definition at line 56 of file load-path.cc.
References load_path::abs_dir_cache, abs_dir_name, all_files, dir_mtime, dir_name, dir_time_last_checked, octave::sys::base_file_stat::error(), fcn_files, fs, initialize(), is_relative, octave::sys::env::make_absolute(), method_file_map, octave::sys::base_file_stat::mtime(), p, package_dir_map, private_file_map, recover_from_exception(), string, octave::sys::base_file_stat::time_resolution(), and warning().
Referenced by load_path::do_update().
|
friend |
Definition at line 254 of file load-path.cc.
std::string load_path::dir_info::abs_dir_name |
Definition at line 396 of file load-path.h.
Referenced by operator=(), and update().
string_vector load_path::dir_info::all_files |
Definition at line 400 of file load-path.h.
Referenced by operator=(), and update().
octave::sys::time load_path::dir_info::dir_mtime |
Definition at line 398 of file load-path.h.
Referenced by operator=(), and update().
std::string load_path::dir_info::dir_name |
Definition at line 395 of file load-path.h.
Referenced by load_path::loader::add(), load_path::loader::add_to_fcn_map(), load_path::loader::add_to_method_map(), load_path::loader::add_to_private_fcn_map(), load_path::loader::move(), operator=(), load_path::loader::remove(), and update().
octave::sys::time load_path::dir_info::dir_time_last_checked |
Definition at line 399 of file load-path.h.
Referenced by operator=(), and update().
string_vector load_path::dir_info::fcn_files |
Definition at line 401 of file load-path.h.
Referenced by load_path::loader::add_to_fcn_map(), load_path::loader::move(), operator=(), load_path::loader::remove(), and update().
bool load_path::dir_info::is_relative |
Definition at line 397 of file load-path.h.
Referenced by operator=(), and update().
method_file_map_type load_path::dir_info::method_file_map |
Definition at line 403 of file load-path.h.
Referenced by load_path::loader::add_to_method_map(), operator=(), and update().
package_dir_map_type load_path::dir_info::package_dir_map |
Definition at line 404 of file load-path.h.
Referenced by load_path::add(), load_path::move(), operator=(), load_path::remove(), and update().
fcn_file_map_type load_path::dir_info::private_file_map |
Definition at line 402 of file load-path.h.
Referenced by load_path::loader::add_to_private_fcn_map(), operator=(), and update().