GNU Octave
3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#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 )(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 &) |
Protected Member Functions | |
octave_value_typeinfo (void) | |
~octave_value_typeinfo (void) |
Static Private Member Functions | |
static void | cleanup_instance (void) |
Private Attributes | |
Array< void * > | assign_ops |
Array< void * > | assignany_ops |
Array< void * > | binary_class_ops |
Array< void * > | binary_ops |
Array< void * > | cat_ops |
Array< void * > | compound_binary_class_ops |
Array< void * > | compound_binary_ops |
Array< void * > | non_const_unary_ops |
int | num_types |
Array< int > | pref_assign_conv |
Array< void * > | type_conv_ops |
Array< std::string > | types |
Array< void * > | unary_class_ops |
Array< void * > | unary_ops |
Array< octave_value > | vals |
Array< void * > | widening_ops |
Static Private Attributes | |
static const int | init_tab_sz |
static octave_value_typeinfo * | instance |
Definition at line 34 of file ov-typeinfo.h.
typedef octave_value(* octave_value_typeinfo::assign_op_fcn)(octave_base_value &, const octave_value_list &, const octave_base_value &) |
Definition at line 57 of file ov-typeinfo.h.
typedef octave_value(* octave_value_typeinfo::assignany_op_fcn)(octave_base_value &, const octave_value_list &, const octave_value &) |
Definition at line 60 of file ov-typeinfo.h.
typedef octave_value(* octave_value_typeinfo::binary_class_op_fcn)(const octave_value &, const octave_value &) |
Definition at line 47 of file ov-typeinfo.h.
typedef octave_value(* octave_value_typeinfo::binary_op_fcn)(const octave_base_value &, const octave_base_value &) |
Definition at line 50 of file ov-typeinfo.h.
typedef octave_value(* octave_value_typeinfo::cat_op_fcn)(octave_base_value &, const octave_base_value &, const Array< octave_idx_type > &ra_idx) |
Definition at line 53 of file ov-typeinfo.h.
typedef void(* octave_value_typeinfo::non_const_unary_op_fcn)(octave_base_value &) |
Definition at line 44 of file ov-typeinfo.h.
typedef octave_value(* octave_value_typeinfo::unary_class_op_fcn)(const octave_value &) |
Definition at line 40 of file ov-typeinfo.h.
typedef octave_value(* octave_value_typeinfo::unary_op_fcn)(const octave_base_value &) |
Definition at line 42 of file ov-typeinfo.h.
|
inlineprotected |
Definition at line 194 of file ov-typeinfo.h.
Referenced by instance_ok().
|
inlineprotected |
Definition at line 211 of file ov-typeinfo.h.
|
private |
Definition at line 219 of file ov-typeinfo.h.
Referenced by instance_ok().
|
private |
Definition at line 602 of file ov-typeinfo.cc.
|
private |
Definition at line 566 of file ov-typeinfo.cc.
References assign_ops, Array< T >::checkelem(), and f.
|
private |
Definition at line 574 of file ov-typeinfo.cc.
References assignany_ops, Array< T >::checkelem(), and f.
|
private |
Definition at line 529 of file ov-typeinfo.cc.
References binary_class_ops, Array< T >::checkelem(), and f.
|
private |
Definition at line 544 of file ov-typeinfo.cc.
References Array< T >::checkelem(), compound_binary_class_ops, and f.
|
private |
Definition at line 536 of file ov-typeinfo.cc.
References binary_ops, Array< T >::checkelem(), and f.
|
private |
Definition at line 551 of file ov-typeinfo.cc.
References Array< T >::checkelem(), compound_binary_ops, and f.
|
private |
Definition at line 559 of file ov-typeinfo.cc.
References cat_ops, Array< T >::checkelem(), and f.
|
private |
Definition at line 522 of file ov-typeinfo.cc.
References f.
Definition at line 582 of file ov-typeinfo.cc.
References Array< T >::checkelem(), and pref_assign_conv.
|
private |
Definition at line 489 of file ov-typeinfo.cc.
References octave_value::make_unique(), num_types, types, and vals.
|
private |
Definition at line 588 of file ov-typeinfo.cc.
References Array< T >::checkelem(), f, and type_conv_ops.
|
private |
Definition at line 507 of file ov-typeinfo.cc.
References Array< T >::checkelem(), f, and unary_class_ops.
|
private |
Definition at line 514 of file ov-typeinfo.cc.
References Array< T >::checkelem(), f, and unary_ops.
|
private |
Definition at line 595 of file ov-typeinfo.cc.
References Array< T >::checkelem(), f, and widening_ops.
|
private |
Definition at line 395 of file ov-typeinfo.cc.
References octave_value::assign_op_as_string(), assign_ops, Array< T >::checkelem(), f, lookup_assign_op(), types, and warning().
Referenced by register_assign_op().
|
private |
Definition at line 416 of file ov-typeinfo.cc.
References octave_value::assign_op_as_string(), assignany_ops, Array< T >::checkelem(), f, lookup_assignany_op(), types, and warning().
Referenced by register_assignany_op().
|
private |
Definition at line 299 of file ov-typeinfo.cc.
References binary_class_ops, octave_value::binary_op_as_string(), Array< T >::checkelem(), f, lookup_binary_class_op(), and warning().
Referenced by register_binary_class_op().
|
private |
Definition at line 338 of file ov-typeinfo.cc.
References octave_value::binary_op_fcn_name(), Array< T >::checkelem(), compound_binary_class_ops, f, lookup_binary_class_op(), and warning().
|
private |
Definition at line 317 of file ov-typeinfo.cc.
References octave_value::binary_op_as_string(), binary_ops, Array< T >::checkelem(), f, lookup_binary_op(), types, and warning().
Referenced by register_binary_op().
|
private |
Definition at line 356 of file ov-typeinfo.cc.
References octave_value::binary_op_fcn_name(), Array< T >::checkelem(), compound_binary_ops, f, lookup_binary_op(), types, and warning().
|
private |
Definition at line 377 of file ov-typeinfo.cc.
References cat_ops, Array< T >::checkelem(), f, lookup_cat_op(), types, and warning().
Referenced by register_cat_op().
|
private |
Definition at line 280 of file ov-typeinfo.cc.
References f, octave_value::unary_op_as_string(), and warning().
Referenced by register_non_const_unary_op().
|
private |
Definition at line 435 of file ov-typeinfo.cc.
References Array< T >::checkelem(), lookup_pref_assign_conv(), pref_assign_conv, types, and warning().
Referenced by register_pref_assign_conv().
|
private |
Definition at line 186 of file ov-typeinfo.cc.
References assign_ops, assignany_ops, binary_ops, cat_ops, compound_binary_ops, Array< T >::length(), non_const_unary_ops, octave_value::num_assign_ops, octave_value::num_binary_ops, octave_value::num_compound_binary_ops, num_types, octave_value::num_unary_ops, pref_assign_conv, Array< T >::resize(), type_conv_ops, types, unary_ops, vals, and widening_ops.
Referenced by register_type().
|
private |
Definition at line 454 of file ov-typeinfo.cc.
Referenced by register_type_conv_op().
|
private |
Definition at line 242 of file ov-typeinfo.cc.
References Array< T >::checkelem(), f, lookup_unary_class_op(), unary_class_ops, octave_value::unary_op_as_string(), and warning().
Referenced by register_unary_class_op().
|
private |
Definition at line 260 of file ov-typeinfo.cc.
References Array< T >::checkelem(), f, lookup_unary_op(), types, octave_value::unary_op_as_string(), unary_ops, and warning().
Referenced by register_unary_op().
|
private |
Definition at line 472 of file ov-typeinfo.cc.
Referenced by register_widening_op().
|
inlinestatic |
Definition at line 187 of file ov-typeinfo.h.
Referenced by DEFUN().
Definition at line 41 of file ov-typeinfo.cc.
References singleton_cleanup_list::add(), cleanup_instance(), error(), instance, and octave_value_typeinfo().
Referenced by register_assign_op(), register_assignany_op(), register_binary_class_op(), register_binary_op(), register_cat_op(), register_non_const_unary_op(), register_pref_assign_conv(), register_type(), register_type_conv_op(), register_unary_class_op(), register_unary_op(), and register_widening_op().
|
inlinestatic |
Definition at line 158 of file ov-typeinfo.h.
Referenced by octave_value::assign(), do_register_assign_op(), and octave_base_value::numeric_assign().
|
inlinestatic |
Definition at line 164 of file ov-typeinfo.h.
Referenced by do_register_assignany_op().
|
inlinestatic |
Definition at line 128 of file ov-typeinfo.h.
Referenced by do_binary_op(), and do_register_binary_class_op().
|
inlinestatic |
Definition at line 140 of file ov-typeinfo.h.
|
inlinestatic |
Definition at line 134 of file ov-typeinfo.h.
Referenced by do_binary_op(), and do_register_binary_op().
|
inlinestatic |
Definition at line 146 of file ov-typeinfo.h.
|
inlinestatic |
Definition at line 152 of file ov-typeinfo.h.
Referenced by do_cat_op(), and do_register_cat_op().
|
inlinestatic |
Definition at line 122 of file ov-typeinfo.h.
Referenced by octave_value::do_non_const_unary_op().
Definition at line 170 of file ov-typeinfo.h.
Referenced by do_register_pref_assign_conv(), and octave_base_value::numeric_assign().
|
inlinestatic |
Definition at line 104 of file ov-typeinfo.h.
Referenced by hdf5_read_next_data(), read_ascii_data(), and read_binary_data().
|
inlinestatic |
Definition at line 176 of file ov-typeinfo.h.
Referenced by octave_type_conv_body().
|
inlinestatic |
Definition at line 110 of file ov-typeinfo.h.
Referenced by do_register_unary_class_op(), and do_unary_op().
|
inlinestatic |
Definition at line 116 of file ov-typeinfo.h.
Referenced by do_register_unary_op(), and do_unary_op().
|
inlinestatic |
Definition at line 182 of file ov-typeinfo.h.
Referenced by octave_base_value::numeric_assign().
|
private |
|
static |
Definition at line 141 of file ov-typeinfo.cc.
References do_register_assign_op(), instance, and instance_ok().
|
static |
Definition at line 150 of file ov-typeinfo.cc.
References do_register_assignany_op(), instance, and instance_ok().
|
static |
Definition at line 99 of file ov-typeinfo.cc.
References do_register_binary_class_op(), instance, and instance_ok().
|
static |
Definition at line 116 of file ov-typeinfo.cc.
References do_register_binary_class_op(), instance, and instance_ok().
|
static |
Definition at line 107 of file ov-typeinfo.cc.
References do_register_binary_op(), instance, and instance_ok().
Referenced by install_m_s_ops().
|
static |
Definition at line 124 of file ov-typeinfo.cc.
References do_register_binary_op(), instance, and instance_ok().
|
static |
Definition at line 133 of file ov-typeinfo.cc.
References do_register_cat_op(), instance, and instance_ok().
|
static |
Definition at line 90 of file ov-typeinfo.cc.
References do_register_non_const_unary_op(), instance, and instance_ok().
Definition at line 158 of file ov-typeinfo.cc.
References do_register_pref_assign_conv(), instance, and instance_ok().
|
static |
Definition at line 64 of file ov-typeinfo.cc.
References do_register_type(), instance, and instance_ok().
|
static |
Definition at line 167 of file ov-typeinfo.cc.
References do_register_type_conv_op(), instance, and instance_ok().
|
static |
Definition at line 73 of file ov-typeinfo.cc.
References do_register_unary_class_op(), instance, and instance_ok().
|
static |
Definition at line 81 of file ov-typeinfo.cc.
References do_register_unary_op(), instance, and instance_ok().
|
static |
Definition at line 175 of file ov-typeinfo.cc.
References do_register_widening_op(), instance, and instance_ok().
Definition at line 243 of file ov-typeinfo.h.
Referenced by do_lookup_assign_op(), do_register_assign_op(), and do_register_type().
Definition at line 245 of file ov-typeinfo.h.
Referenced by do_lookup_assignany_op(), do_register_assignany_op(), and do_register_type().
Definition at line 233 of file ov-typeinfo.h.
Referenced by do_lookup_binary_class_op(), and do_register_binary_class_op().
Definition at line 235 of file ov-typeinfo.h.
Referenced by do_lookup_binary_op(), do_register_binary_op(), and do_register_type().
Definition at line 241 of file ov-typeinfo.h.
Referenced by do_lookup_cat_op(), do_register_cat_op(), and do_register_type().
Definition at line 237 of file ov-typeinfo.h.
Referenced by do_lookup_binary_class_op(), and do_register_binary_class_op().
Definition at line 239 of file ov-typeinfo.h.
Referenced by do_lookup_binary_op(), do_register_binary_op(), and do_register_type().
|
staticprivate |
Definition at line 215 of file ov-typeinfo.h.
|
staticprivate |
Definition at line 217 of file ov-typeinfo.h.
Referenced by instance_ok(), register_assign_op(), register_assignany_op(), register_binary_class_op(), register_binary_op(), register_cat_op(), register_non_const_unary_op(), register_pref_assign_conv(), register_type(), register_type_conv_op(), register_unary_class_op(), register_unary_op(), and register_widening_op().
Definition at line 231 of file ov-typeinfo.h.
Referenced by do_register_type().
|
private |
Definition at line 221 of file ov-typeinfo.h.
Referenced by do_installed_type_names(), do_lookup_type(), and do_register_type().
Definition at line 247 of file ov-typeinfo.h.
Referenced by do_lookup_pref_assign_conv(), do_register_pref_assign_conv(), and do_register_type().
Definition at line 249 of file ov-typeinfo.h.
Referenced by do_lookup_type_conv_op(), and do_register_type().
|
private |
Definition at line 223 of file ov-typeinfo.h.
Referenced by do_installed_type_names(), do_lookup_type(), do_register_assign_op(), do_register_assignany_op(), do_register_binary_op(), do_register_cat_op(), do_register_pref_assign_conv(), do_register_type(), and do_register_unary_op().
Definition at line 227 of file ov-typeinfo.h.
Referenced by do_lookup_unary_class_op(), and do_register_unary_class_op().
Definition at line 229 of file ov-typeinfo.h.
Referenced by do_lookup_unary_op(), do_register_type(), and do_register_unary_op().
|
private |
Definition at line 225 of file ov-typeinfo.h.
Referenced by do_lookup_type(), and do_register_type().
Definition at line 251 of file ov-typeinfo.h.
Referenced by do_lookup_widening_op(), and do_register_type().