GNU Octave  6.2.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
octave::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 octave::config::arch_lib_dir ( void  )

◆ bin_dir()

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

◆ canonical_host_type()

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

Definition at line 135 of file defaults.cc.

References OCTAVE_CANONICAL_HOST_TYPE.

Referenced by F__octave_config_info__().

◆ data_dir()

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

Definition at line 179 of file defaults.cc.

References OCTAVE_DATADIR, and prepend_octave_home().

Referenced by F__octave_config_info__().

◆ dataroot_dir()

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

Definition at line 187 of file defaults.cc.

References OCTAVE_DATAROOTDIR, and prepend_octave_home().

Referenced by F__octave_config_info__().

◆ default_pager()

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

Definition at line 150 of file defaults.cc.

References OCTAVE_DEFAULT_PAGER.

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

◆ fcn_file_dir()

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

◆ get_local_site_defaults_file()

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

Definition at line 111 of file defaults.cc.

References octave::sys::env::getenv(), and local_startupfile_dir().

Referenced by local_site_defaults_file().

◆ get_octave_exec_home()

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

Definition at line 89 of file defaults.cc.

References octave::sys::env::getenv(), OCTAVE_EXEC_PREFIX, and OCTAVE_PREFIX.

Referenced by octave_exec_home().

◆ get_octave_home()

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

Definition at line 77 of file defaults.cc.

References octave::sys::env::getenv(), and OCTAVE_PREFIX.

Referenced by octave_home().

◆ get_site_defaults_file()

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

Definition at line 118 of file defaults.cc.

References octave::sys::env::getenv(), and startupfile_dir().

Referenced by site_defaults_file().

◆ image_dir()

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

◆ include_dir()

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

Definition at line 195 of file defaults.cc.

References OCTAVE_INCLUDEDIR, and prepend_octave_home().

Referenced by F__octave_config_info__().

◆ info_dir()

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

Definition at line 227 of file defaults.cc.

References OCTAVE_INFODIR, and prepend_octave_exec_home().

Referenced by F__octave_config_info__().

◆ lib_dir()

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

Definition at line 203 of file defaults.cc.

References OCTAVE_LIBDIR, and prepend_octave_exec_home().

Referenced by F__octave_config_info__().

◆ libexec_dir()

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

Definition at line 211 of file defaults.cc.

References OCTAVE_LIBEXECDIR, and prepend_octave_exec_home().

Referenced by F__octave_config_info__().

◆ local_api_arch_lib_dir()

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

◆ local_api_fcn_file_dir()

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

◆ local_api_oct_file_dir()

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

◆ local_arch_lib_dir()

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

◆ local_fcn_file_dir()

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

◆ local_oct_file_dir()

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

◆ local_site_defaults_file()

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

Definition at line 434 of file defaults.cc.

References get_local_site_defaults_file().

Referenced by octave::interpreter::execute_startup_files().

◆ local_startupfile_dir()

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

◆ local_ver_arch_lib_dir()

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

◆ local_ver_fcn_file_dir()

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

◆ local_ver_oct_file_dir()

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

◆ man1_dir()

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

Definition at line 395 of file defaults.cc.

References OCTAVE_MAN1DIR, and prepend_octave_home().

Referenced by F__octave_config_info__().

◆ man1_ext()

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

Definition at line 403 of file defaults.cc.

References OCTAVE_MAN1EXT.

Referenced by F__octave_config_info__().

◆ man_dir()

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

Definition at line 387 of file defaults.cc.

References OCTAVE_MANDIR, and prepend_octave_home().

Referenced by F__octave_config_info__().

◆ oct_data_dir()

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

Definition at line 323 of file defaults.cc.

References OCTAVE_OCTDATADIR, and prepend_octave_home().

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

◆ oct_doc_dir()

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

◆ oct_etc_dir()

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

◆ oct_file_dir()

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

◆ oct_fonts_dir()

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

◆ oct_include_dir()

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

Definition at line 355 of file defaults.cc.

References OCTAVE_OCTINCLUDEDIR, and prepend_octave_home().

Referenced by F__octave_config_info__().

◆ oct_lib_dir()

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

Definition at line 363 of file defaults.cc.

References OCTAVE_OCTLIBDIR, and prepend_octave_exec_home().

Referenced by F__octave_config_info__().

◆ oct_locale_dir()

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

◆ oct_tests_dir()

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

Definition at line 379 of file defaults.cc.

References OCTAVE_OCTTESTSDIR, and prepend_octave_home().

Referenced by F__octave_config_info__().

◆ octave_exec_home()

◆ octave_home()

OCTINTERP_API std::string octave::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 octave::config::prepend_home_dir ( const std::string &  hd,
const std::string &  s 
)
static

◆ prepend_octave_exec_home()

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

◆ prepend_octave_home()

◆ release()

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

◆ site_defaults_file()

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

Definition at line 442 of file defaults.cc.

References get_site_defaults_file().

Referenced by octave::interpreter::execute_startup_files().

◆ startupfile_dir()

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

Definition at line 426 of file defaults.cc.

References OCTAVE_STARTUPFILEDIR, and prepend_octave_home().

Referenced by F__octave_config_info__(), and get_site_defaults_file().