#include "syminfo.h"
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_list & | operator= (const symbol_info_list &)=default |
std::list< whos_parameter > | parse_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_info & | back () |
const symbol_info & | back () const |
iterator | begin () |
const_iterator | begin () const |
void | clear () |
bool | empty () const |
iterator | end () |
const_iterator | end () const |
iterator | erase (iterator pos) |
symbol_info & | front () |
const symbol_info & | front () const |
std::size_t | length () const |
base_list & | operator= (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_info > | m_lst |
|
default |
|
default |
|
default |
void symbol_info_list::display | ( | std::ostream & | os, |
const std::string & | format | ||
) | const |
Definition at line 334 of file syminfo.cc.
References octave_value::byte_size(), format(), base_list< symbol_info >::m_lst, octave_value::numel(), octave_stdout, parse_whos_line_format(), and print_descriptor().
Referenced by call_stack::do_global_who_two().
octave_map symbol_info_list::map_value | ( | const std::string & | caller_function_name, |
int | nesting_level | ||
) | const |
Definition at line 193 of file syminfo.cc.
References octave_map::assign(), octave_scalar_map::assign(), octave_value::byte_size(), octave_value::class_name(), octave_value::iscomplex(), octave_value::issparse(), len, base_list< symbol_info >::m_lst, and octave_value::size().
Referenced by call_stack::do_global_who_two().
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().
|
default |
std::list< whos_parameter > symbol_info_list::parse_whos_line_format | ( | const std::string & | format | ) | const |
Definition at line 366 of file syminfo.cc.
References whos_parameter::balance, octave_value::byte_size(), whos_parameter::command, error(), whos_parameter::first_parameter_length, format(), octave_value::get_dims_str(), base_list< symbol_info >::length(), whos_parameter::line, base_list< symbol_info >::m_lst, whos_parameter::modifier, octave_value::numel(), whos_parameter::parameter_length, whos_parameter::text, and octave_value::type_name().
Referenced by display().
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().
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().