GNU Octave  4.2.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions | Variables File Reference
#include <algorithm>
#include "dir-ops.h"
#include "file-ops.h"
#include "file-stat.h"
#include "oct-env.h"
#include "pathsearch.h"
#include "singleton-cleanup.h"
#include "defaults.h"
#include "defun.h"
#include "input.h"
#include "interpreter.h"
#include "load-path.h"
#include "ov-usr-fcn.h"
#include "pager.h"
#include "parse.h"
#include "unwind-prot.h"
#include "utils.h"
Include dependency graph for

Go to the source code of this file.


static void execute_pkg_add_or_del (const std::string &dir, const std::string &script_file)
OCTAVE_EXPORT octave_value_list F__pathorig__ (const octave_value_list &, int)
OCTAVE_EXPORT octave_value_list Fgenpath (const octave_value_list &args, int) the resulting path will exclude directories with those names.nd deftypefn */)
std::string find_private_file (const std::string &fname)
OCTAVE_EXPORT octave_value_list Fpath (const octave_value_list &args, int nargout) return the current load path.If ar
OCTAVE_EXPORT octave_value_list Frehash (const octave_value_list &, int) addpath
std::string genpath (const std::string &dirname, const string_vector &skip)
load_path::dir_info::fcn_file_map_type get_fcn_files (const std::string &d)
string_vector get_file_list (const load_path::dir_info::fcn_file_map_type &lst)
static bool in_path_list (const std::string &path_list, const std::string &path)
static void maybe_add_path_elts (std::string &path, const std::string &dir)
octave_value_list pathsep end
deftypefn *return 
ovl (load_path::system_path())
void print_fcn_list (std::ostream &os, const load_path::dir_info::fcn_file_map_type &lst)
void print_types (std::ostream &os, int types)
static void rehash_internal (void)
static std::list< std::stringsplit_path (const std::string &p)
static std::string strip_trailing_separators (const std::string &dir_arg)


is greater than concatenate the arguments
OCTAVE_EXPORT octave_value_list genpath
OCTAVE_EXPORT octave_value_list pathdef
OCTAVE_EXPORT octave_value_list rmpath
OCTAVE_EXPORT octave_value_list savepath
is greater than zero

Function Documentation

static void execute_pkg_add_or_del ( const std::string dir,
const std::string script_file 
OCTAVE_EXPORT octave_value_list F__pathorig__ ( const octave_value_list ,

Definition at line 2315 of file

References load_path::initialize(), ovl(), and load_path::system_path().

Referenced by install_load_path_fcns().

OCTAVE_EXPORT octave_value_list Fgenpath ( const octave_value_list args,

Definition at line 2252 of file

References genpath, nargin, print_usage(), retval, and string.

Referenced by install_load_path_fcns().

std::string find_private_file ( const std::string fname)
OCTAVE_EXPORT octave_value_list Fpath ( const octave_value_list args,
int  nargout 

Definition at line 2339 of file

Referenced by install_load_path_fcns().

OCTAVE_EXPORT octave_value_list Frehash ( const octave_value_list ,

Referenced by install_load_path_fcns().

std::string genpath ( const std::string dirname,
const string_vector skip 
string_vector get_file_list ( const load_path::dir_info::fcn_file_map_type lst)

Definition at line 1781 of file

References load_path::MEX_FILE, nm, load_path::OCT_FILE, p, retval, and string.

static bool in_path_list ( const std::string path_list,
const std::string path 

Definition at line 1855 of file

References octave::directory_path::path_sep_char().

Referenced by load_path::loader::add_to_fcn_map().

static void maybe_add_path_elts ( std::string path,
const std::string dir 

Definition at line 570 of file

References genpath, octave::directory_path::path_sep_str(), and string.

Referenced by load_path::do_initialize().

OCTAVE_EXPORT octave_value_list pathsep end deftypefn* return ovl ( load_path::  system_path())

Referenced by F__pathorig__().

void print_fcn_list ( std::ostream &  os,
const load_path::dir_info::fcn_file_map_type lst 

Definition at line 1765 of file

References p, and load_path::print_types.

void print_types ( std::ostream &  os,
int  types 

Definition at line 1737 of file

References load_path::M_FILE, load_path::MEX_FILE, and load_path::OCT_FILE.

static void rehash_internal ( void  )

Definition at line 2283 of file

References octave::sys::time::stamp(), load_path::update(), and Vlast_prompt_time.

static std::list<std::string> split_path ( const std::string p)
static std::string strip_trailing_separators ( const std::string dir_arg)

Definition at line 734 of file

References octave::sys::file_ops::is_dir_sep(), k, and string.

Referenced by load_path::do_add(), and load_path::do_remove().

Variable Documentation

is greater than concatenate the arguments

Definition at line 2339 of file

OCTAVE_EXPORT octave_value_list genpath

Definition at line 2298 of file

Referenced by Fgenpath(), genpath(), maybe_add_path_elts(), and set_image_path().

OCTAVE_EXPORT octave_value_list pathdef

Definition at line 2298 of file

OCTAVE_EXPORT octave_value_list rmpath

Definition at line 2298 of file

OCTAVE_EXPORT octave_value_list savepath

Definition at line 2298 of file

is greater than zero