GNU Octave  8.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
shared-fcns.h File Reference
#include <cctype>
Include dependency graph for shared-fcns.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

static bool absolute_pathname (const std::string &s)
 
static bool is_dir_sep (char c)
 
static std::string octave_getenv (const std::string &name)
 
static std::string prepend_home_dir (const std::string &hd, const std::string &s)
 
static std::string prepend_octave_exec_home (const std::string &s)
 
static OCTAVE_UNUSED std::string prepend_octave_home (const std::string &s)
 
static void set_octave_home (void)
 

Variables

static const char dir_sep_char = '/'
 
static std::string dir_sep_chars = "/"
 
static std::string Voctave_exec_home
 
static std::string Voctave_home
 

Function Documentation

◆ absolute_pathname()

◆ is_dir_sep()

◆ octave_getenv()

static std::string octave_getenv ( const std::string &  name)
static

◆ prepend_home_dir()

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

Definition at line 169 of file shared-fcns.h.

References absolute_pathname(), and dir_sep_char.

Referenced by prepend_octave_exec_home(), and prepend_octave_home().

◆ prepend_octave_exec_home()

static std::string prepend_octave_exec_home ( const std::string &  s)
static

◆ prepend_octave_home()

static OCTAVE_UNUSED std::string prepend_octave_home ( const std::string &  s)
static

Definition at line 189 of file shared-fcns.h.

References prepend_home_dir(), and Voctave_home.

Referenced by initialize(), and make_vars_map().

◆ set_octave_home()

static void set_octave_home ( void  )
static

Variable Documentation

◆ dir_sep_char

const char dir_sep_char ( void  ) = '/'
static

◆ dir_sep_chars

◆ Voctave_exec_home

std::string Voctave_exec_home
static

◆ Voctave_home

std::string Voctave_home
static

Definition at line 107 of file shared-fcns.h.

Referenced by initialize(), make_vars_map(), prepend_octave_home(), and set_octave_home().