GNU Octave
4.2.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include "oct-map.h"
Public Types | |
typedef octave_fields::const_iterator | const_iterator |
typedef const_iterator | iterator |
Private Attributes | |
octave_fields | xkeys |
std::vector< octave_value > | xvals |
Friends | |
class | octave_map |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 223 of file oct-map.h.
References setfield.
Referenced by property_list::as_struct(), octave_errno::do_list(), do_load(), F__dispatch__(), octave::build_env::features(), Ffunctions(), Fgetrusage(), G__glpk__(), base_properties::get_dynamic(), get_output_list(), octave_fcn_inline::map_value(), symbol_info_list::map_value(), mk_gr_map(), mk_pw_map(), mk_stat_map(), mk_tm_map(), octregexp(), octave::set_sig_struct_field(), base_graphics_object::values_as_struct(), and octave::tree_evaluator::visit_try_catch_command().
|
inline |
Definition at line 180 of file oct-map.h.
Referenced by octave_scalar_struct::byte_size(), read_mat5_binary_element(), save_fields(), and base_graphics_object::values_as_struct().
|
inline |
|
inline |
Definition at line 190 of file oct-map.h.
Referenced by octave_scalar_struct::as_mxArray(), octave_scalar_struct::byte_size(), QtHandles::pan_enabled(), QtHandles::pan_mode(), octave_scalar_struct::print_raw(), read_mat5_binary_element(), octave_scalar_struct::save_ascii(), octave_scalar_struct::save_binary(), save_fields(), octave_scalar_struct::save_hdf5(), octave_scalar_struct::subsasgn(), QtHandles::zoom_enabled(), and QtHandles::zoom_mode().
|
inline |
|
inline |
|
inline |
octave_value octave_scalar_map::contents | ( | const std::string & | k | ) | const |
Definition at line 236 of file oct-map.cc.
References getfield().
octave_value & octave_scalar_map::contents | ( | const std::string & | k | ) |
Definition at line 242 of file oct-map.cc.
References octave_fields::getfield(), xkeys, and xvals.
|
inline |
|
inline |
Definition at line 181 of file oct-map.h.
Referenced by octave_scalar_struct::byte_size(), read_mat5_binary_element(), save_fields(), octave_scalar_struct::subsasgn(), and base_graphics_object::values_as_struct().
|
inline |
Definition at line 212 of file oct-map.h.
Referenced by octave_scalar_struct::print_raw(), and octave_scalar_struct::save_hdf5().
octave_value octave_scalar_map::getfield | ( | const std::string & | key | ) | const |
Definition at line 171 of file oct-map.cc.
References octave_fields::getfield(), octave_value(), xkeys, and xvals.
Referenced by calculate_region(), QtHandles::Canvas::canvasKeyPressEvent(), contents(), octave_scalar_struct::dotref(), QtHandles::BaseControl::eventFilter(), F__magick_read__(), G__eigs__(), Gamd(), intfield(), QtHandles::Figure::mouseMode(), figure::properties::set___mouse_mode__(), and stringfield().
|
inline |
|
inline |
|
inline |
Definition at line 185 of file oct-map.h.
Referenced by octave_scalar_struct::byte_size(), read_mat5_binary_element(), and save_fields().
|
inline |
Definition at line 215 of file oct-map.h.
References fieldnames.
|
inline |
Definition at line 203 of file oct-map.h.
Referenced by octave_map::cat(), do_load(), octave_map::octave_map(), orderfields(), read_mat5_binary_element(), and octave_scalar_struct::save_hdf5().
|
inline |
octave_scalar_map octave_scalar_map::orderfields | ( | void | ) | const |
Definition at line 196 of file oct-map.cc.
Referenced by permute_to_correct_order1().
octave_scalar_map octave_scalar_map::orderfields | ( | Array< octave_idx_type > & | perm | ) | const |
Definition at line 203 of file oct-map.cc.
References nfields(), octave_fields::orderfields(), retval, Array< T >::xelem(), xkeys, and xvals.
octave_scalar_map octave_scalar_map::orderfields | ( | const octave_scalar_map & | other, |
Array< octave_idx_type > & | perm | ||
) | const |
Definition at line 216 of file oct-map.cc.
References octave_fields::equal_up_to_order(), error(), octave_fields::is_same(), nfields(), retval, Array< T >::xelem(), xkeys, and xvals.
void octave_scalar_map::rmfield | ( | const std::string & | key | ) |
Definition at line 188 of file oct-map.cc.
References octave_fields::rmfield(), xkeys, and xvals.
|
inline |
Definition at line 183 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 178 of file oct-map.cc.
References octave_fields::getfield(), val, xkeys, and xvals.
Referenced by QtHandles::ButtonGroup::buttonClicked(), Ffunctions(), Gaudiodevinfo(), initialize_warning_options(), octave_scalar_struct::load_ascii(), octave_scalar_struct::load_binary(), octave_scalar_struct::load_hdf5(), QtHandles::Utils::makeKeyEventStruct(), octave_oncleanup::scalar_map_value(), figure::properties::set___mouse_mode__(), and octave_scalar_struct::subsasgn().
|
friend |
|
private |
Definition at line 250 of file oct-map.h.
Referenced by octave_map::cat(), contents(), octave_map::fast_elem_insert(), getfield(), operator=(), orderfields(), rmfield(), and setfield().
|
private |
Definition at line 251 of file oct-map.h.
Referenced by contents(), octave_map::do_cat(), octave_map::extract_scalar(), octave_map::fast_elem_insert(), getfield(), octave_map::octave_map(), operator=(), orderfields(), rmfield(), and setfield().