#include "environment.h"
Public Member Functions | |
environment (void) | |
octave_value | editor (const octave_value_list &args, int nargout) |
std::string | editor (const std::string &ed) |
std::string | editor (void) const |
octave_value | exec_path (const octave_value_list &args, int nargout) |
std::string | exec_path (const std::string &path) |
std::string | exec_path (void) const |
octave_value | image_path (const octave_value_list &args, int nargout) |
std::string | image_path (const std::string &path) |
std::string | image_path (void) const |
Private Member Functions | |
std::string | set (std::string &var, const std::string &new_val) |
Static Private Member Functions | |
static std::string | init_editor (void) |
static std::string | init_exec_path (void) |
static std::string | init_image_path (void) |
Private Attributes | |
std::string | m_editor |
std::string | m_exec_path |
std::string | m_image_path |
Definition at line 38 of file environment.h.
|
inline |
Definition at line 42 of file environment.h.
octave_value environment::editor | ( | const octave_value_list & | args, |
int | nargout | ||
) |
Definition at line 74 of file environment.cc.
References m_editor, and set_internal_variable().
|
inline |
Definition at line 52 of file environment.h.
|
inline |
Definition at line 50 of file environment.h.
octave_value environment::exec_path | ( | const octave_value_list & | args, |
int | nargout | ||
) |
Definition at line 81 of file environment.cc.
References append_to_shell_path(), m_exec_path, and set_internal_variable().
Referenced by interpreter::interpreter().
std::string environment::exec_path | ( | const std::string & | path | ) |
Definition at line 91 of file environment.cc.
References append_to_shell_path(), m_exec_path, and set().
|
inline |
Definition at line 59 of file environment.h.
Referenced by init_exec_path().
octave_value environment::image_path | ( | const octave_value_list & | args, |
int | nargout | ||
) |
Definition at line 101 of file environment.cc.
References m_image_path, and set_internal_variable().
Referenced by interpreter::interpreter().
|
inline |
Definition at line 67 of file environment.h.
|
inline |
Definition at line 65 of file environment.h.
Referenced by init_image_path().
|
staticprivate |
Definition at line 107 of file environment.cc.
|
staticprivate |
Definition at line 119 of file environment.cc.
References append_to_shell_path(), arch_lib_dir(), bin_dir(), exec_path(), local_api_arch_lib_dir(), local_arch_lib_dir(), local_ver_arch_lib_dir(), and directory_path::path_sep_str().
|
staticprivate |
Definition at line 137 of file environment.cc.
References genpath(), image_dir(), image_path(), and directory_path::path_sep_str().
|
inlineprivate |
Definition at line 86 of file environment.h.
Referenced by exec_path().
|
private |
Definition at line 74 of file environment.h.
Referenced by editor().
|
private |
Definition at line 76 of file environment.h.
Referenced by exec_path().
|
private |
Definition at line 78 of file environment.h.
Referenced by image_path().