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 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 |
Public Member Functions | |
dir_info (void) | |
dir_info (const std::string &d) | |
dir_info (const dir_info &di) | |
~dir_info (void) | |
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 |
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_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 252 of file load-path.h.
typedef fcn_file_map_type::const_iterator load_path::dir_info::const_fcn_file_map_iterator |
Definition at line 259 of file load-path.h.
typedef method_file_map_type::const_iterator load_path::dir_info::const_method_file_map_iterator |
Definition at line 289 of file load-path.h.
typedef fcn_file_map_type::iterator load_path::dir_info::fcn_file_map_iterator |
Definition at line 260 of file load-path.h.
typedef std::map<std::string, int> load_path::dir_info::fcn_file_map_type |
Definition at line 257 of file load-path.h.
typedef method_file_map_type::iterator load_path::dir_info::method_file_map_iterator |
Definition at line 290 of file load-path.h.
typedef std::map<std::string, class_info> load_path::dir_info::method_file_map_type |
Definition at line 287 of file load-path.h.
load_path::dir_info::dir_info | ( | void | ) | [inline] |
Definition at line 295 of file load-path.h.
load_path::dir_info::dir_info | ( | const std::string & | d | ) | [inline] |
Definition at line 301 of file load-path.h.
load_path::dir_info::dir_info | ( | const dir_info & | di | ) | [inline] |
Definition at line 309 of file load-path.h.
load_path::dir_info::~dir_info | ( | void | ) | [inline] |
Definition at line 318 of file load-path.h.
void load_path::dir_info::get_file_list | ( | const std::string & | d | ) | [private] |
Definition at line 151 of file load-path.cc.
References all_files, concat(), dir_entry::error(), fcn_files, get_method_file_map(), get_private_file_map(), base_file_stat::is_dir(), Array< T >::length(), dir_entry::read(), string_vector::resize(), valid_identifier(), and warning().
Referenced by initialize().
void load_path::dir_info::get_method_file_map | ( | const std::string & | d, | |
const std::string & | class_name | |||
) | [private] |
Definition at line 275 of file load-path.cc.
References concat(), get_fcn_files, base_file_stat::is_dir(), method_file_map, and private_file_map.
Referenced by get_file_list().
void load_path::dir_info::get_private_file_map | ( | const std::string & | d | ) | [private] |
Definition at line 269 of file load-path.cc.
References get_fcn_files, and private_file_map.
Referenced by get_file_list().
void load_path::dir_info::initialize | ( | void | ) | [private] |
Definition at line 111 of file load-path.cc.
References load_path::abs_dir_cache, octave_env::absolute_pathname(), dir_mtime, dir_name, dir_time_last_checked, base_file_stat::error(), get_file_list(), is_relative, make_absolute(), method_file_map, base_file_stat::mtime(), and warning().
Referenced by update().
Definition at line 320 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, and private_file_map.
void load_path::dir_info::update | ( | void | ) |
Definition at line 55 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, make_absolute(), base_file_stat::mtime(), base_file_stat::time_resolution(), and warning().
Referenced by load_path::do_update().
fcn_file_map_type get_fcn_files | ( | const std::string & | d | ) | [friend] |
Definition at line 217 of file load-path.cc.
Referenced by get_method_file_map(), and get_private_file_map().
std::string load_path::dir_info::abs_dir_name |
Definition at line 341 of file load-path.h.
Referenced by operator=().
Definition at line 345 of file load-path.h.
Referenced by get_file_list(), and operator=().
Definition at line 343 of file load-path.h.
Referenced by initialize(), and operator=().
std::string load_path::dir_info::dir_name |
Definition at line 340 of file load-path.h.
Referenced by load_path::add_to_fcn_map(), load_path::add_to_method_map(), load_path::add_to_private_fcn_map(), initialize(), operator=(), and update().
Definition at line 344 of file load-path.h.
Referenced by initialize(), operator=(), and update().
Definition at line 346 of file load-path.h.
Referenced by load_path::add_to_fcn_map(), get_file_list(), and operator=().
Definition at line 342 of file load-path.h.
Referenced by initialize(), operator=(), and update().
Definition at line 348 of file load-path.h.
Referenced by load_path::add_to_method_map(), get_method_file_map(), initialize(), and operator=().
Definition at line 347 of file load-path.h.
Referenced by load_path::add_to_private_fcn_map(), get_method_file_map(), get_private_file_map(), and operator=().