GNU Octave  6.2.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
oct-hist.cc File Reference
#include <cstdlib>
#include <cstring>
#include <fstream>
#include <string>
#include "cmd-hist.h"
#include "file-ops.h"
#include "lo-mappers.h"
#include "lo-sysdep.h"
#include "oct-env.h"
#include "oct-time.h"
#include "str-vec.h"
#include "unistd-wrappers.h"
#include "defun.h"
#include "error.h"
#include "errwarn.h"
#include "event-manager.h"
#include "input.h"
#include "oct-hist.h"
#include "ovl.h"
#include "pager.h"
#include "parse.h"
#include "sighandlers.h"
#include "sysdep.h"
#include "interpreter.h"
#include "interpreter-private.h"
#include "unwind-prot.h"
#include "utils.h"
#include "variables.h"
Include dependency graph for oct-hist.cc:

Go to the source code of this file.

Namespaces

 octave
 

Functions

static void octave::edit_history_add_hist (const std::string &line)
 
static char * octave::edit_history_readline (std::fstream &stream)
 
OCTAVE_EXPORT octave_value_list Fedit_history (octave::interpreter &interp, const octave_value_list &args, int)
 
OCTAVE_EXPORT octave_value_list Fhistory (octave::interpreter &interp, const octave_value_list &args, int nargout)
 
OCTAVE_EXPORT octave_value_list Fhistory_control (const octave_value_list &args, int nargout)
 
OCTAVE_EXPORT octave_value_list Fhistory_file (const octave_value_list &args, int nargout)
 
OCTAVE_EXPORT octave_value_list Fhistory_save (const octave_value_list &args, int nargout)
 
OCTAVE_EXPORT octave_value_list Fhistory_size (const octave_value_list &args, int nargout)
 
OCTAVE_EXPORT octave_value_list Fhistory_timestamp_format_string (octave::interpreter &interp, const octave_value_list &args, int nargout)
 
OCTAVE_EXPORT octave_value_list Frun_history (octave::interpreter &interp, const octave_value_list &args, int)
 
static bool octave::get_int_arg (const octave_value &arg, int &val)
 
static std::string octave::mk_tmp_hist_file (const octave_value_list &args, bool insert_curr, const char *warn_for)
 
static void octave::unlink_cleanup (const char *file)
 

Function Documentation

◆ Fedit_history()

OCTAVE_EXPORT octave_value_list Fedit_history ( octave::interpreter interp,
const octave_value_list args,
int   
)

Definition at line 615 of file oct-hist.cc.

References octave::history_system::do_edit_history(), ovl(), and print_usage().

◆ Fhistory()

OCTAVE_EXPORT octave_value_list Fhistory ( octave::interpreter interp,
const octave_value_list args,
int  nargout 
)

Definition at line 669 of file oct-hist.cc.

References octave::history_system::do_history(), and ovl().

Referenced by octave::octave_qscintilla::contextmenu_run().

◆ Fhistory_control()

OCTAVE_EXPORT octave_value_list Fhistory_control ( const octave_value_list args,
int  nargout 
)

◆ Fhistory_file()

OCTAVE_EXPORT octave_value_list Fhistory_file ( const octave_value_list args,
int  nargout 
)

◆ Fhistory_save()

OCTAVE_EXPORT octave_value_list Fhistory_save ( const octave_value_list args,
int  nargout 
)

◆ Fhistory_size()

OCTAVE_EXPORT octave_value_list Fhistory_size ( const octave_value_list args,
int  nargout 
)

◆ Fhistory_timestamp_format_string()

OCTAVE_EXPORT octave_value_list Fhistory_timestamp_format_string ( octave::interpreter interp,
const octave_value_list args,
int  nargout 
)

Definition at line 881 of file oct-hist.cc.

References octave::history_system::timestamp_format_string().

◆ Frun_history()

OCTAVE_EXPORT octave_value_list Frun_history ( octave::interpreter interp,
const octave_value_list args,
int   
)

Definition at line 732 of file oct-hist.cc.

References octave::history_system::do_run_history(), ovl(), and print_usage().