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

#include "call-stack.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
 
bool operator== (const stack_frame &rhs) 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 49 of file call-stack.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 55 of file call-stack.h.

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

Definition at line 61 of file call-stack.h.

Member Function Documentation

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

Definition at line 68 of file call-stack.h.

References m_column.

Referenced by operator==(), and pr_where().

std::string octave_call_stack::stack_frame::fcn_file_name ( void  ) const
std::string octave_call_stack::stack_frame::fcn_name ( bool  print_subfn = true) const
int octave_call_stack::stack_frame::line ( void  ) const
inline

Definition at line 66 of file call-stack.h.

References m_line.

Referenced by operator==(), and pr_where().

bool octave_call_stack::stack_frame::operator== ( const stack_frame rhs) const

Definition at line 68 of file call-stack.cc.

References column(), column, fcn_file_name(), fcn_file_name(), fcn_name(), and line().

Friends And Related Function Documentation

friend class octave_call_stack
friend

Definition at line 53 of file call-stack.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: