Navigation

Operators and Keywords

Function List:

C++ API

defaults.cc File Reference

#include <cstdlib>
#include <algorithm>
#include <iostream>
#include <string>
#include <sys/types.h>
#include <unistd.h>
#include "dir-ops.h"
#include "oct-env.h"
#include "file-stat.h"
#include "pathsearch.h"
#include "str-vec.h"
#include <defaults.h>
#include "defun.h"
#include "error.h"
#include "file-ops.h"
#include "gripes.h"
#include "help.h"
#include "input.h"
#include "load-path.h"
#include "oct-obj.h"
#include "ov.h"
#include "parse.h"
#include "toplev.h"
#include "unwind-prot.h"
#include "variables.h"
#include <version.h>
Include dependency graph for defaults.cc:

Functions

std::string subst_octave_home (const std::string &s)
void set_exec_path (const std::string &path_arg)
void set_image_path (const std::string &path)
void install_defaults (void)
 DEFUN (EDITOR, args, nargout,"-*- texinfo -*-\n\ @deftypefn {Built-in Function} {@var{val} =} EDITOR ()\n\ @deftypefnx {Built-in Function} {@var{old_val} =} EDITOR (@var{new_val})\n\ Query or set the internal variable that specifies the editor to\n\ use with the @code{edit_history} command. The default value is taken from\n\ the environment variable @w{@env{EDITOR}} when Octave starts. If the\n\ environment variable is not initialized, @w{@env{EDITOR}} will be set to\n\ @code{\"emacs\"}.\n\ @seealso{edit_history}\n\ @end deftypefn")
 DEFUN (EXEC_PATH, args, nargout,"-*- texinfo -*-\n\ @deftypefn {Built-in Function} {@var{val} =} EXEC_PATH ()\n\ @deftypefnx {Built-in Function} {@var{old_val} =} EXEC_PATH (@var{new_val})\n\ Query or set the internal variable that specifies a colon separated\n\ list of directories to append to the shell PATH when executing external\n\ programs. The initial value of is taken from the environment variable\n\ @w{@env{OCTAVE_EXEC_PATH}}, but that value can be overridden by\n\ the command line argument @option{--exec-path PATH}.\n\ @end deftypefn")
 DEFUN (IMAGE_PATH, args, nargout,"-*- texinfo -*-\n\ @deftypefn {Built-in Function} {@var{val} =} IMAGE_PATH ()\n\ @deftypefnx {Built-in Function} {@var{old_val} =} IMAGE_PATH (@var{new_val})\n\ Query or set the internal variable that specifies a colon separated\n\ list of directories in which to search for image files.\n\ @end deftypefn")
 DEFUN (OCTAVE_HOME, args,,"-*- texinfo -*-\n\ @deftypefn {Built-in Function} {} OCTAVE_HOME ()\n\ Return the name of the top-level Octave installation directory.\n\ @end deftypefn")
 DEFUNX ("OCTAVE_VERSION", FOCTAVE_VERSION, args,,"-*- texinfo -*-\n\ @deftypefn {Built-in Function} {} OCTAVE_VERSION ()\n\ Return the version number of Octave, as a string.\n\ @end deftypefn")

Variables

std::string Voctave_home
std::string Vbin_dir
std::string Vinfo_dir
std::string Vdata_dir
std::string Vlibexec_dir
std::string Varch_lib_dir
std::string Vlocal_arch_lib_dir
std::string Vlocal_api_arch_lib_dir
std::string Vlocal_ver_arch_lib_dir
std::string Vlocal_ver_oct_file_dir
std::string Vlocal_api_oct_file_dir
std::string Vlocal_oct_file_dir
std::string Vlocal_ver_fcn_file_dir
std::string Vlocal_api_fcn_file_dir
std::string Vlocal_fcn_file_dir
std::string Voct_file_dir
std::string Vfcn_file_dir
std::string Vimage_dir
std::string VEDITOR
std::string Vlocal_site_defaults_file
std::string Vsite_defaults_file

Function Documentation

DEFUN ( EDITOR  ,
args  ,
nargout   
)
DEFUN ( OCTAVE_HOME  ,
args   
)
DEFUN ( EXEC_PATH  ,
args  ,
nargout   
)
DEFUN ( IMAGE_PATH  ,
args  ,
nargout   
)
DEFUNX ( "OCTAVE_VERSION"  ,
FOCTAVE_VERSION  ,
args   
)
void install_defaults ( void   ) 
void set_exec_path ( const std::string &  path_arg  ) 
void set_image_path ( const std::string &  path  ) 
std::string subst_octave_home ( const std::string &  s  ) 

Variable Documentation

std::string Varch_lib_dir
std::string Vbin_dir
std::string Vdata_dir
std::string VEDITOR
std::string Vfcn_file_dir
std::string Vimage_dir
std::string Vinfo_dir
std::string Vlibexec_dir
std::string Vlocal_arch_lib_dir
std::string Vlocal_fcn_file_dir
std::string Vlocal_oct_file_dir
std::string Voct_file_dir
std::string Voctave_home
std::string Vsite_defaults_file
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines