GNU Octave  4.0.0
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 Attributes | Friends | List of all members
octave_call_stack::stack_frame Class Reference

#include "toplev.h"

Collaboration diagram for octave_call_stack::stack_frame:
Collaboration graph
[legend]

Public Member Functions

 stack_frame (octave_function *fcn=0, symbol_table::scope_id scope=0, symbol_table::context_id context=0, size_t prev=0)
 
 stack_frame (const stack_frame &elt)
 
int column (void) const
 
std::string fcn_file_name (void) const
 
std::string fcn_name (bool print_subfn=true) const
 
int line (void) const
 

Private Attributes

int m_column
 
symbol_table::context_id m_context
 
octave_functionm_fcn
 
int m_line
 
size_t m_prev
 
symbol_table::scope_id m_scope
 

Friends

class octave_call_stack
 

Detailed Description

Definition at line 85 of file toplev.h.

Constructor & Destructor Documentation

octave_call_stack::stack_frame::stack_frame ( octave_function fcn = 0,
symbol_table::scope_id  scope = 0,
symbol_table::context_id  context = 0,
size_t  prev = 0 
)
inline

Definition at line 91 of file toplev.h.

octave_call_stack::stack_frame::stack_frame ( const stack_frame elt)
inline

Definition at line 97 of file toplev.h.

Member Function Documentation

int octave_call_stack::stack_frame::column ( void  ) const
inline

Definition at line 104 of file toplev.h.

References m_column.

Referenced by pr_where().

std::string octave_call_stack::stack_frame::fcn_file_name ( void  ) const

Definition at line 108 of file toplev.cc.

References octave_function::fcn_file_name(), and m_fcn.

Referenced by octave_call_stack::do_backtrace().

std::string octave_call_stack::stack_frame::fcn_name ( bool  print_subfn = true) const

Definition at line 114 of file toplev.cc.

References Vfilemarker.

Referenced by octave_call_stack::do_backtrace(), octave_call_stack::do_goto_frame(), and pr_where().

int octave_call_stack::stack_frame::line ( void  ) const
inline

Definition at line 102 of file toplev.h.

References m_line.

Referenced by pr_where().

Friends And Related Function Documentation

friend class octave_call_stack
friend

Definition at line 89 of file toplev.h.

Member Data Documentation

int octave_call_stack::stack_frame::m_column
private
symbol_table::context_id octave_call_stack::stack_frame::m_context
private
octave_function* octave_call_stack::stack_frame::m_fcn
private
int octave_call_stack::stack_frame::m_line
private
size_t octave_call_stack::stack_frame::m_prev
private
symbol_table::scope_id octave_call_stack::stack_frame::m_scope
private

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