#include "oct-map.h"
Public Types | |
typedef octave_fields::const_iterator | const_iterator |
typedef const_iterator | iterator |
Private Attributes | |
octave_fields | m_keys |
std::vector< octave_value > | m_vals |
Friends | |
class | octave_map |
|
inline |
|
inline |
|
inline |
octave_scalar_map::octave_scalar_map | ( | const std::map< std::string, octave_value > & | m | ) |
Definition at line 169 of file oct-map.cc.
References octave_fields::getfield(), m_keys, and m_vals.
|
inline |
Definition at line 238 of file oct-map.h.
Referenced by cmdline_options::as_octave_value(), octave_errno::do_list(), F__glpk__(), Fgetrusage(), Flasterror(), Funame(), Fwarning(), get_output_list(), load_save_system::load_vars(), octave::symbol_info_list::map_value(), mk_gr_map(), mk_pw_map(), mk_stat_map(), mk_tm_map(), set_sig_struct_field(), tree_evaluator::visit_try_catch_command(), error_system::warning_query(), octave::stack_frame::workspace(), anonymous_fcn_handle::workspace(), and weak_anonymous_fcn_handle::workspace().
|
inline |
Definition at line 192 of file oct-map.h.
Referenced by read_mat5_binary_element(), and load_save_system::save_fields().
|
inline |
Definition at line 195 of file oct-map.h.
Referenced by octave_scalar_struct::byte_size().
|
inline |
Definition at line 196 of file oct-map.h.
Referenced by octave_scalar_struct::byte_size().
|
inline |
Definition at line 224 of file oct-map.h.
References name.
Referenced by Ferror(), Flasterror(), and Frethrow().
octave_value & octave_scalar_map::contents | ( | const std::string & | k | ) |
Definition at line 254 of file oct-map.cc.
References octave_fields::getfield(), m_keys, and m_vals.
octave_value octave_scalar_map::contents | ( | const std::string & | k | ) | const |
Definition at line 248 of file oct-map.cc.
References getfield().
|
inline |
Definition at line 205 of file oct-map.h.
Referenced by octave_scalar_struct::as_mxArray(), octave_scalar_struct::break_closure_cycles(), octave::cdef_object_scalar::break_closure_cycles(), octave_scalar_struct::byte_size(), octave_scalar_struct::edit_display(), octave::scalar_struct_model::edit_display(), find_config_info(), Frethrow(), Fwarning(), octave::pan_enabled(), octave::pan_mode(), octave_scalar_struct::print_raw(), read_mat5_binary_element(), octave::scalar_struct_model::requires_sub_editor(), octave_scalar_struct::save_ascii(), octave_scalar_struct::save_binary(), load_save_system::save_fields(), octave_scalar_struct::save_hdf5(), octave_scalar_struct::subsasgn(), octave::scalar_struct_model::value_at(), octave::zoom_enabled(), and octave::zoom_mode().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 193 of file oct-map.h.
Referenced by read_mat5_binary_element(), load_save_system::save_fields(), and octave_scalar_struct::subsasgn().
|
inline |
Definition at line 227 of file oct-map.h.
Referenced by octave::scalar_struct_model::header_data(), octave_scalar_struct::print_raw(), octave_scalar_struct::save_hdf5(), and octave::scalar_struct_model::subscript_expression().
octave_value octave_scalar_map::getfield | ( | const std::string & | key | ) | const |
Definition at line 183 of file oct-map.cc.
References octave_fields::getfield(), m_keys, m_vals, and octave_value().
Referenced by image_region::image_region(), octave::Canvas::canvasKeyPressEvent(), contents(), octave_scalar_struct::dotref(), octave::BaseControl::eventFilter(), octave::Table::eventFilter(), F__eigs__(), F__magick_formats__(), F__magick_read__(), F__magick_write__(), Famd(), Ferror(), Flasterror(), Fwarning(), intfield(), octave::Figure::mouseMode(), octave::latex_renderer::read_image(), and stringfield().
|
inline |
|
inline |
|
inline |
Definition at line 200 of file oct-map.h.
Referenced by octave_scalar_struct::byte_size(), read_mat5_binary_element(), and load_save_system::save_fields().
|
inline |
|
inline |
Definition at line 218 of file oct-map.h.
Referenced by octave_map::octave_map(), octave_scalar_struct::break_closure_cycles(), octave::cdef_object_scalar::break_closure_cycles(), octave_map::cat(), Ferror(), load_save_system::load_vars(), orderfields(), read_mat5_binary_element(), and octave_scalar_struct::save_hdf5().
|
inline |
octave_scalar_map octave_scalar_map::orderfields | ( | Array< octave_idx_type > & | perm | ) | const |
Definition at line 215 of file oct-map.cc.
References m_keys, m_vals, nfields(), octave_fields::orderfields(), and Array< T, Alloc >::xelem().
octave_scalar_map octave_scalar_map::orderfields | ( | const octave_scalar_map & | other, |
Array< octave_idx_type > & | perm | ||
) | const |
Definition at line 228 of file oct-map.cc.
References octave_fields::equal_up_to_order(), error(), octave_fields::is_same(), m_keys, m_vals, nfields(), and Array< T, Alloc >::xelem().
octave_scalar_map octave_scalar_map::orderfields | ( | void | ) | const |
Definition at line 208 of file oct-map.cc.
References orderfields().
Referenced by orderfields(), and permute_to_correct_order1().
void octave_scalar_map::rmfield | ( | const std::string & | key | ) |
Definition at line 200 of file oct-map.cc.
References m_keys, m_vals, and octave_fields::rmfield().
|
inline |
Definition at line 198 of file oct-map.h.
Referenced by octave_scalar_struct::subsasgn().
void octave_scalar_map::setfield | ( | const std::string & | key, |
const octave_value & | val | ||
) |
Definition at line 190 of file oct-map.cc.
References octave_fields::getfield(), m_keys, and m_vals.
Referenced by type_info::assign_ops_map(), type_info::assignany_ops_map(), type_info::binary_ops_map(), octave::ButtonGroup::buttonClicked(), type_info::compound_binary_ops_map(), F__magick_finfo__(), F__magick_formats__(), F__magick_ping__(), F__wmemory__(), Faudiodevinfo(), fill_exif(), fill_exif_floats(), fill_exif_ints(), Flasterror(), internal_fcn_handle::info(), simple_fcn_handle::info(), scoped_fcn_handle::info(), base_nested_fcn_handle::info(), class_simple_fcn_handle::info(), base_anonymous_fcn_handle::info(), init_warning_options(), type_info::installed_type_info(), octave::Table::itemSelectionChanged(), octave_scalar_struct::load_ascii(), octave_scalar_struct::load_binary(), octave_scalar_struct::load_hdf5(), octave::Utils::makeKeyEventStruct(), octave::Utils::makeScrollEventStruct(), type_info::non_const_unary_ops_map(), octave::latex_renderer::read_image(), octave_oncleanup::scalar_map_value(), octave::Table::sendCellEditCallback(), octave_scalar_struct::subsasgn(), and type_info::unary_ops_map().
|
friend |
|
private |
Definition at line 265 of file oct-map.h.
Referenced by octave_scalar_map(), octave_map::cat(), contents(), octave_map::fast_elem_insert(), getfield(), operator=(), orderfields(), rmfield(), and setfield().
|
private |
Definition at line 266 of file oct-map.h.
Referenced by octave_map::octave_map(), octave_scalar_map(), contents(), octave_map::do_cat(), octave_map::extract_scalar(), octave_map::fast_elem_insert(), getfield(), operator=(), orderfields(), rmfield(), and setfield().