#include "oct-map.h"
Public Types | |
typedef std::map< std::string, octave_idx_type >::const_iterator | const_iterator |
typedef const_iterator | iterator |
typedef std::map<std::string, octave_idx_type>::const_iterator octave_fields::const_iterator |
octave_fields::octave_fields | ( | const string_vector & | fields | ) |
Definition at line 45 of file oct-map.cc.
References n, and string_vector::numel().
octave_fields::octave_fields | ( | const char *const * | fields | ) |
Definition at line 53 of file oct-map.cc.
References n.
|
inline |
|
inline |
Definition at line 111 of file oct-map.h.
Referenced by octave_scalar_map::begin(), octave_map::begin(), and equal_up_to_order().
|
inline |
|
inline |
|
inline |
Definition at line 112 of file oct-map.h.
Referenced by equal_up_to_order().
bool octave_fields::equal_up_to_order | ( | const octave_fields & | other, |
Array< octave_idx_type > & | perm | ||
) | const |
Definition at line 147 of file oct-map.cc.
References Array< T, Alloc >::clear(), equal_up_to_order(), Array< T, Alloc >::fortran_vec(), n, nfields(), and Array< T, Alloc >::numel().
bool octave_fields::equal_up_to_order | ( | const octave_fields & | other, |
octave_idx_type * | perm | ||
) | const |
Definition at line 126 of file oct-map.cc.
References begin(), and end().
Referenced by equal_up_to_order(), octave_map::fast_elem_insert(), octave_map::orderfields(), and octave_scalar_map::orderfields().
string_vector octave_fields::fieldnames | ( | ) | const |
Definition at line 158 of file oct-map.cc.
References n, nfields(), and string_vector::xelem().
octave_idx_type octave_fields::getfield | ( | const std::string & | name | ) |
Definition at line 75 of file oct-map.cc.
References make_unique(), and n.
octave_idx_type octave_fields::getfield | ( | const std::string & | name | ) | const |
Definition at line 68 of file oct-map.cc.
Referenced by octave_scalar_map::octave_scalar_map(), octave_scalar_map::contents(), octave_map::contents(), octave_scalar_map::getfield(), octave_map::getfield(), octave_map::setfield(), and octave_scalar_map::setfield().
|
inline |
|
inline |
Definition at line 151 of file oct-map.h.
Referenced by octave_map::assign(), octave_map::cat(), octave_map::fast_elem_insert(), octave_map::orderfields(), and octave_scalar_map::orderfields().
bool octave_fields::isfield | ( | const std::string & | name | ) | const |
Definition at line 62 of file oct-map.cc.
|
inline |
|
inline |
Definition at line 77 of file oct-map.h.
References r.
Referenced by getfield(), orderfields(), and rmfield().
|
inline |
Definition at line 126 of file oct-map.h.
Referenced by equal_up_to_order(), and fieldnames().
|
inline |
void octave_fields::orderfields | ( | Array< octave_idx_type > & | perm | ) |
Definition at line 110 of file oct-map.cc.
References Array< T, Alloc >::clear(), make_unique(), and n.
Referenced by octave_scalar_map::orderfields(), and octave_map::orderfields().
octave_idx_type octave_fields::rmfield | ( | const std::string & | name | ) |
Definition at line 89 of file oct-map.cc.
References make_unique(), and n.
Referenced by octave_scalar_map::rmfield(), and octave_map::rmfield().
|
inline |