#include "ov-typeinfo.h"
Public Types | |
typedef octave_value(* | assign_op_fcn) (octave_base_value &, const octave_value_list &, const octave_base_value &) |
typedef octave_value(* | assignany_op_fcn) (octave_base_value &, const octave_value_list &, const octave_value &) |
typedef octave_value(* | binary_class_op_fcn) (const octave_value &, const octave_value &) |
typedef octave_value(* | binary_op_fcn) (const octave_base_value &, const octave_base_value &) |
typedef octave_value(* | cat_op_fcn) (const octave_base_value &, const octave_base_value &, const Array< octave_idx_type > &ra_idx) |
typedef void(* | non_const_unary_op_fcn) (octave_base_value &) |
typedef octave_value(* | unary_class_op_fcn) (const octave_value &) |
typedef octave_value(* | unary_op_fcn) (const octave_base_value &) |
Definition at line 42 of file ov-typeinfo.h.
typedef octave_value(* type_info::assign_op_fcn) (octave_base_value &, const octave_value_list &, const octave_base_value &) |
Definition at line 64 of file ov-typeinfo.h.
typedef octave_value(* type_info::assignany_op_fcn) (octave_base_value &, const octave_value_list &, const octave_value &) |
Definition at line 67 of file ov-typeinfo.h.
typedef octave_value(* type_info::binary_class_op_fcn) (const octave_value &, const octave_value &) |
Definition at line 54 of file ov-typeinfo.h.
typedef octave_value(* type_info::binary_op_fcn) (const octave_base_value &, const octave_base_value &) |
Definition at line 57 of file ov-typeinfo.h.
typedef octave_value(* type_info::cat_op_fcn) (const octave_base_value &, const octave_base_value &, const Array< octave_idx_type > &ra_idx) |
Definition at line 60 of file ov-typeinfo.h.
typedef void(* type_info::non_const_unary_op_fcn) (octave_base_value &) |
Definition at line 52 of file ov-typeinfo.h.
typedef octave_value(* type_info::unary_class_op_fcn) (const octave_value &) |
Definition at line 48 of file ov-typeinfo.h.
typedef octave_value(* type_info::unary_op_fcn) (const octave_base_value &) |
Definition at line 50 of file ov-typeinfo.h.
|
explicit |
Definition at line 70 of file ov-typeinfo.cc.
References install_ops(), and install_types().
|
default |
octave_scalar_map type_info::assign_ops_map | ( | ) | const |
Definition at line 711 of file ov-typeinfo.cc.
References octave_value::assign_op_as_string(), Array< T, Alloc >::columns(), len, min(), octave_value::num_assign_ops, octave_scalar_map::setfield(), and Array< T, Alloc >::xelem().
octave_scalar_map type_info::assignany_ops_map | ( | ) | const |
Definition at line 737 of file ov-typeinfo.cc.
References octave_value::assign_op_as_string(), Array< T, Alloc >::columns(), len, min(), octave_value::num_assign_ops, octave_scalar_map::setfield(), and Array< T, Alloc >::xelem().
octave_scalar_map type_info::binary_ops_map | ( | ) | const |
Definition at line 658 of file ov-typeinfo.cc.
References octave_value::binary_op_as_string(), Array< T, Alloc >::columns(), len, min(), octave_value::num_binary_ops, octave_scalar_map::setfield(), and Array< T, Alloc >::xelem().
Referenced by installed_type_info().
octave_scalar_map type_info::compound_binary_ops_map | ( | ) | const |
Definition at line 684 of file ov-typeinfo.cc.
References octave_value::binary_op_fcn_name(), Array< T, Alloc >::columns(), len, min(), octave_value::num_compound_binary_ops, octave_scalar_map::setfield(), and Array< T, Alloc >::xelem().
Referenced by installed_type_info().
|
inline |
Definition at line 124 of file ov-typeinfo.h.
References f.
|
inline |
Definition at line 130 of file ov-typeinfo.h.
References f.
|
inline |
Definition at line 95 of file ov-typeinfo.h.
References f.
|
inline |
Definition at line 107 of file ov-typeinfo.h.
References f.
|
inline |
Definition at line 101 of file ov-typeinfo.h.
References f.
|
inline |
Definition at line 113 of file ov-typeinfo.h.
References f.
|
inline |
Definition at line 119 of file ov-typeinfo.h.
References f.
|
inline |
Definition at line 89 of file ov-typeinfo.h.
References f.
|
inline |
Definition at line 136 of file ov-typeinfo.h.
|
inline |
Definition at line 78 of file ov-typeinfo.h.
References f.
|
inline |
Definition at line 84 of file ov-typeinfo.h.
References f.
|
inline |
Definition at line 141 of file ov-typeinfo.h.
References f.
octave_scalar_map type_info::installed_type_info | ( | ) | const |
Definition at line 762 of file ov-typeinfo.cc.
References binary_ops_map(), compound_binary_ops_map(), installed_type_names(), non_const_unary_ops_map(), octave_scalar_map::setfield(), and unary_ops_map().
Referenced by F__dump_typeinfo__(), and installed_type_info().
string_vector type_info::installed_type_names | ( | ) | const |
Definition at line 597 of file ov-typeinfo.cc.
Referenced by Ftypeinfo(), installed_type_info(), and installed_type_names().
type_info::assign_op_fcn type_info::lookup_assign_op | ( | octave_value::assign_op | op, |
int | t_lhs, | ||
int | t_rhs | ||
) |
Definition at line 569 of file ov-typeinfo.cc.
References Array< T, Alloc >::checkelem(), and f.
Referenced by lookup_assign_op(), and register_assign_op().
type_info::assignany_op_fcn type_info::lookup_assignany_op | ( | octave_value::assign_op | op, |
int | t_lhs | ||
) |
Definition at line 577 of file ov-typeinfo.cc.
References Array< T, Alloc >::checkelem(), and f.
Referenced by lookup_assignany_op(), and register_assignany_op().
type_info::binary_class_op_fcn type_info::lookup_binary_class_op | ( | octave_value::binary_op | op | ) |
Definition at line 533 of file ov-typeinfo.cc.
References Array< T, Alloc >::checkelem(), and f.
Referenced by lookup_binary_class_op().
type_info::binary_class_op_fcn type_info::lookup_binary_class_op | ( | octave_value::compound_binary_op | op | ) |
Definition at line 547 of file ov-typeinfo.cc.
References Array< T, Alloc >::checkelem(), and f.
type_info::binary_op_fcn type_info::lookup_binary_op | ( | octave_value::binary_op | op, |
int | t1, | ||
int | t2 | ||
) |
Definition at line 540 of file ov-typeinfo.cc.
References Array< T, Alloc >::checkelem(), and f.
Referenced by lookup_binary_op().
type_info::binary_op_fcn type_info::lookup_binary_op | ( | octave_value::compound_binary_op | op, |
int | t1, | ||
int | t2 | ||
) |
Definition at line 554 of file ov-typeinfo.cc.
References Array< T, Alloc >::checkelem(), and f.
type_info::cat_op_fcn type_info::lookup_cat_op | ( | int | t1, |
int | t2 | ||
) |
Definition at line 562 of file ov-typeinfo.cc.
References Array< T, Alloc >::checkelem(), and f.
Referenced by lookup_cat_op(), and register_cat_op().
type_info::non_const_unary_op_fcn type_info::lookup_non_const_unary_op | ( | octave_value::unary_op | op, |
int | t | ||
) |
Definition at line 526 of file ov-typeinfo.cc.
References Array< T, Alloc >::checkelem(), and f.
Referenced by lookup_non_const_unary_op(), and register_non_const_unary_op().
int type_info::lookup_pref_assign_conv | ( | int | t_lhs, |
int | t_rhs | ||
) |
Definition at line 584 of file ov-typeinfo.cc.
References Array< T, Alloc >::checkelem().
Referenced by lookup_pref_assign_conv(), and register_pref_assign_conv().
octave_value type_info::lookup_type | ( | const std::string & | nm | ) |
Definition at line 494 of file ov-typeinfo.cc.
References octave_value::make_unique().
Referenced by lookup_type(), and read_binary_data().
type_info::unary_class_op_fcn type_info::lookup_unary_class_op | ( | octave_value::unary_op | op | ) |
Definition at line 512 of file ov-typeinfo.cc.
References Array< T, Alloc >::checkelem(), and f.
Referenced by lookup_unary_class_op(), and register_unary_class_op().
type_info::unary_op_fcn type_info::lookup_unary_op | ( | octave_value::unary_op | op, |
int | t | ||
) |
Definition at line 519 of file ov-typeinfo.cc.
References Array< T, Alloc >::checkelem(), and f.
Referenced by lookup_unary_op(), and register_unary_op().
octave_base_value::type_conv_fcn type_info::lookup_widening_op | ( | int | t, |
int | t_result | ||
) |
Definition at line 590 of file ov-typeinfo.cc.
References Array< T, Alloc >::checkelem(), and f.
Referenced by lookup_widening_op(), and register_widening_op().
octave_scalar_map type_info::non_const_unary_ops_map | ( | ) | const |
Definition at line 633 of file ov-typeinfo.cc.
References Array< T, Alloc >::columns(), len, min(), octave_value::num_unary_ops, octave_scalar_map::setfield(), octave_value::unary_op_as_string(), and Array< T, Alloc >::xelem().
Referenced by installed_type_info().
bool type_info::register_assign_op | ( | octave_value::assign_op | , |
int | , | ||
int | , | ||
assign_op_fcn | , | ||
bool | abort_on_duplicate = false |
||
) |
Definition at line 384 of file ov-typeinfo.cc.
References octave_value::assign_op_as_string(), Array< T, Alloc >::checkelem(), f, lookup_assign_op(), and warning().
bool type_info::register_assignany_op | ( | octave_value::assign_op | , |
int | , | ||
assignany_op_fcn | , | ||
bool | abort_on_duplicate = false |
||
) |
Definition at line 414 of file ov-typeinfo.cc.
References octave_value::assign_op_as_string(), Array< T, Alloc >::checkelem(), f, lookup_assignany_op(), and warning().
bool type_info::register_binary_class_op | ( | octave_value::binary_op | , |
binary_class_op_fcn | , | ||
bool | abort_on_duplicate = false |
||
) |
bool type_info::register_binary_class_op | ( | octave_value::compound_binary_op | , |
binary_class_op_fcn | , | ||
bool | abort_on_duplicate = false |
||
) |
bool type_info::register_binary_op | ( | octave_value::binary_op | , |
int | , | ||
int | , | ||
binary_op_fcn | , | ||
bool | abort_on_duplicate = false |
||
) |
bool type_info::register_binary_op | ( | octave_value::compound_binary_op | , |
int | , | ||
int | , | ||
binary_op_fcn | , | ||
bool | abort_on_duplicate = false |
||
) |
bool type_info::register_cat_op | ( | int | , |
int | , | ||
cat_op_fcn | , | ||
bool | abort_on_duplicate = false |
||
) |
Definition at line 359 of file ov-typeinfo.cc.
References Array< T, Alloc >::checkelem(), f, lookup_cat_op(), and warning().
bool type_info::register_non_const_unary_op | ( | octave_value::unary_op | , |
int | , | ||
non_const_unary_op_fcn | , | ||
bool | abort_on_duplicate = false |
||
) |
Definition at line 219 of file ov-typeinfo.cc.
References Array< T, Alloc >::checkelem(), f, lookup_non_const_unary_op(), octave_value::unary_op_as_string(), and warning().
bool type_info::register_pref_assign_conv | ( | int | t_lhs, |
int | t_rhs, | ||
int | t_result, | ||
bool | abort_on_duplicate = false |
||
) |
Definition at line 441 of file ov-typeinfo.cc.
References Array< T, Alloc >::checkelem(), lookup_pref_assign_conv(), and warning().
int type_info::register_type | ( | const std::string & | t_name, |
const std::string & | , | ||
const octave_value & | val, | ||
bool | abort_on_duplicate = false |
||
) |
Definition at line 93 of file ov-typeinfo.cc.
References len, octave_value::num_assign_ops, octave_value::num_binary_ops, octave_value::num_compound_binary_ops, octave_value::num_unary_ops, Array< T, Alloc >::numel(), octave_value(), Array< T, Alloc >::resize(), and warning().
Referenced by register_type().
bool type_info::register_unary_class_op | ( | octave_value::unary_op | , |
unary_class_op_fcn | , | ||
bool | abort_on_duplicate = false |
||
) |
Definition at line 168 of file ov-typeinfo.cc.
References Array< T, Alloc >::checkelem(), f, lookup_unary_class_op(), octave_value::unary_op_as_string(), and warning().
bool type_info::register_unary_op | ( | octave_value::unary_op | op, |
int | t, | ||
unary_op_fcn | f, | ||
bool | abort_on_duplicate = false |
||
) |
Definition at line 194 of file ov-typeinfo.cc.
References Array< T, Alloc >::checkelem(), f, lookup_unary_op(), octave_value::unary_op_as_string(), and warning().
bool type_info::register_widening_op | ( | int | t, |
int | t_result, | ||
octave_base_value::type_conv_fcn | f, | ||
bool | abort_on_duplicate = false |
||
) |
Definition at line 468 of file ov-typeinfo.cc.
References Array< T, Alloc >::checkelem(), f, lookup_widening_op(), and warning().
octave_scalar_map type_info::unary_ops_map | ( | ) | const |
Definition at line 608 of file ov-typeinfo.cc.
References Array< T, Alloc >::columns(), len, min(), octave_value::num_unary_ops, octave_scalar_map::setfield(), octave_value::unary_op_as_string(), and Array< T, Alloc >::xelem().
Referenced by installed_type_info().