GNU Octave 7.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
config Namespace Reference

Functions

std::string arch_lib_dir (void)
 
std::string bin_dir (void)
 
std::string canonical_host_type (void)
 
std::string data_dir (void)
 
std::string dataroot_dir (void)
 
std::string default_pager (void)
 
std::string fcn_file_dir (void)
 
static std::string get_local_site_defaults_file (void)
 
static std::string get_octave_exec_home (void)
 
static std::string get_octave_home (void)
 
static std::string get_site_defaults_file (void)
 
std::string image_dir (void)
 
std::string include_dir (void)
 
std::string info_dir (void)
 
std::string lib_dir (void)
 
std::string libexec_dir (void)
 
std::string local_api_arch_lib_dir (void)
 
std::string local_api_fcn_file_dir (void)
 
std::string local_api_oct_file_dir (void)
 
std::string local_arch_lib_dir (void)
 
std::string local_fcn_file_dir (void)
 
std::string local_oct_file_dir (void)
 
std::string local_site_defaults_file (void)
 
std::string local_startupfile_dir (void)
 
std::string local_ver_arch_lib_dir (void)
 
std::string local_ver_fcn_file_dir (void)
 
std::string local_ver_oct_file_dir (void)
 
std::string man1_dir (void)
 
std::string man1_ext (void)
 
std::string man_dir (void)
 
std::string oct_data_dir (void)
 
std::string oct_doc_dir (void)
 
std::string oct_etc_dir (void)
 
std::string oct_file_dir (void)
 
std::string oct_fonts_dir (void)
 
std::string oct_include_dir (void)
 
std::string oct_lib_dir (void)
 
std::string oct_locale_dir (void)
 
std::string oct_tests_dir (void)
 
std::string octave_exec_home (void)
 
std::string octave_home (void)
 
static std::string prepend_home_dir (const std::string &hd, const std::string &s)
 
std::string prepend_octave_exec_home (const std::string &s)
 
std::string prepend_octave_home (const std::string &s)
 
std::string release (void)
 
std::string site_defaults_file (void)
 
std::string startupfile_dir (void)
 

Function Documentation

◆ arch_lib_dir()

OCTINTERP_API std::string config::arch_lib_dir ( void  )

◆ bin_dir()

OCTINTERP_API std::string config::bin_dir ( void  )

Definition at line 171 of file defaults.cc.

References OCTAVE_BINDIR, and prepend_octave_exec_home().

Referenced by F__octave_config_info__(), and environment::init_exec_path().

◆ canonical_host_type()

OCTINTERP_API std::string config::canonical_host_type ( void  )

Definition at line 135 of file defaults.cc.

Referenced by F__octave_config_info__().

◆ data_dir()

OCTINTERP_API std::string config::data_dir ( void  )

◆ dataroot_dir()

OCTINTERP_API std::string config::dataroot_dir ( void  )

Definition at line 187 of file defaults.cc.

References prepend_octave_home().

Referenced by F__octave_config_info__().

◆ default_pager()

OCTINTERP_API std::string config::default_pager ( void  )

Definition at line 150 of file defaults.cc.

Referenced by default_pager(), and F__octave_config_info__().

◆ fcn_file_dir()

OCTINTERP_API std::string config::fcn_file_dir ( void  )

◆ get_local_site_defaults_file()

static std::string config::get_local_site_defaults_file ( void  )
static

Definition at line 111 of file defaults.cc.

References local_startupfile_dir().

Referenced by local_site_defaults_file().

◆ get_octave_exec_home()

static std::string config::get_octave_exec_home ( void  )
static

Definition at line 89 of file defaults.cc.

References OCTAVE_EXEC_PREFIX, and OCTAVE_PREFIX.

Referenced by octave_exec_home().

◆ get_octave_home()

static std::string config::get_octave_home ( void  )
static

Definition at line 77 of file defaults.cc.

References OCTAVE_PREFIX.

Referenced by octave_home().

◆ get_site_defaults_file()

