GNU Octave  9.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
history_system Class Reference

#include "oct-hist.h"

Public Member Functions

 history_system (interpreter &interp)
 
 ~history_system ()=default
 
void do_edit_history (const octave_value_list &args=octave_value_list())
 
string_vector do_history (const octave_value_list &args=octave_value_list(), int nargout=0)
 
void do_run_history (const octave_value_list &args=octave_value_list())
 
void initialize (bool read_history_file=false)
 
bool input_from_tmp_file () const
 
bool input_from_tmp_file (bool flag)
 
octave_value input_from_tmp_file (const octave_value_list &args, int nargout)
 
std::string timestamp_format_string () const
 
octave_value timestamp_format_string (const octave_value_list &args, int nargout)
 
std::string timestamp_format_string (const std::string &file)
 
void write_timestamp ()
 

Detailed Description

Definition at line 41 of file oct-hist.h.

Constructor & Destructor Documentation

◆ history_system()

history_system::history_system ( interpreter interp)

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

◆ ~history_system()

history_system::~history_system ( )
default

Member Function Documentation

◆ do_edit_history()

void history_system::do_edit_history ( const octave_value_list args = octave_value_list ())

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

Referenced by octave::Fedit_history().

◆ do_history()

◆ do_run_history()

void history_system::do_run_history ( const octave_value_list args = octave_value_list ())

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

Referenced by octave::Frun_history().

◆ initialize()

void history_system::initialize ( bool  read_history_file = false)

◆ input_from_tmp_file() [1/3]

bool history_system::input_from_tmp_file ( ) const
inline

Definition at line 58 of file oct-hist.h.

◆ input_from_tmp_file() [2/3]

bool history_system::input_from_tmp_file ( bool  flag)
inline

Definition at line 63 of file oct-hist.h.

◆ input_from_tmp_file() [3/3]

octave_value history_system::input_from_tmp_file ( const octave_value_list args,
int  nargout 
)

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

References octave::set_internal_variable().

Referenced by base_lexer::input_from_tmp_history_file().

◆ timestamp_format_string() [1/3]

std::string history_system::timestamp_format_string ( ) const
inline

Definition at line 71 of file oct-hist.h.

◆ timestamp_format_string() [2/3]

octave_value history_system::timestamp_format_string ( const octave_value_list args,
int  nargout 
)

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

References octave::set_internal_variable().

Referenced by octave::Fhistory_timestamp_format_string().

◆ timestamp_format_string() [3/3]

std::string history_system::timestamp_format_string ( const std::string &  file)
inline

Definition at line 76 of file oct-hist.h.

◆ write_timestamp()

void history_system::write_timestamp ( )

The documentation for this class was generated from the following files: