GNU Octave  4.2.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Namespaces | Macros | Typedefs | Functions | Variables
interpreter.h File Reference
#include "octave-config.h"
#include <string>
#include "quit.h"
#include "str-vec.h"
#include "pt-eval.h"
Include dependency graph for interpreter.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  octave::interpreter
 

Namespaces

 octave
 Octave interface to the compression and uncompression libraries.
 

Macros

#define OCTAVE_IGNORE_EXCEPTION(E)
 
#define OCTAVE_SAFE_CALL(F, ARGS)
 

Typedefs

typedef void(* octave_exit_func )(int)
 

Functions

OCTINTERP_API void octave_add_atexit_function (const std::string &fname)
 
OCTINTERP_API bool octave_remove_atexit_function (const std::string &fname)
 
OCTINTERP_API void recover_from_exception (void)
 

Variables

tree_evaluator * octave::current_evaluator
 
OCTINTERP_API octave_exit_func octave_exit
 
OCTINTERP_API bool octave_initialized
 
OCTINTERP_API bool octave_interpreter_ready
 
OCTINTERP_API bool quit_allowed
 
OCTINTERP_API bool quitting_gracefully
 

Macro Definition Documentation

#define OCTAVE_IGNORE_EXCEPTION (   E)
Value:
catch (E) \
{ \
std::cerr << "error: ignoring " #E " while preparing to exit" << std::endl; \
}
OCTINTERP_API void recover_from_exception(void)
Definition: interpreter.cc:200

Definition at line 60 of file interpreter.h.

#define OCTAVE_SAFE_CALL (   F,
  ARGS 
)
Value:
do \
{ \
{ \
octave::unwind_protect frame; \
\
\
\
F ARGS; \
} \
OCTAVE_IGNORE_EXCEPTION (const octave::interrupt_exception&) \
OCTAVE_IGNORE_EXCEPTION (const octave::execution_exception&) \
OCTAVE_IGNORE_EXCEPTION (const std::bad_alloc&) \
} \
while (0)
bool Vdebug_on_error
Definition: error.cc:61
while(ischar(s=fgets(fid))) fputs(stdout
bool Vdebug_on_warning
Definition: error.cc:69
void protect_var(T &var)
try
Definition: sub2ind.cc:266
#define OCTAVE_IGNORE_EXCEPTION(E)
Definition: interpreter.h:60
octave::unwind_protect frame
Definition: graphics.cc:11584
void F(const TSRC *v, TRES *r, octave_idx_type m, octave_idx_type n)
Definition: mx-inlines.cc:719

Definition at line 67 of file interpreter.h.

Referenced by close_figure().

Typedef Documentation

typedef void(* octave_exit_func)(int)

Definition at line 35 of file interpreter.h.

Function Documentation

OCTINTERP_API void octave_add_atexit_function ( const std::string fname)
OCTINTERP_API bool octave_remove_atexit_function ( const std::string fname)
OCTINTERP_API void recover_from_exception ( void  )

Variable Documentation

Definition at line 72 of file interpreter.cc.

OCTINTERP_API bool octave_initialized

Definition at line 82 of file interpreter.cc.

Referenced by octave::user_abort().

OCTINTERP_API bool octave_interpreter_ready

Definition at line 79 of file interpreter.cc.

Referenced by execute_pkg_add_or_del().

OCTINTERP_API bool quit_allowed

Definition at line 75 of file interpreter.cc.

Referenced by octave_oncleanup::~octave_oncleanup().

OCTINTERP_API bool quitting_gracefully