static std::string config::get_site_defaults_file ( void  )
static

Definition at line 118 of file defaults.cc.

References startupfile_dir().

Referenced by site_defaults_file().

◆ image_dir()

OCTINTERP_API std::string config::image_dir ( void  )

Definition at line 410 of file defaults.cc.

References prepend_octave_home().

Referenced by F__octave_config_info__(), and environment::init_image_path().

◆ include_dir()

OCTINTERP_API std::string config::include_dir ( void  )

Definition at line 195 of file defaults.cc.

References prepend_octave_home().

Referenced by F__octave_config_info__().

◆ info_dir()

OCTINTERP_API std::string config::info_dir ( void  )

Definition at line 227 of file defaults.cc.

References prepend_octave_exec_home().

Referenced by F__octave_config_info__().

◆ lib_dir()

OCTINTERP_API std::string config::lib_dir ( void  )

Definition at line 203 of file defaults.cc.

References prepend_octave_exec_home().

Referenced by F__octave_config_info__().

◆ libexec_dir()

OCTINTERP_API std::string config::libexec_dir ( void  )

Definition at line 211 of file defaults.cc.

References prepend_octave_exec_home().

Referenced by F__octave_config_info__().

◆ local_api_arch_lib_dir()

OCTINTERP_API std::string config::local_api_arch_lib_dir ( void  )

Definition at line 243 of file defaults.cc.

References prepend_octave_exec_home().

Referenced by F__octave_config_info__(), and environment::init_exec_path().

◆ local_api_fcn_file_dir()

OCTINTERP_API std::string config::local_api_fcn_file_dir ( void  )

Definition at line 299 of file defaults.cc.

References prepend_octave_home().

Referenced by F__octave_config_info__(), and load_path::initialize().

◆ local_api_oct_file_dir()

OCTINTERP_API std::string config::local_api_oct_file_dir ( void  )

Definition at line 267 of file defaults.cc.

References prepend_octave_exec_home().

Referenced by F__octave_config_info__(), and load_path::initialize().

◆ local_arch_lib_dir()

OCTINTERP_API std::string config::local_arch_lib_dir ( void  )

Definition at line 251 of file defaults.cc.

References prepend_octave_exec_home().

Referenced by F__octave_config_info__(), and environment::init_exec_path().

◆ local_fcn_file_dir()

OCTINTERP_API std::string config::local_fcn_file_dir ( void  )

Definition at line 307 of file defaults.cc.

References prepend_octave_home().

Referenced by F__octave_config_info__(), and load_path::initialize().

◆ local_oct_file_dir()

OCTINTERP_API std::string config::local_oct_file_dir ( void  )

Definition at line 275 of file defaults.cc.

References prepend_octave_exec_home().

Referenced by F__octave_config_info__(), and load_path::initialize().

◆ local_site_defaults_file()

OCTINTERP_API std::string config::local_site_defaults_file ( void  )

Definition at line 434 of file defaults.cc.

References get_local_site_defaults_file().

Referenced by interpreter::execute_startup_files().

◆ local_startupfile_dir()

OCTINTERP_API std::string config::local_startupfile_dir ( void  )

Definition at line 418 of file defaults.cc.

References prepend_octave_home().

Referenced by F__octave_config_info__(), and get_local_site_defaults_file().

◆ local_ver_arch_lib_dir()

OCTINTERP_API std::string config::local_ver_arch_lib_dir ( void  )

Definition at line 235 of file defaults.cc.

References prepend_octave_exec_home().

Referenced by F__octave_config_info__(), and environment::init_exec_path().

◆ local_ver_fcn_file_dir()

OCTINTERP_API std::string config::local_ver_fcn_file_dir ( void  )

Definition at line 291 of file defaults.cc.

References prepend_octave_home().

Referenced by F__octave_config_info__(), and load_path::initialize().

◆ local_ver_oct_file_dir()

OCTINTERP_API std::string config::local_ver_oct_file_dir ( void  )

Definition at line 259 of file defaults.cc.

References prepend_octave_exec_home().

Referenced by F__octave_config_info__(), and load_path::initialize().

◆ man1_dir()

OCTINTERP_API std::string config::man1_dir ( void  )

Definition at line 395 of file defaults.cc.

References prepend_octave_home().

Referenced by F__octave_config_info__().

◆ man1_ext()

OCTINTERP_API std::string config::man1_ext ( void  )

Definition at line 403 of file defaults.cc.

Referenced by F__octave_config_info__().

◆ man_dir()

OCTINTERP_API std::string config::man_dir ( void  )

Definition at line 387 of file defaults.cc.

References prepend_octave_home().

Referenced by F__octave_config_info__().

◆ oct_data_dir()

OCTINTERP_API std::string config::oct_data_dir ( void  )

Definition at line 323 of file defaults.cc.

References prepend_octave_home().

Referenced by F__octave_config_info__(), and load_path::initialize().

◆ oct_doc_dir()

OCTINTERP_API std::string config::oct_doc_dir ( void  )

Definition at line 331 of file defaults.cc.

References prepend_octave_home().

Referenced by octave::documentation::documentation(), and F__octave_config_info__().

◆ oct_etc_dir()

OCTINTERP_API std::string config::oct_etc_dir ( void  )

Definition at line 339 of file defaults.cc.

References prepend_octave_home().

Referenced by octave::release_notes::release_notes(), and F__octave_config_info__().

◆ oct_file_dir()

OCTINTERP_API std::string config::oct_file_dir ( void  )

◆ oct_fonts_dir()

OCTINTERP_API std::string config::oct_fonts_dir ( void  )

Definition at line 347 of file defaults.cc.

References prepend_octave_home().

Referenced by octave::ft_manager::do_get_font(), and F__octave_config_info__().

◆ oct_include_dir()

OCTINTERP_API std::string config::oct_include_dir ( void  )

Definition at line 355 of file defaults.cc.

References prepend_octave_home().

Referenced by F__octave_config_info__().

◆ oct_lib_dir()

OCTINTERP_API std::string config::oct_lib_dir ( void  )

Definition at line 363 of file defaults.cc.

References prepend_octave_exec_home().

Referenced by F__octave_config_info__().

◆ oct_locale_dir()

OCTINTERP_API std::string config::oct_locale_dir ( void  )

Definition at line 371 of file defaults.cc.

References prepend_octave_home().

Referenced by octave::resource_manager::get_gui_translation_dir().

◆ oct_tests_dir()

OCTINTERP_API std::string config::oct_tests_dir ( void  )

Definition at line 379 of file defaults.cc.

References prepend_octave_home().

Referenced by F__octave_config_info__().

◆ octave_exec_home()

◆ octave_home()

OCTINTERP_API std::string config::octave_home ( void  )

Definition at line 157 of file defaults.cc.

References get_octave_home().

Referenced by FOCTAVE_HOME(), and prepend_octave_home().

◆ prepend_home_dir()

static std::string config::prepend_home_dir ( const std::string &  hd,
const std::string &  s 
)
static

Definition at line 62 of file defaults.cc.

References absolute_pathname(), and dir_sep_char.

Referenced by prepend_octave_exec_home(), and prepend_octave_home().

◆ prepend_octave_exec_home()

OCTINTERP_API std::string config::prepend_octave_exec_home ( const std::string &  s)

◆ prepend_octave_home()

◆ release()

OCTINTERP_API std::string config::release ( void  )

◆ site_defaults_file()

OCTINTERP_API std::string config::site_defaults_file ( void  )

Definition at line 442 of file defaults.cc.

References get_site_defaults_file().

Referenced by interpreter::execute_startup_files().

◆ startupfile_dir()

OCTINTERP_API std::string config::startupfile_dir ( void  )

Definition at line 426 of file defaults.cc.

References prepend_octave_home().

Referenced by F__octave_config_info__(), and get_site_defaults_file().