|
GNU Octave
4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include <string>#include <cstring>#include <map>#include <list>#include <algorithm>#include <iostream>#include <fstream>#include <vector>#include <cstdlib>#include <unistd.h>#include <sys/types.h>#include "shared-fcns.h"
Go to the source code of this file.
Macros | |
| #define | OCTAVE_PREFIX "/usr/local" |
| #define | OCTAVE_VERSION "4.0.0" |
| #define | WEXITSTATUS(stat_val) (static_cast<unsigned> (stat_val) >> 8) |
| #define | WIFEXITED(stat_val) (((stat_val) & 255) == 0) |
Functions | |
| static std::string | basename (const std::string &s, bool strip_path=false) |
| bool | ends_with (const std::string &s, const std::string &suffix) |
| static std::string | get_line (FILE *fp) |
| static std::string | get_variable (const char *name, const std::string &defval) |
| static void | initialize (void) |
| bool | is_true (const std::string &s) |
| int | main (int argc, char **argv) |
| static std::string | quote_path (const std::string &s) |
| static int | run_command (const std::string &cmd) |
| bool | starts_with (const std::string &s, const std::string &prefix) |
Variables | |
| static bool | debug = false |
| static std::string | help_msg |
| static std::string | usage_msg = "usage: mkoctfile [options] file ..." |
| static std::map< std::string, std::string > | vars |
| static std::string | version_msg = "mkoctfile, version " "4.0.0" |
| #define OCTAVE_PREFIX "/usr/local" |
Definition at line 63 of file mkoctfile.cc.
Referenced by initialize().
| #define OCTAVE_VERSION "4.0.0" |
Definition at line 59 of file mkoctfile.cc.
| #define WEXITSTATUS | ( | stat_val | ) | (static_cast<unsigned> (stat_val) >> 8) |
Definition at line 53 of file mkoctfile.cc.
Referenced by main(), octave_wexitstatus(), and run_command().
| #define WIFEXITED | ( | stat_val | ) | (((stat_val) & 255) == 0) |
Definition at line 49 of file mkoctfile.cc.
Referenced by main(), octave_wifexited(), and run_command().
|
static |
|
inline |
Definition at line 352 of file mkoctfile.cc.
Referenced by main().
|
static |
Definition at line 69 of file mkoctfile.cc.
Referenced by main().
|
static |
Definition at line 92 of file mkoctfile.cc.
Referenced by initialize().
|
static |
Definition at line 111 of file mkoctfile.cc.
References get_octave_home(), get_variable(), OCTAVE_PREFIX, quote_path(), and subst_octave_home().
Referenced by load_path::dir_info::dir_info(), jit_index_operation::initialize(), ODE::integrate(), jit_typeinfo::join(), and main().
| bool is_true | ( | const std::string & | s | ) |
Definition at line 373 of file mkoctfile.cc.
Referenced by Fcellstr(), Fmkstemp(), and main().
Definition at line 379 of file mkoctfile.cc.
References arg(), basename(), debug, ends_with(), f, get_line(), help_msg, initialize(), is_true(), link(), quote_path(), run_command(), starts_with(), usage_msg, and version_msg.
|
static |
Definition at line 102 of file mkoctfile.cc.
Referenced by initialize(), and main().
|
static |
Definition at line 359 of file mkoctfile.cc.
References debug, WEXITSTATUS, and WIFEXITED.
Referenced by main().
|
inline |
Definition at line 346 of file mkoctfile.cc.
Referenced by main().
|
static |
Definition at line 227 of file mkoctfile.cc.
Referenced by main_window::execute_debug_callback(), main(), and run_command().
|
static |
Definition at line 228 of file mkoctfile.cc.
Referenced by main().
|
static |
Definition at line 225 of file mkoctfile.cc.
Referenced by main().
|
static |
Definition at line 56 of file mkoctfile.cc.
Referenced by dump_octave_core(), Ffunctions(), octave_fcn_handle::save_ascii(), octave_fcn_handle::save_binary(), octave_fcn_handle::save_hdf5(), and save_vars().
|
static |
Definition at line 226 of file mkoctfile.cc.
Referenced by main().
1.8.8