GNU Octave
4.0.0
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) |
Public Attributes | |
std::string | abs_dir_name |
string_vector | all_files |
octave_time | dir_mtime |
std::string | dir_name |
octave_time | dir_time_last_checked |
string_vector | fcn_files |
bool | is_relative |
method_file_map_type | method_file_map |
package_dir_map_type | package_dir_map |
fcn_file_map_type | private_file_map |
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 289 of file load-path.h.
typedef fcn_file_map_type::const_iterator load_path::dir_info::const_fcn_file_map_iterator |
Definition at line 296 of file load-path.h.
typedef method_file_map_type::const_iterator load_path::dir_info::const_method_file_map_iterator |
Definition at line 326 of file load-path.h.
typedef package_dir_map_type::const_iterator load_path::dir_info::const_package_dir_map_iterator |
Definition at line 332 of file load-path.h.
typedef fcn_file_map_type::iterator load_path::dir_info::fcn_file_map_iterator |
Definition at line 297 of file load-path.h.
typedef std::map<std::string, int> load_path::dir_info::fcn_file_map_type |
Definition at line 294 of file load-path.h.
typedef method_file_map_type::iterator load_path::dir_info::method_file_map_iterator |
Definition at line 327 of file load-path.h.
typedef std::map<std::string, class_info> load_path::dir_info::method_file_map_type |
Definition at line 324 of file load-path.h.
typedef package_dir_map_type::iterator load_path::dir_info::package_dir_map_iterator |
Definition at line 333 of file load-path.h.
typedef std::map<std::string, dir_info> load_path::dir_info::package_dir_map_type |
Definition at line 330 of file load-path.h.
|
inline |
Definition at line 338 of file load-path.h.
|
inline |
Definition at line 345 of file load-path.h.
References initialize().
|
inline |
Definition at line 354 of file load-path.h.
|
inline |
Definition at line 364 of file load-path.h.
|
private |
Definition at line 175 of file load-path.cc.
References file_ops::concat(), dir_entry::error(), base_file_stat::is_dir(), Array< T >::length(), dir_entry::read(), valid_identifier(), and warning().
|
private |
Definition at line 301 of file load-path.cc.
References file_ops::concat(), load_path::get_fcn_files, and base_file_stat::is_dir().
|
private |
Definition at line 315 of file load-path.cc.
|
private |
Definition at line 295 of file load-path.cc.
References load_path::get_fcn_files.
|
private |
Definition at line 134 of file load-path.cc.
References load_path::abs_dir_cache, octave_env::absolute_pathname(), base_file_stat::error(), load_path::get_file_list, octave_env::make_absolute(), base_file_stat::mtime(), and warning().
Referenced by update().
bool load_path::dir_info::is_package | ( | const std::string & | name | ) | const |
Definition at line 113 of file load-path.cc.
Definition at line 366 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, dir_name, dir_time_last_checked, base_file_stat::error(), error_state, initialize(), is_relative, octave_env::make_absolute(), base_file_stat::mtime(), base_file_stat::time_resolution(), and warning().
Referenced by load_path::do_update().
|
friend |
Definition at line 243 of file load-path.cc.
std::string load_path::dir_info::abs_dir_name |
Definition at line 388 of file load-path.h.
Referenced by operator=().
string_vector load_path::dir_info::all_files |
Definition at line 392 of file load-path.h.
Referenced by operator=().
octave_time load_path::dir_info::dir_mtime |
Definition at line 390 of file load-path.h.
Referenced by operator=().
std::string load_path::dir_info::dir_name |
Definition at line 387 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_time load_path::dir_info::dir_time_last_checked |
Definition at line 391 of file load-path.h.
Referenced by operator=(), and update().
string_vector load_path::dir_info::fcn_files |
Definition at line 393 of file load-path.h.
Referenced by load_path::loader::add_to_fcn_map(), load_path::loader::move(), operator=(), and load_path::loader::remove().
bool load_path::dir_info::is_relative |
Definition at line 389 of file load-path.h.
Referenced by operator=(), and update().
method_file_map_type load_path::dir_info::method_file_map |
Definition at line 395 of file load-path.h.
Referenced by load_path::loader::add_to_method_map(), and operator=().
package_dir_map_type load_path::dir_info::package_dir_map |
Definition at line 396 of file load-path.h.
Referenced by load_path::add(), load_path::move(), operator=(), and load_path::remove().
fcn_file_map_type load_path::dir_info::private_file_map |
Definition at line 394 of file load-path.h.
Referenced by load_path::loader::add_to_private_fcn_map(), and operator=().