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

#include "syminfo.h"

Inheritance diagram for symbol_info_list:
base_list< symbol_info >

Public Member Functions

 symbol_info_list ()=default
 
 symbol_info_list (const symbol_info_list &)=default
 
 ~symbol_info_list ()=default
 
void display (std::ostream &os, const std::string &format) const
 
octave_map map_value (const std::string &caller_function_name, int nesting_level) const
 
std::list< std::string > names () const
 
symbol_info_listoperator= (const symbol_info_list &)=default
 
std::list< whos_parameterparse_whos_line_format (const std::string &format) const
 
void print_descriptor (std::ostream &os, const std::list< whos_parameter > params) const
 
octave_value varval (const std::string &name) const
 
- Public Member Functions inherited from base_list< symbol_info >
 base_list ()=default
 
 base_list (const base_list &bl)=default
 
 base_list (const std::list< symbol_info > &l)
 
virtual ~base_list ()=default
 
void append (const symbol_info &s)
 
symbol_infoback ()
 
const symbol_infoback () const
 
iterator begin ()
 
const_iterator begin () const
 
void clear ()
 
bool empty () const
 
iterator end ()
 
const_iterator end () const
 
iterator erase (iterator pos)
 
symbol_infofront ()
 
const symbol_infofront () const
 
std::size_t length () const
 
base_listoperator= (const base_list &bl)=default
 
void pop_back ()
 
void pop_front ()
 
void push_back (const symbol_info &s)
 
void push_front (const symbol_info &s)
 
reverse_iterator rbegin ()
 
const_reverse_iterator rbegin () const
 
void remove_if (P pred)
 
reverse_iterator rend ()
 
const_reverse_iterator rend () const
 
std::size_t size () const
 

Additional Inherited Members

- Public Types inherited from base_list< symbol_info >
typedef std::list< symbol_info >::const_iterator const_iterator
 
typedef std::list< symbol_info >::const_reverse_iterator const_reverse_iterator
 
typedef std::list< symbol_info >::iterator iterator
 
typedef std::list< symbol_info >::reverse_iterator reverse_iterator
 
- Protected Attributes inherited from base_list< symbol_info >
std::list< symbol_infom_lst
 

Detailed Description

Definition at line 93 of file syminfo.h.

Constructor & Destructor Documentation

◆ symbol_info_list() [1/2]

symbol_info_list::symbol_info_list ( )
default

◆ symbol_info_list() [2/2]

symbol_info_list::symbol_info_list ( const symbol_info_list )
default

◆ ~symbol_info_list()

symbol_info_list::~symbol_info_list ( )
default

Member Function Documentation

◆ display()

void symbol_info_list::display ( std::ostream &  os,
const std::string &  format 
) const

◆ map_value()

octave_map symbol_info_list::map_value ( const std::string &  caller_function_name,
int  nesting_level 
) const

◆ names()

std::list< std::string > symbol_info_list::names ( ) const

Definition at line 182 of file syminfo.cc.

References base_list< symbol_info >::m_lst.

Referenced by stack_frame::workspace().

◆ operator=()

symbol_info_list& symbol_info_list::operator= ( const symbol_info_list )
default

◆ parse_whos_line_format()

◆ print_descriptor()

void symbol_info_list::print_descriptor ( std::ostream &  os,
const std::list< whos_parameter params 
) const

Definition at line 249 of file syminfo.cc.

Referenced by display().

◆ varval()

octave_value symbol_info_list::varval ( const std::string &  name) const

Definition at line 170 of file syminfo.cc.

References base_list< symbol_info >::m_lst, and octave_value().

Referenced by stack_frame::workspace().


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