GNU Octave
4.2.1
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< 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 37 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 60 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 63 of file ov-typeinfo.h.
typedef octave_value(* octave_value_typeinfo::binary_class_op_fcn)(const octave_value &, const octave_value &) |
Definition at line 50 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 53 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 56 of file ov-typeinfo.h.
typedef void(* octave_value_typeinfo::non_const_unary_op_fcn)(octave_base_value &) |
Definition at line 47 of file ov-typeinfo.h.
typedef octave_value(* octave_value_typeinfo::unary_class_op_fcn)(const octave_value &) |
Definition at line 43 of file ov-typeinfo.h.
typedef octave_value(* octave_value_typeinfo::unary_op_fcn)(const octave_base_value &) |
Definition at line 45 of file ov-typeinfo.h.
|
inlineprotected |
Definition at line 193 of file ov-typeinfo.h.
Referenced by instance_ok().
|
inlineprotected |
Definition at line 209 of file ov-typeinfo.h.
|
private |
|
private |
|
private |
|
private |
|
inlinestaticprivate |
Definition at line 217 of file ov-typeinfo.h.
Referenced by instance_ok().
|
private |
|
private |
|
private |
Definition at line 563 of file ov-typeinfo.cc.
|
private |
Definition at line 534 of file ov-typeinfo.cc.
References assign_ops, Array< T >::checkelem(), and f.
|
private |
Definition at line 542 of file ov-typeinfo.cc.
References assignany_ops, Array< T >::checkelem(), and f.
|
private |
Definition at line 497 of file ov-typeinfo.cc.
References binary_class_ops, Array< T >::checkelem(), and f.
|
private |
Definition at line 512 of file ov-typeinfo.cc.
References Array< T >::checkelem(), compound_binary_class_ops, and f.
|
private |
Definition at line 504 of file ov-typeinfo.cc.
References binary_ops, Array< T >::checkelem(), and f.
|
private |
Definition at line 519 of file ov-typeinfo.cc.
References Array< T >::checkelem(), compound_binary_ops, and f.
|
private |
Definition at line 527 of file ov-typeinfo.cc.
References cat_ops, Array< T >::checkelem(), and f.
|
private |
Definition at line 490 of file ov-typeinfo.cc.
References f.
Definition at line 550 of file ov-typeinfo.cc.
References Array< T >::checkelem(), and pref_assign_conv.
|
private |
Definition at line 457 of file ov-typeinfo.cc.
References octave_value::make_unique(), num_types, retval, types, and vals.
|
private |
Definition at line 475 of file ov-typeinfo.cc.
References Array< T >::checkelem(), f, and unary_class_ops.
|
private |
Definition at line 482 of file ov-typeinfo.cc.
References Array< T >::checkelem(), f, and unary_ops.
|
private |
Definition at line 556 of file ov-typeinfo.cc.
References Array< T >::checkelem(), f, and widening_ops.
|
private |
Definition at line 381 of file ov-typeinfo.cc.
References octave_value::assign_op_as_string(), assign_ops, Array< T >::checkelem(), f, lookup_assign_op(), string, types, and warning().
Referenced by register_assign_op().
|
private |
Definition at line 402 of file ov-typeinfo.cc.
References octave_value::assign_op_as_string(), assignany_ops, Array< T >::checkelem(), f, lookup_assignany_op(), string, types, and warning().
Referenced by register_assignany_op().
|
private |
Definition at line 285 of file ov-typeinfo.cc.
References binary_class_ops, octave_value::binary_op_as_string(), Array< T >::checkelem(), f, lookup_binary_class_op(), string, and warning().
Referenced by register_binary_class_op().
|
private |
Definition at line 324 of file ov-typeinfo.cc.
References octave_value::binary_op_fcn_name(), Array< T >::checkelem(), compound_binary_class_ops, f, lookup_binary_class_op(), string, and warning().
|
private |
Definition at line 303 of file ov-typeinfo.cc.
References octave_value::binary_op_as_string(), binary_ops, Array< T >::checkelem(), f, lookup_binary_op(), string, types, and warning().
Referenced by register_binary_op().
|
private |
Definition at line 342 of file ov-typeinfo.cc.
References octave_value::binary_op_fcn_name(), Array< T >::checkelem(), compound_binary_ops, f, lookup_binary_op(), string, types, and warning().
|
private |
Definition at line 363 of file ov-typeinfo.cc.
References cat_ops, Array< T >::checkelem(), f, lookup_cat_op(), string, types, and warning().
Referenced by register_cat_op().
|
private |
Definition at line 266 of file ov-typeinfo.cc.
References f, string, octave_value::unary_op_as_string(), and warning().
Referenced by register_non_const_unary_op().
|
private |
Definition at line 421 of file ov-typeinfo.cc.
References Array< T >::checkelem(), lookup_pref_assign_conv(), pref_assign_conv, string, types, and warning().
Referenced by register_pref_assign_conv().
|
private |
Definition at line 174 of file ov-typeinfo.cc.
References assign_ops, assignany_ops, binary_ops, cat_ops, compound_binary_ops, 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, Array< T >::numel(), pref_assign_conv, Array< T >::resize(), types, unary_ops, val, vals, and widening_ops.
Referenced by register_type().
|
private |
Definition at line 228 of file ov-typeinfo.cc.
References Array< T >::checkelem(), f, lookup_unary_class_op(), string, unary_class_ops, octave_value::unary_op_as_string(), and warning().
Referenced by register_unary_class_op().
|
private |
Definition at line 246 of file ov-typeinfo.cc.
References Array< T >::checkelem(), f, lookup_unary_op(), string, types, octave_value::unary_op_as_string(), unary_ops, and warning().
Referenced by register_unary_op().
|
private |
Definition at line 440 of file ov-typeinfo.cc.
References f, string, and warning().
Referenced by register_widening_op().
|
inlinestatic |
Definition at line 186 of file ov-typeinfo.h.
|
inlinestatic |
Definition at line 181 of file ov-typeinfo.h.
|
static |
Definition at line 41 of file ov-typeinfo.cc.
References singleton_cleanup_list::add(), cleanup_instance(), error(), instance, octave_value_typeinfo(), and retval.
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_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_internal(), read_binary_data(), and read_text_data().
|
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 176 of file ov-typeinfo.h.
Referenced by octave_base_value::numeric_assign().
|
private |
|
private |
|
static |
Definition at line 137 of file ov-typeinfo.cc.
References do_register_assign_op(), instance, and instance_ok().
|
static |
Definition at line 146 of file ov-typeinfo.cc.
References do_register_assignany_op(), instance, and instance_ok().
|
static |
Definition at line 95 of file ov-typeinfo.cc.
References do_register_binary_class_op(), instance, and instance_ok().
|
static |
Definition at line 112 of file ov-typeinfo.cc.
References do_register_binary_class_op(), instance, and instance_ok().
|
static |
Definition at line 103 of file ov-typeinfo.cc.
References do_register_binary_op(), instance, and instance_ok().
Referenced by install_m_s_ops().
|
static |
Definition at line 120 of file ov-typeinfo.cc.
References do_register_binary_op(), instance, and instance_ok().
|
static |
Definition at line 129 of file ov-typeinfo.cc.
References do_register_cat_op(), instance, and instance_ok().
|
static |
Definition at line 86 of file ov-typeinfo.cc.
References do_register_non_const_unary_op(), instance, and instance_ok().
Definition at line 154 of file ov-typeinfo.cc.
References do_register_pref_assign_conv(), instance, and instance_ok().
|
static |
Definition at line 60 of file ov-typeinfo.cc.
References do_register_type(), instance, and instance_ok().
Referenced by octave_java::register_type(), octave_class::register_type(), and octave_classdef::register_type().
|
static |
Definition at line 69 of file ov-typeinfo.cc.
References do_register_unary_class_op(), instance, and instance_ok().
|
static |
Definition at line 77 of file ov-typeinfo.cc.
References do_register_unary_op(), instance, and instance_ok().
|
static |
Definition at line 163 of file ov-typeinfo.cc.
References do_register_widening_op(), instance, and instance_ok().
|
private |
|
private |
Definition at line 241 of file ov-typeinfo.h.
Referenced by do_lookup_assign_op(), do_register_assign_op(), and do_register_type().
|
private |
Definition at line 243 of file ov-typeinfo.h.
Referenced by do_lookup_assignany_op(), do_register_assignany_op(), and do_register_type().
|
private |
Definition at line 231 of file ov-typeinfo.h.
Referenced by do_lookup_binary_class_op(), and do_register_binary_class_op().
|
private |
Definition at line 233 of file ov-typeinfo.h.
Referenced by do_lookup_binary_op(), do_register_binary_op(), and do_register_type().
|
private |
Definition at line 239 of file ov-typeinfo.h.
Referenced by do_lookup_cat_op(), do_register_cat_op(), and do_register_type().
|
private |
Definition at line 235 of file ov-typeinfo.h.
Referenced by do_lookup_binary_class_op(), and do_register_binary_class_op().
|
private |
Definition at line 237 of file ov-typeinfo.h.
Referenced by do_lookup_binary_op(), do_register_binary_op(), and do_register_type().
|
staticprivate |
Definition at line 213 of file ov-typeinfo.h.
|
staticprivate |
Definition at line 215 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_unary_class_op(), register_unary_op(), and register_widening_op().
|
private |
Definition at line 229 of file ov-typeinfo.h.
Referenced by do_register_type().
|
private |
Definition at line 219 of file ov-typeinfo.h.
Referenced by do_installed_type_names(), do_lookup_type(), and do_register_type().
Definition at line 245 of file ov-typeinfo.h.
Referenced by do_lookup_pref_assign_conv(), do_register_pref_assign_conv(), and do_register_type().
|
private |
Definition at line 221 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().
|
private |
Definition at line 225 of file ov-typeinfo.h.
Referenced by do_lookup_unary_class_op(), and do_register_unary_class_op().
|
private |
Definition at line 227 of file ov-typeinfo.h.
Referenced by do_lookup_unary_op(), do_register_type(), and do_register_unary_op().
|
private |
Definition at line 223 of file ov-typeinfo.h.
Referenced by do_lookup_type(), and do_register_type().
|
private |
Definition at line 247 of file ov-typeinfo.h.
Referenced by do_lookup_widening_op(), and do_register_type().