#include <load-path.h>
Classes | |
class | dir_info |
class | file_info |
Public Types | |
typedef void(* | hook_fcn_ptr )(const std::string &dir) |
Public Member Functions | |
~load_path (void) | |
Static Public Member Functions | |
static void | initialize (bool set_initial_path=false) |
static void | clear (void) |
static void | set (const std::string &p, bool warn=false) |
static void | append (const std::string &dir, bool warn=false) |
static void | prepend (const std::string &dir, bool warn=false) |
static bool | remove (const std::string &dir) |
static void | update (void) |
static std::string | find_method (const std::string &class_name, const std::string &meth, std::string &dir_name) |
static std::string | find_method (const std::string &class_name, const std::string &meth) |
static std::list< std::string > | methods (const std::string &class_name) |
static std::list< std::string > | overloads (const std::string &meth) |
static std::string | find_fcn (const std::string &fcn, std::string &dir_name) |
static std::string | find_fcn (const std::string &fcn) |
static std::string | find_private_fcn (const std::string &dir, const std::string &fcn) |
static std::string | find_fcn_file (const std::string &fcn) |
static std::string | find_oct_file (const std::string &fcn) |
static std::string | find_mex_file (const std::string &fcn) |
static std::string | find_file (const std::string &file) |
static std::string | find_dir (const std::string &dir) |
static string_vector | find_matching_dirs (const std::string &dir) |
static std::string | find_first_of (const string_vector &files) |
static string_vector | find_all_first_of (const string_vector &files) |
static string_vector | dirs (void) |
static std::list< std::string > | dir_list (void) |
static string_vector | files (const std::string &dir, bool omit_exts=false) |
static string_vector | fcn_names (void) |
static std::string | path (void) |
static void | display (std::ostream &os) |
static void | set_add_hook (hook_fcn_ptr f) |
static void | set_remove_hook (hook_fcn_ptr f) |
static void | set_command_line_path (const std::string &p) |
static std::string | get_command_line_path (void) |
static std::string | system_path (void) |
Protected Member Functions | |
load_path (void) | |
Friends | |
void | print_types (std::ostream &os, int types) |
string_vector | get_file_list (const dir_info::fcn_file_map_type &lst) |
void | print_fcn_list (std::ostream &os, const dir_info::fcn_file_map_type &lst) |
dir_info::fcn_file_map_type | get_fcn_files (const std::string &d) |
typedef void(* load_path::hook_fcn_ptr)(const std::string &dir) |
load_path::load_path | ( | void | ) | [inline, protected] |
load_path::~load_path | ( | void | ) | [inline] |
static void load_path::append | ( | const std::string & | dir, | |
bool | warn = false | |||
) | [inline, static] |
static void load_path::clear | ( | void | ) | [inline, static] |
static std::list<std::string> load_path::dir_list | ( | void | ) | [inline, static] |
static string_vector load_path::dirs | ( | void | ) | [inline, static] |
static void load_path::display | ( | std::ostream & | os | ) | [inline, static] |
static string_vector load_path::fcn_names | ( | void | ) | [inline, static] |
static string_vector load_path::files | ( | const std::string & | dir, | |
bool | omit_exts = false | |||
) | [inline, static] |
static string_vector load_path::find_all_first_of | ( | const string_vector & | files | ) | [inline, static] |
static std::string load_path::find_dir | ( | const std::string & | dir | ) | [inline, static] |
static std::string load_path::find_fcn | ( | const std::string & | fcn, | |
std::string & | dir_name | |||
) | [inline, static] |
static std::string load_path::find_fcn | ( | const std::string & | fcn | ) | [inline, static] |
static std::string load_path::find_fcn_file | ( | const std::string & | fcn | ) | [inline, static] |
static std::string load_path::find_file | ( | const std::string & | file | ) | [inline, static] |
static std::string load_path::find_first_of | ( | const string_vector & | files | ) | [inline, static] |
static string_vector load_path::find_matching_dirs | ( | const std::string & | dir | ) | [inline, static] |
static std::string load_path::find_method | ( | const std::string & | class_name, | |
const std::string & | meth | |||
) | [inline, static] |
static std::string load_path::find_method | ( | const std::string & | class_name, | |
const std::string & | meth, | |||
std::string & | dir_name | |||
) | [inline, static] |
static std::string load_path::find_mex_file | ( | const std::string & | fcn | ) | [inline, static] |
static std::string load_path::find_oct_file | ( | const std::string & | fcn | ) | [inline, static] |
static std::string load_path::find_private_fcn | ( | const std::string & | dir, | |
const std::string & | fcn | |||
) | [inline, static] |
static std::string load_path::get_command_line_path | ( | void | ) | [inline, static] |
static void load_path::initialize | ( | bool | set_initial_path = false |
) | [inline, static] |
static std::list<std::string> load_path::methods | ( | const std::string & | class_name | ) | [inline, static] |
static std::list<std::string> load_path::overloads | ( | const std::string & | meth | ) | [inline, static] |
static std::string load_path::path | ( | void | ) | [inline, static] |
static void load_path::prepend | ( | const std::string & | dir, | |
bool | warn = false | |||
) | [inline, static] |
static bool load_path::remove | ( | const std::string & | dir | ) | [inline, static] |
static void load_path::set | ( | const std::string & | p, | |
bool | warn = false | |||
) | [inline, static] |
static void load_path::set_add_hook | ( | hook_fcn_ptr | f | ) | [inline, static] |
static void load_path::set_command_line_path | ( | const std::string & | p | ) | [inline, static] |
static void load_path::set_remove_hook | ( | hook_fcn_ptr | f | ) | [inline, static] |
static std::string load_path::system_path | ( | void | ) | [inline, static] |
static void load_path::update | ( | void | ) | [inline, static] |
dir_info::fcn_file_map_type get_fcn_files | ( | const std::string & | d | ) | [friend] |
string_vector get_file_list | ( | const dir_info::fcn_file_map_type & | lst | ) | [friend] |
void print_fcn_list | ( | std::ostream & | os, | |
const dir_info::fcn_file_map_type & | lst | |||
) | [friend] |
void print_types | ( | std::ostream & | os, | |
int | types | |||
) | [friend] |