#include "oct-map.h"
Definition at line 153 of file oct-map.h.
octave_scalar_map::octave_scalar_map | ( | const octave_fields & | k | ) | [inline] |
octave_scalar_map::octave_scalar_map | ( | const string_vector & | k | ) | [inline] |
octave_scalar_map::octave_scalar_map | ( | const octave_scalar_map & | m | ) | [inline] |
void octave_scalar_map::assign | ( | const std::string & | k, | |
const octave_value & | val | |||
) | [inline] |
Definition at line 225 of file oct-map.h.
Referenced by DEFUN(), DEFUN_DLD(), do_load(), get_output_list(), make_sig_struct(), symbol_info_list::map_value(), octave_fcn_inline::map_value(), mk_gr_map(), mk_pw_map(), mk_stat_map(), mk_tm_map(), and octregexp().
const_iterator octave_scalar_map::begin | ( | void | ) | const [inline] |
Definition at line 182 of file oct-map.h.
Referenced by octave_scalar_struct::byte_size(), and save_fields().
bool octave_scalar_map::contains | ( | const std::string & | name | ) | const [inline] |
octave_value& octave_scalar_map::contents | ( | iterator | p | ) | [inline] |
const octave_value& octave_scalar_map::contents | ( | octave_idx_type | i | ) | const [inline] |
octave_value& octave_scalar_map::contents | ( | octave_idx_type | i | ) | [inline] |
octave_value & octave_scalar_map::contents | ( | const std::string & | k | ) |
Definition at line 234 of file oct-map.cc.
References octave_fields::getfield(), xkeys, and xvals.
octave_value octave_scalar_map::contents | ( | const std::string & | k | ) | const |
Definition at line 228 of file oct-map.cc.
References getfield().
const octave_value& octave_scalar_map::contents | ( | const_iterator | p | ) | const [inline] |
Definition at line 192 of file oct-map.h.
Referenced by octave_scalar_struct::as_mxArray(), octave_scalar_struct::byte_size(), DEFUN(), octave_scalar_struct::print_raw(), octave_scalar_struct::save_ascii(), octave_scalar_struct::save_binary(), save_fields(), and octave_scalar_struct::subsasgn().
void octave_scalar_map::del | ( | const std::string & | k | ) | [inline] |
const_iterator octave_scalar_map::end | ( | void | ) | const [inline] |
Definition at line 183 of file oct-map.h.
Referenced by octave_scalar_struct::byte_size(), save_fields(), and octave_scalar_struct::subsasgn().
string_vector octave_scalar_map::fieldnames | ( | void | ) | const [inline] |
Definition at line 214 of file oct-map.h.
Referenced by octave_scalar_struct::print_raw().
octave_value octave_scalar_map::getfield | ( | const std::string & | key | ) | const |
Definition at line 161 of file oct-map.cc.
References octave_fields::getfield(), octave_value(), xkeys, and xvals.
Referenced by contents(), DEFUN(), DEFUN_DLD(), octave_scalar_struct::dotref(), intfield(), and stringfield().
octave_idx_type octave_scalar_map::index | ( | const_iterator | p | ) | const [inline] |
bool octave_scalar_map::isfield | ( | const std::string & | name | ) | const [inline] |
std::string octave_scalar_map::key | ( | const_iterator | p | ) | const [inline] |
Definition at line 187 of file oct-map.h.
Referenced by octave_scalar_struct::byte_size(), and save_fields().
string_vector octave_scalar_map::keys | ( | void | ) | const [inline] |
octave_idx_type octave_scalar_map::nfields | ( | void | ) | const [inline] |
Definition at line 205 of file oct-map.h.
Referenced by octave_map::cat(), DEFUN(), do_load(), octave_map::octave_map(), and orderfields().
octave_scalar_map& octave_scalar_map::operator= | ( | const octave_scalar_map & | m | ) | [inline] |
octave_scalar_map octave_scalar_map::orderfields | ( | const octave_scalar_map & | other, | |
Array< octave_idx_type > & | perm | |||
) | const |
Definition at line 206 of file oct-map.cc.
References octave_fields::equal_up_to_order(), error(), octave_fields::is_same(), nfields(), Array< T >::xelem(), xkeys, and xvals.
octave_scalar_map octave_scalar_map::orderfields | ( | void | ) | const |
Definition at line 186 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 193 of file oct-map.cc.
References nfields(), octave_fields::orderfields(), Array< T >::xelem(), xkeys, and xvals.
void octave_scalar_map::rmfield | ( | const std::string & | key | ) |
Definition at line 178 of file oct-map.cc.
References octave_fields::rmfield(), xkeys, and xvals.
const_iterator octave_scalar_map::seek | ( | const std::string & | k | ) | const [inline] |
Definition at line 185 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 168 of file oct-map.cc.
References octave_fields::getfield(), xkeys, and xvals.
Referenced by DEFUN(), initialize_warning_options(), octave_scalar_struct::load_ascii(), octave_scalar_struct::load_binary(), octave_oncleanup::scalar_map_value(), and octave_scalar_struct::subsasgn().
friend class octave_map [friend] |
octave_fields octave_scalar_map::xkeys [private] |
Definition at line 252 of file oct-map.h.
Referenced by octave_map::cat(), contents(), octave_map::fast_elem_insert(), getfield(), operator=(), orderfields(), rmfield(), and setfield().
std::vector<octave_value> octave_scalar_map::xvals [private] |
Definition at line 253 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().