#include <algorithm>
#include "dir-ops.h"
#include "file-ops.h"
#include "file-stat.h"
#include "oct-env.h"
#include "pathsearch.h"
#include "defaults.h"
#include "defun.h"
#include "input.h"
#include "interpreter-private.h"
#include "interpreter.h"
#include "load-path.h"
#include "ov-usr-fcn.h"
#include "pager.h"
#include "parse.h"
#include "sysdep.h"
#include "unwind-prot.h"
#include "utils.h"
Go to the source code of this file.
Namespaces | |
octave | |
Functions | |
OCTAVE_EXPORT octave_value_list | F__dump_load_path__ (octave::interpreter &interp, const octave_value_list &, int) |
OCTAVE_EXPORT octave_value_list | F__pathorig__ (octave::interpreter &interp, const octave_value_list &, int) |
OCTAVE_EXPORT octave_value_list | Faddpath (octave::interpreter &interp, const octave_value_list &args, int nargout) |
OCTAVE_EXPORT octave_value_list | Fcommand_line_path (octave::interpreter &interp, const octave_value_list &args, int) |
OCTAVE_EXPORT octave_value_list | Fgenpath (const octave_value_list &args, int) |
static std::string | octave::find_private_file (const std::string &fname) |
OCTAVE_EXPORT octave_value_list | Fpath (octave::interpreter &interp, const octave_value_list &args, int nargout) |
OCTAVE_EXPORT octave_value_list | Frehash (const octave_value_list &, int) |
OCTAVE_EXPORT octave_value_list | Frestoredefaultpath (octave::interpreter &interp, const octave_value_list &args, int) |
OCTAVE_EXPORT octave_value_list | Frmpath (octave::interpreter &interp, const octave_value_list &args, int nargout) |
std::string | octave::genpath (const std::string &dirname, const string_vector &skip) |
load_path::dir_info::fcn_file_map_type | octave::get_fcn_files (const std::string &d) |
static bool | octave::in_path_list (const std::string &path_list, const std::string &path) |
static void | octave::maybe_add_path_elts (std::string &path, const std::string &dir) |
static std::string | octave::maybe_canonicalize (const std::string &dir_arg) |
static void | octave::rehash_internal (void) |
static std::list< std::string > | octave::split_path (const std::string &p) |
static std::string | octave::strip_trailing_separators (const std::string &dir_arg) |
OCTAVE_EXPORT octave_value_list F__dump_load_path__ | ( | octave::interpreter & | interp, |
const octave_value_list & | , | ||
int | |||
) |
Definition at line 2689 of file load-path.cc.
References octave::load_path::display(), octave_stdout, and ovl().
OCTAVE_EXPORT octave_value_list F__pathorig__ | ( | octave::interpreter & | interp, |
const octave_value_list & | , | ||
int | |||
) |
Definition at line 2424 of file load-path.cc.
References ovl(), and octave::load_path::system_path().
OCTAVE_EXPORT octave_value_list Faddpath | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | nargout | ||
) |
Definition at line 2516 of file load-path.cc.
References octave::load_path::append(), octave::sys::file_ops::dir_sep_chars(), error(), octave_value::is_string(), octave_value::isnumeric(), octave_value_list::length(), octave::load_path::path(), octave::load_path::prepend(), print_usage(), r, octave::rehash_internal(), retval, octave_value_list::reverse(), octave::split_path(), octave_value::string_value(), warning_with_id(), and octave_value::xint_value().
Referenced by octave::main_window::modify_path().
OCTAVE_EXPORT octave_value_list Fcommand_line_path | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | |||
) |
Definition at line 2387 of file load-path.cc.
References octave::load_path::get_command_line_path(), ovl(), and print_usage().
OCTAVE_EXPORT octave_value_list Fgenpath | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 2340 of file load-path.cc.
References octave::sys::file_ops::dirname(), octave::genpath(), print_usage(), and retval.
Referenced by octave::main_window::modify_path().
OCTAVE_EXPORT octave_value_list Fpath | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | nargout | ||
) |
Definition at line 2450 of file load-path.cc.
References octave::load_path::dirs(), string_vector::list_in_columns(), octave_stdout, ovl(), path, octave::load_path::path(), octave::directory_path::path_sep_str(), octave::rehash_internal(), and octave::load_path::set().
OCTAVE_EXPORT octave_value_list Frehash | ( | const octave_value_list & | , |
int | |||
) |
Definition at line 2374 of file load-path.cc.
References ovl(), and octave::rehash_internal().
OCTAVE_EXPORT octave_value_list Frestoredefaultpath | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | |||
) |
Definition at line 2403 of file load-path.cc.
References octave::load_path::initialize(), ovl(), print_usage(), and octave::load_path::system_path().
OCTAVE_EXPORT octave_value_list Frmpath | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | nargout | ||
) |
Definition at line 2643 of file load-path.cc.
References octave::load_path::path(), print_usage(), octave::rehash_internal(), octave::load_path::remove(), retval, octave::split_path(), and warning().
Referenced by octave::main_window::modify_path().