#include "error.h"
#include "str-vec.h"
#include "oct-map.h"
#include "utils.h"
Go to the source code of this file.
Functions | |
static bool | keys_ok (const Octave_map &a, const Octave_map &b, string_vector &keys) |
template<class map > | |
static void | permute_to_correct_order (octave_idx_type n, octave_idx_type nf, octave_idx_type idx, const map *map_list, map *new_map_list) |
void | permute_to_correct_order1 (const octave_scalar_map &ref, const octave_scalar_map &src, octave_scalar_map &dest, Array< octave_idx_type > &perm) |
void | permute_to_correct_order1 (const octave_map &ref, const octave_map &src, octave_map &dest, Array< octave_idx_type > &perm) |
static bool keys_ok | ( | const Octave_map & | a, | |
const Octave_map & | b, | |||
string_vector & | keys | |||
) | [static] |
Definition at line 1549 of file oct-map.cc.
References Octave_map::keys(), Array< T >::length(), Octave_map::nfields(), and string_vector::sort().
Referenced by Octave_map::assign().
static void permute_to_correct_order | ( | octave_idx_type | n, | |
octave_idx_type | nf, | |||
octave_idx_type | idx, | |||
const map * | map_list, | |||
map * | new_map_list | |||
) | [static] |
Definition at line 637 of file oct-map.cc.
References error_state, and permute_to_correct_order1().
Referenced by octave_map::cat().
void permute_to_correct_order1 | ( | const octave_scalar_map & | ref, | |
const octave_scalar_map & | src, | |||
octave_scalar_map & | dest, | |||
Array< octave_idx_type > & | perm | |||
) |
Definition at line 619 of file oct-map.cc.
References octave_scalar_map::orderfields().
Referenced by permute_to_correct_order().
void permute_to_correct_order1 | ( | const octave_map & | ref, | |
const octave_map & | src, | |||
octave_map & | dest, | |||
Array< octave_idx_type > & | perm | |||
) |
Definition at line 626 of file oct-map.cc.
References octave_map::dims(), octave_map::is_empty(), octave_map::keys(), octave_map::nfields(), and octave_map::orderfields().