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 (const dir_info &)=default | |
dir_info (const std::string &d) | |
dir_info (void)=default | |
~dir_info (void)=default | |
bool | is_package (const std::string &name) const |
dir_info & | operator= (const dir_info &)=default |
bool | update (void) |
Public Attributes | |
std::string | abs_dir_name |
string_vector | all_files |
sys::time | dir_mtime |
std::string | dir_name |
sys::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 220 of file load-path.h.
typedef fcn_file_map_type::const_iterator load_path::dir_info::const_fcn_file_map_iterator |
Definition at line 227 of file load-path.h.
typedef method_file_map_type::const_iterator load_path::dir_info::const_method_file_map_iterator |
Definition at line 259 of file load-path.h.
typedef package_dir_map_type::const_iterator load_path::dir_info::const_package_dir_map_iterator |
Definition at line 265 of file load-path.h.
typedef fcn_file_map_type::iterator load_path::dir_info::fcn_file_map_iterator |
Definition at line 228 of file load-path.h.
typedef std::map<std::string, int> load_path::dir_info::fcn_file_map_type |
Definition at line 225 of file load-path.h.
typedef method_file_map_type::iterator load_path::dir_info::method_file_map_iterator |
Definition at line 260 of file load-path.h.
typedef std::map<std::string, class_info> load_path::dir_info::method_file_map_type |
Definition at line 257 of file load-path.h.
typedef package_dir_map_type::iterator load_path::dir_info::package_dir_map_iterator |
Definition at line 266 of file load-path.h.
typedef std::map<std::string, dir_info> load_path::dir_info::package_dir_map_type |
Definition at line 263 of file load-path.h.
|
default |
|
inline |
Definition at line 273 of file load-path.h.
References initialize().
|
default |
|
default |
|
private |
Definition at line 1532 of file load-path.cc.
References concat(), d, get_dirlist(), len, string_vector::numel(), valid_identifier(), and warning().
|
private |
Definition at line 1603 of file load-path.cc.
References concat(), d, and load_path::get_fcn_files.
|
private |
Definition at line 1617 of file load-path.cc.
References d.
|
private |
Definition at line 1597 of file load-path.cc.
References d, and load_path::get_fcn_files.
|
private |
Definition at line 1486 of file load-path.cc.
References __get_interpreter__(), absolute_pathname(), canonicalize_file_name(), load_path::get_file_list(), interpreter::recover_from_exception(), load_path::s_abs_dir_cache, and warning().
Referenced by update().
bool load_path::dir_info::is_package | ( | const std::string & | name | ) | const |
Definition at line 1465 of file load-path.cc.
bool load_path::dir_info::update | ( | void | ) |
Definition at line 1392 of file load-path.cc.
References __get_interpreter__(), abs_dir_name, all_files, canonicalize_file_name(), dir_mtime, dir_name, dir_time_last_checked, fcn_files, initialize(), is_relative, method_file_map, package_dir_map, private_file_map, interpreter::recover_from_exception(), load_path::s_abs_dir_cache, subdirs_modified(), and warning_with_id().
|
friend |
Definition at line 1338 of file load-path.cc.
std::string load_path::dir_info::abs_dir_name |
Definition at line 290 of file load-path.h.
Referenced by load_path::package_info::add_to_fcn_map(), load_path::package_info::add_to_method_map(), load_path::package_info::add_to_private_fcn_map(), load_path::package_info::move(), load_path::package_info::remove(), and update().
string_vector load_path::dir_info::all_files |
Definition at line 294 of file load-path.h.
Referenced by update().
sys::time load_path::dir_info::dir_mtime |
Definition at line 292 of file load-path.h.
Referenced by update().
std::string load_path::dir_info::dir_name |
Definition at line 289 of file load-path.h.
Referenced by load_path::package_info::add(), and update().
sys::time load_path::dir_info::dir_time_last_checked |
Definition at line 293 of file load-path.h.
Referenced by update().
string_vector load_path::dir_info::fcn_files |
Definition at line 295 of file load-path.h.
Referenced by load_path::package_info::add_to_fcn_map(), load_path::package_info::move(), load_path::package_info::remove(), and update().
bool load_path::dir_info::is_relative |
Definition at line 291 of file load-path.h.
Referenced by update().
method_file_map_type load_path::dir_info::method_file_map |
Definition at line 297 of file load-path.h.
Referenced by load_path::package_info::add_to_method_map(), and update().
package_dir_map_type load_path::dir_info::package_dir_map |
Definition at line 298 of file load-path.h.
Referenced by load_path::add(), load_path::move(), load_path::remove(), and update().
fcn_file_map_type load_path::dir_info::private_file_map |
Definition at line 296 of file load-path.h.
Referenced by load_path::package_info::add_to_private_fcn_map(), and update().