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
Public Member Functions | Private Member Functions | Private Attributes | List of all members
octave::interpreter Class Reference

#include "interpreter.h"

Collaboration diagram for octave::interpreter:
Collaboration graph
[legend]

Public Member Functions

 interpreter (application *app_context=0, bool embedded=false)
 
 ~interpreter (void)
 
int execute (void)
 
void execute_command_line_file (const std::string &fname)
 
int execute_eval_option_code (const std::string &code)
 
bool interactive (void) const
 
void interactive (bool arg)
 

Private Member Functions

 interpreter (const interpreter &)
 
void clean_up_and_exit (int status, bool safe_to_return=false)
 
int main_loop (void)
 
interpreteroperator= (const interpreter &)
 

Private Attributes

applicationm_app_context
 
bool m_embedded
 
tree_evaluatorm_evaluator
 
bool m_interactive
 
bool m_quitting_gracefully
 

Detailed Description

Definition at line 99 of file interpreter.h.

Constructor & Destructor Documentation

octave::interpreter::interpreter ( application app_context = 0,
bool  embedded = false 
)
octave::interpreter::~interpreter ( void  )
octave::interpreter::interpreter ( const interpreter )
private

Member Function Documentation

void octave::interpreter::clean_up_and_exit ( int  status,
bool  safe_to_return = false 
)
private
int octave::interpreter::execute ( void  )
void octave::interpreter::execute_command_line_file ( const std::string fname)
int octave::interpreter::execute_eval_option_code ( const std::string code)
bool octave::interpreter::interactive ( void  ) const
inline

Definition at line 113 of file interpreter.h.

void octave::interpreter::interactive ( bool  arg)
inline

Definition at line 114 of file interpreter.h.

References arg.

int octave::interpreter::main_loop ( void  )
private
interpreter& octave::interpreter::operator= ( const interpreter )
private

Member Data Documentation

application* octave::interpreter::m_app_context
private

Definition at line 128 of file interpreter.h.

bool octave::interpreter::m_embedded
private

Definition at line 132 of file interpreter.h.

tree_evaluator* octave::interpreter::m_evaluator
private

Definition at line 130 of file interpreter.h.

bool octave::interpreter::m_interactive
private

Definition at line 135 of file interpreter.h.

bool octave::interpreter::m_quitting_gracefully
private

Definition at line 137 of file interpreter.h.


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