GNU Octave  6.2.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
octave_dld_function Class Reference

#include "ov-dld-fcn.h"

Inheritance diagram for octave_dld_function:
Collaboration diagram for octave_dld_function:

Public Types

typedef octave_value_list(* fcn) (const octave_value_list &, int)
 
typedef octave_value_list(* meth) (octave::interpreter &, const octave_value_list &, int)
 
typedef octave_base_value *(* type_conv_fcn) (const octave_base_value &)
 
enum  unary_mapper_t {
  umap_abs , umap_acos , umap_acosh , umap_angle ,
  umap_arg , umap_asin , umap_asinh , umap_atan ,
  umap_atanh , umap_cbrt , umap_ceil , umap_conj ,
  umap_cos , umap_cosh , umap_erf , umap_erfinv ,
  umap_erfcinv , umap_erfc , umap_erfcx , umap_erfi ,
  umap_dawson , umap_exp , umap_expm1 , umap_isfinite ,
  umap_fix , umap_floor , umap_gamma , umap_imag ,
  umap_isinf , umap_isna , umap_isnan , umap_lgamma ,
  umap_log , umap_log2 , umap_log10 , umap_log1p ,
  umap_real , umap_round , umap_roundb , umap_signum ,
  umap_sin , umap_sinh , umap_sqrt , umap_tan ,
  umap_tanh , umap_xisalnum , umap_xisalpha , umap_xisascii ,
  umap_xiscntrl , umap_xisdigit , umap_xisgraph , umap_xislower ,
  umap_xisprint , umap_xispunct , umap_xisspace , umap_xisupper ,
  umap_xisxdigit , umap_xsignbit , umap_xtolower , umap_xtoupper ,
  umap_unknown , num_unary_mappers = umap_unknown
}
 

Public Member Functions

 octave_dld_function (const octave_dld_function &fn)=delete
 
 octave_dld_function (octave_builtin::fcn ff, const octave::dynamic_library &shl, const std::string &nm="", const std::string &ds="")
 
 octave_dld_function (octave_builtin::meth mm, const octave::dynamic_library &shl, const std::string &nm="", const std::string &ds="")
 
 octave_dld_function (void)
 
 ~octave_dld_function (void)
 
virtual void accept (octave::tree_walker &)
 
virtual bool accepts_postfix_index (char type) const
 
virtual octave_value all (int=0) const
 
virtual octave_value any (int=0) const
 
virtual NDArray array_value (bool=false) const
 
virtual octave_value as_double (void) const
 
virtual octave_value as_int16 (void) const
 
virtual octave_value as_int32 (void) const
 
virtual octave_value as_int64 (void) const
 
virtual octave_value as_int8 (void) const
 
virtual mxArrayas_mxArray (void) const
 
virtual octave_value as_single (void) const
 
virtual octave_value as_uint16 (void) const
 
virtual octave_value as_uint32 (void) const
 
virtual octave_value as_uint64 (void) const
 
virtual octave_value as_uint8 (void) const
 
virtual void assign (const std::string &, const octave_value &)
 
virtual boolNDArray bool_array_value (bool=false) const
 
virtual boolMatrix bool_matrix_value (bool=false) const
 
virtual bool bool_value (bool=false) const
 
virtual builtin_type_t builtin_type (void) const
 
virtual size_t byte_size (void) const
 
virtual octave_value_list call (octave::tree_evaluator &tw, int nargout=0, const octave_value_list &args=octave_value_list())
 
virtual int call_depth (void) const
 
virtual void call_object_destructor (void)
 
std::string canonical_name (void) const
 
virtual Cell cell_value (void) const
 
virtual Array< std::string > cellstr_value (void) const
 
virtual charNDArray char_array_value (bool=false) const
 
virtual charMatrix char_matrix_value (bool force=false) const
 
std::string class_name (void) const
 
virtual octave_classdefclassdef_object_value (bool silent=false)
 
octave_base_valueclone (void) const
 
octave_idx_type columns (void) const
 
virtual ComplexNDArray complex_array_value (bool=false) const
 
virtual ComplexDiagMatrix complex_diag_matrix_value (bool=false) const
 
virtual ComplexMatrix complex_matrix_value (bool=false) const
 
virtual Complex complex_value (bool=false) const
 
virtual void convert_to_row_or_column_vector (void)
 
virtual octave_value convert_to_str (bool pad=false, bool force=false, char type='\'') const
 
virtual octave_value convert_to_str_internal (bool pad, bool force, char type) const
 
virtual octave_value diag (octave_idx_type k=0) const
 
virtual octave_value diag (octave_idx_type m, octave_idx_type n) const
 
virtual DiagMatrix diag_matrix_value (bool=false) const
 
virtual dim_vector dims (void) const
 
std::string dir_name (void) const
 
std::string dispatch_class (void) const
 
virtual octave_value do_index_op (const octave_value_list &idx, bool resize_ok=false)
 
virtual std::string doc_string (const std::string &="") const
 
void document (const std::string &ds)
 
virtual double double_value (bool=false) const
 
virtual octave_value dump (void) const
 
virtual std::string edit_display (const float_display_format &, octave_idx_type, octave_idx_type) const
 
octave_base_valueempty_clone (void) const
 
virtual void erase_subfunctions (void)
 
octave_value_list execute (octave::tree_evaluator &tw, int nargout=0, const octave_value_list &args=octave_value_list())
 
virtual octave_value fast_elem_extract (octave_idx_type n) const
 
virtual bool fast_elem_insert (octave_idx_type n, const octave_value &x)
 
virtual bool fast_elem_insert_self (void *where, builtin_type_t btyp) const
 
std::string fcn_file_name (void) const
 
virtual octave_fcn_handlefcn_handle_value (bool silent=false)
 
virtual octave_base_valuefind_parent_class (const std::string &)
 
virtual FloatNDArray float_array_value (bool=false) const
 
virtual FloatComplexNDArray float_complex_array_value (bool=false) const
 
virtual FloatComplexDiagMatrix float_complex_diag_matrix_value (bool=false) const
 
virtual FloatComplexMatrix float_complex_matrix_value (bool=false) const
 
virtual FloatComplex float_complex_value (bool=false) const
 
virtual FloatDiagMatrix float_diag_matrix_value (bool=false) const
 
virtual FloatMatrix float_matrix_value (bool=false) const
 
virtual float float_scalar_value (bool frc_str_conv=false) const
 
virtual float float_value (bool=false) const
 
virtual octave_value full_value (void) const
 
fcn function (void) const
 
octave_functionfunction_value (bool=false)
 
virtual float_display_format get_edit_display_format (void) const
 
octave::dynamic_library get_shlib (void) const
 
void grab (void)
 
bool handles_dispatch_class (const std::string &dispatch_type) const
 
virtual bool has_subfunctions (void) const
 
virtual idx_vector index_vector (bool require_integers=false) const
 
virtual int16NDArray int16_array_value (void) const
 
virtual octave_int16 int16_scalar_value (void) const
 
virtual int32NDArray int32_array_value (void) const
 
virtual octave_int32 int32_scalar_value (void) const
 
virtual int64NDArray int64_array_value (void) const
 
virtual octave_int64 int64_scalar_value (void) const
 
virtual int64_t int64_value (bool=false, bool=false) const
 
virtual int8NDArray int8_array_value (void) const
 
virtual octave_int8 int8_scalar_value (void) const
 
virtual int int_value (bool=false, bool=false) const
 
virtual bool is_all_va_args (void) const
 
virtual bool is_anonymous_function (void) const
 
virtual bool is_anonymous_function_of_class (const std::string &="") const
 
virtual bool is_bool_matrix (void) const
 
virtual bool is_bool_scalar (void) const
 
bool is_builtin_function (void) const
 
virtual bool is_char_matrix (void) const
 
bool is_class_constructor (const std::string &cname="") const
 
bool is_class_method (const std::string &cname="") const
 
virtual bool is_classdef_constructor (const std::string &="") const
 
virtual bool is_classdef_meta (void) const
 
virtual bool is_classdef_method (const std::string &="") const
 
virtual bool is_classdef_object (void) const
 
virtual bool is_classdef_superclass_ref (void) const
 
virtual bool is_complex_matrix (void) const
 
virtual bool is_complex_scalar (void) const
 
virtual bool is_constant (void) const
 
virtual bool is_cs_list (void) const
 
bool is_defined (void) const
 
virtual bool is_diag_matrix (void) const
 
bool is_dld_function (void) const
 
virtual bool is_double_type (void) const
 
bool is_function (void) const
 
virtual bool is_function_handle (void) const
 
virtual bool is_inline_function (void) const
 
virtual bool is_instance_of (const std::string &) const
 
virtual bool is_int16_type (void) const
 
virtual bool is_int32_type (void) const
 
virtual bool is_int64_type (void) const
 
virtual bool is_int8_type (void) const
 
virtual bool is_legacy_constructor (const std::string &="") const
 
virtual bool is_legacy_method (const std::string &="") const
 
virtual bool is_magic_colon (void) const
 
virtual bool is_matrix_type (void) const
 
virtual bool is_mex_function (void) const
 
virtual bool is_nested_function (void) const
 
virtual bool is_package (void) const
 
virtual bool is_parent_function (void) const
 
virtual bool is_perm_matrix (void) const
 
bool is_private_function (void) const
 
bool is_private_function_of_class (const std::string &nm) const
 
virtual bool is_range (void) const
 
virtual bool is_real_matrix (void) const
 
virtual bool is_real_scalar (void) const
 
bool is_relative (void) const
 
virtual bool is_scalar_type (void) const
 
virtual bool is_single_type (void) const
 
virtual sortmode is_sorted_rows (sortmode mode=UNSORTED) const
 
virtual bool is_sq_string (void) const
 
virtual bool is_string (void) const
 
virtual bool is_subfunction (void) const
 
bool is_system_fcn_file (void) const
 
virtual bool is_true (void) const
 
virtual bool is_uint16_type (void) const
 
virtual bool is_uint32_type (void) const
 
virtual bool is_uint64_type (void) const
 
virtual bool is_uint8_type (void) const
 
virtual bool is_user_code (void) const
 
virtual bool is_user_function (void) const
 
virtual bool is_user_script (void) const
 
bool is_zero_by_zero (void) const
 
virtual bool iscell (void) const
 
virtual bool iscellstr (void) const
 
virtual bool iscomplex (void) const
 
bool isempty (void) const
 
virtual bool isfloat (void) const
 
virtual bool isinteger (void) const
 
virtual bool isjava (void) const
 
bool islocked (void) const
 
virtual bool islogical (void) const
 
virtual bool isnull (void) const
 
virtual bool isnumeric (void) const
 
virtual bool isobject (void) const
 
virtual bool isreal (void) const
 
virtual sortmode issorted (sortmode mode=UNSORTED) const
 
virtual bool issparse (void) const
 
virtual bool isstruct (void) const
 
virtual octave_value_list list_value (void) const
 
virtual bool load_ascii (std::istream &is)
 
virtual bool load_binary (std::istream &is, bool swap, octave::mach_info::float_format fmt)
 
virtual bool load_hdf5 (octave_hdf5_id loc_id, const char *name)
 
void lock (void)
 
virtual void lock_subfunctions (void)
 
virtual long int long_value (bool=false, bool=false) const
 
virtual octave_value map (unary_mapper_t) const
 
virtual string_vector map_keys (void) const
 
virtual octave_map map_value (void) const
 
virtual void mark_as_private_function (const std::string &cname="")
 
void mark_fcn_file_up_to_date (const octave::sys::time &t)
 
void mark_relative (void)
 
virtual MatrixType matrix_type (const MatrixType &typ) const
 
virtual MatrixType matrix_type (void) const
 
virtual Matrix matrix_value (bool=false) const
 
virtual void maybe_economize (void)
 
virtual void maybe_relocate_end (void)
 
meth method (void) const
 
virtual void * mex_get_data (void) const
 
virtual octave_idx_typemex_get_ir (void) const
 
virtual octave_idx_typemex_get_jc (void) const
 
std::string name (void) const
 
virtual int ndims (void) const
 
virtual octave_idx_type nfields (void) const
 
virtual int nint_value (bool=false) const
 
virtual octave_idx_type nnz (void) const
 
virtual size_t nparents (void) const
 
virtual octave_idx_type numel (void) const
 
virtual type_conv_info numeric_conversion_function (void) const
 
virtual type_conv_info numeric_demotion_function (void) const
 
virtual octave_idx_type nzmax (void) const
 
octave_dld_functionoperator= (const octave_dld_function &fn)=delete
 
std::string package_name (void) const
 
virtual std::list< std::string > parent_class_name_list (void) const
 
virtual string_vector parent_class_names (void) const
 
virtual std::string parent_fcn_name (void) const
 
virtual std::list< std::string > parent_fcn_names (void) const
 
virtual octave::symbol_scope parent_fcn_scope (void) const
 
virtual PermMatrix perm_matrix_value (void) const
 
virtual octave_value permute (const Array< int > &vec, bool=false) const
 
virtual void print (std::ostream &os, bool pr_as_read_syntax=false)
 
virtual bool print_as_scalar (void) const
 
virtual void print_info (std::ostream &os, const std::string &prefix) const
 
virtual bool print_name_tag (std::ostream &os, const std::string &name) const
 
virtual void print_raw (std::ostream &os, bool pr_as_read_syntax=false) const
 
virtual void print_with_name (std::ostream &output_buf, const std::string &name, bool print_padding=true)
 
virtual std::string profiler_name (void) const
 
void push_dispatch_class (const std::string &dispatch_type)
 
virtual Range range_value (void) const
 
void release (void)
 
virtual octave_value reshape (const dim_vector &) const
 
virtual octave_value resize (const dim_vector &, bool fill=false) const
 
octave_idx_type rows (void) const
 
virtual bool save_ascii (std::ostream &os)
 
virtual bool save_binary (std::ostream &os, bool save_as_floats)
 
virtual bool save_hdf5 (octave_hdf5_id loc_id, const char *name, bool save_as_floats)
 
virtual octave_scalar_map scalar_map_value (void) const
 
virtual double scalar_value (bool frc_str_conv=false) const
 
virtual octave::symbol_scope scope (void)
 
virtual void short_disp (std::ostream &os) const
 
virtual short int short_value (bool=false, bool=false) const
 
virtual Matrix size (void)
 
virtual octave_value sort (Array< octave_idx_type > &sidx, octave_idx_type dim=0, sortmode mode=ASCENDING) const
 
virtual octave_value sort (octave_idx_type dim=0, sortmode mode=ASCENDING) const
 
virtual Array< octave_idx_typesort_rows_idx (sortmode mode=ASCENDING) const
 
virtual SparseBoolMatrix sparse_bool_matrix_value (bool=false) const
 
virtual SparseComplexMatrix sparse_complex_matrix_value (bool=false) const
 
virtual SparseMatrix sparse_matrix_value (bool=false) const
 
virtual octave_value squeeze (void) const
 
std::string src_file_name (void) const
 
void stash_dir_name (const std::string &dir)
 
void stash_dispatch_class (const std::string &nm)
 
void stash_jit (octave::jit_type &type)
 
void stash_package_name (const std::string &pack)
 
virtual void stash_subfunction_names (const std::list< std::string > &)
 
virtual std::string string_value (bool force=false) const
 
virtual string_vector string_vector_value (bool pad=false) const
 
virtual std::list< std::string > subfunction_names (void) const
 
virtual octave_value subsasgn (const std::string &type, const std::list< octave_value_list > &idx, const octave_value &rhs)
 
virtual octave_value subsref (const std::string &type, const std::list< octave_value_list > &idx)
 
virtual octave_value subsref (const std::string &type, const std::list< octave_value_list > &idx, bool auto_add)
 
virtual octave_value_list subsref (const std::string &type, const std::list< octave_value_list > &idx, int nargout)
 
virtual bool takes_var_return (void) const
 
virtual bool takes_varargs (void) const
 
octave::sys::time time_checked (void) const
 
octave::sys::time time_parsed (void) const
 
octave::jit_typeto_jit (void) const
 
virtual octave_base_valuetry_narrowing_conversion (void)
 
int type_id (void) const
 
std::string type_name (void) const
 
virtual uint16NDArray uint16_array_value (void) const
 
virtual octave_uint16 uint16_scalar_value (void) const
 
virtual uint32NDArray uint32_array_value (void) const
 
virtual octave_uint32 uint32_scalar_value (void) const
 
virtual uint64NDArray uint64_array_value (void) const
 
virtual octave_uint64 uint64_scalar_value (void) const
 
virtual uint64_t uint64_value (bool=false, bool=false) const
 
virtual uint8NDArray uint8_array_value (void) const
 
virtual octave_uint8 uint8_scalar_value (void) const
 
virtual unsigned int uint_value (bool=false, bool=false) const
 
virtual unsigned long int ulong_value (bool=false, bool=false) const
 
virtual octave_value undef_subsasgn (const std::string &type, const std::list< octave_value_list > &idx, const octave_value &rhs)
 
virtual octave_base_valueunique_clone (void)
 
virtual octave_base_valueunique_parent_class (const std::string &)
 
virtual void unload (void)
 
void unlock (void)
 
virtual void unlock_subfunctions (void)
 
virtual octave_user_codeuser_code_value (bool silent=false)
 
virtual octave_user_functionuser_function_value (bool silent=false)
 
virtual octave_user_scriptuser_script_value (bool silent=false)
 
virtual unsigned short int ushort_value (bool=false, bool=false) const
 
virtual int write (octave::stream &os, int block_size, oct_data_conv::data_type output_type, int skip, octave::mach_info::float_format flt_fmt) const
 
virtual octave_idx_type xnumel (const octave_value_list &)
 
virtual std::string xstring_value () const
 

Static Public Member Functions

static octave_dld_functioncreate (octave_builtin::fcn ff, const octave::dynamic_library &shl, const std::string &nm="", const std::string &ds="")
 
static octave_dld_functioncreate (octave_builtin::meth mm, const octave::dynamic_library &shl, const std::string &nm="", const std::string &ds="")
 
static void register_type (octave::type_info &)
 
static void register_type (void)
 
static std::string static_class_name (void)
 
static int static_type_id (void)
 
static std::string static_type_name (void)
 

Protected Member Functions

int current_print_indent_level (void) const
 
void decrement_indent_level (void) const
 
void increment_indent_level (void) const
 
void indent (std::ostream &os) const
 
void newline (std::ostream &os) const
 
octave_value numeric_assign (const std::string &type, const std::list< octave_value_list > &idx, const octave_value &rhs)
 
void reset (void) const
 
void reset_indent_level (void) const
 
void warn_load (const char *type) const
 
void warn_save (const char *type) const
 

Static Protected Member Functions

static const char * get_umap_name (unary_mapper_t)
 

Protected Attributes

octave::refcount< octave_idx_typecount
 
std::set< std::string > dispatch_classes
 
std::string doc
 
fcn f
 
std::string file
 
octave::jit_typejtype
 
bool locked
 
meth m
 
std::string my_dir_name
 
std::string my_name
 
bool private_function
 
bool relative
 
std::string xdispatch_class
 
std::string xpackage_name
 

Private Member Functions

void wrong_type_arg_error (void) const
 

Private Attributes

octave::dynamic_library sh_lib
 
bool system_fcn_file
 
octave::sys::time t_checked
 

Static Private Attributes

static bool beginning_of_line = true
 
static const std::string c_name
 
static int curr_print_indent_level = 0
 
static int t_id
 
static const std::string t_name
 

Detailed Description

Definition at line 44 of file ov-dld-fcn.h.

Member Typedef Documentation

◆ fcn

typedef octave_value_list(* octave_builtin::fcn) (const octave_value_list &, int)
inherited

Definition at line 63 of file ov-builtin.h.

◆ meth

typedef octave_value_list(* octave_builtin::meth) (octave::interpreter &, const octave_value_list &, int)
inherited

Definition at line 60 of file ov-builtin.h.

◆ type_conv_fcn

typedef octave_base_value*(* octave_base_value::type_conv_fcn) (const octave_base_value &)
inherited

Definition at line 207 of file ov-base.h.

Member Enumeration Documentation

◆ unary_mapper_t

Enumerator
umap_abs 
umap_acos 
umap_acosh 
umap_angle 
umap_arg 
umap_asin 
umap_asinh 
umap_atan 
umap_atanh 
umap_cbrt 
umap_ceil 
umap_conj 
umap_cos 
umap_cosh 
umap_erf 
umap_erfinv 
umap_erfcinv 
umap_erfc 
umap_erfcx 
umap_erfi 
umap_dawson 
umap_exp 
umap_expm1 
umap_isfinite 
umap_fix 
umap_floor 
umap_gamma 
umap_imag 
umap_isinf 
umap_isna 
umap_isnan 
umap_lgamma 
umap_log 
umap_log2 
umap_log10 
umap_log1p 
umap_real 
umap_round 
umap_roundb 
umap_signum 
umap_sin 
umap_sinh 
umap_sqrt 
umap_tan 
umap_tanh 
umap_xisalnum 
umap_xisalpha 
umap_xisascii 
umap_xiscntrl 
umap_xisdigit 
umap_xisgraph 
umap_xislower 
umap_xisprint 
umap_xispunct 
umap_xisspace 
umap_xisupper 
umap_xisxdigit 
umap_xsignbit 
umap_xtolower 
umap_xtoupper 
umap_unknown 
num_unary_mappers 

Definition at line 727 of file ov-base.h.

Constructor & Destructor Documentation

◆ octave_dld_function() [1/4]

octave_dld_function::octave_dld_function ( void  )
inline

Definition at line 50 of file ov-dld-fcn.h.

Referenced by create().

◆ octave_dld_function() [2/4]

octave_dld_function::octave_dld_function ( octave_builtin::fcn  ff,
const octave::dynamic_library shl,
const std::string &  nm = "",
const std::string &  ds = "" 
)

◆ octave_dld_function() [3/4]

octave_dld_function::octave_dld_function ( octave_builtin::meth  mm,
const octave::dynamic_library shl,
const std::string &  nm = "",
const std::string &  ds = "" 
)

◆ octave_dld_function() [4/4]

octave_dld_function::octave_dld_function ( const octave_dld_function fn)
delete

◆ ~octave_dld_function()

octave_dld_function::~octave_dld_function ( void  )

Member Function Documentation

◆ accept()

virtual void octave_function::accept ( octave::tree_walker )
inlinevirtualinherited

Reimplemented in octave_user_function, and octave_user_script.

Definition at line 234 of file ov-fcn.h.

◆ accepts_postfix_index()

virtual bool octave_function::accepts_postfix_index ( char  type) const
inlinevirtualinherited

◆ all()

◆ any()

◆ array_value()

◆ as_double()

◆ as_int16()

◆ as_int32()

◆ as_int64()

◆ as_int8()

◆ as_mxArray()

◆ as_single()

◆ as_uint16()

◆ as_uint32()

◆ as_uint64()

◆ as_uint8()

◆ assign()

virtual void octave_base_value::assign ( const std::string &  ,
const octave_value  
)
inlinevirtualinherited

Reimplemented in octave_class.

Definition at line 302 of file ov-base.h.

◆ bool_array_value()

◆ bool_matrix_value()

boolMatrix octave_base_value::bool_matrix_value ( bool  = false) const
virtualinherited

◆ bool_value()

bool octave_base_value::bool_value ( bool  = false) const
virtualinherited

◆ builtin_type()

◆ byte_size()

◆ call()

◆ call_depth()

virtual int octave_function::call_depth ( void  ) const
inlinevirtualinherited

Definition at line 105 of file ov-fcn.h.

◆ call_object_destructor()

virtual void octave_base_value::call_object_destructor ( void  )
inlinevirtualinherited

Reimplemented in octave_oncleanup.

Definition at line 722 of file ov-base.h.

◆ canonical_name()

std::string octave_function::canonical_name ( void  ) const
inlineinherited

Definition at line 216 of file ov-fcn.h.

Referenced by octave::out_of_date_check().

◆ cell_value()

Cell octave_base_value::cell_value ( void  ) const
virtualinherited

Reimplemented in octave_cell.

Definition at line 535 of file ov-base.cc.

References err_wrong_type_arg(), and octave_base_value::type_name().

◆ cellstr_value()

Array< std::string > octave_base_value::cellstr_value ( void  ) const
virtualinherited

Reimplemented in octave_char_matrix_str, and octave_cell.

Definition at line 809 of file ov-base.cc.

References err_wrong_type_arg(), and octave_base_value::type_name().

◆ char_array_value()

◆ char_matrix_value()

charMatrix octave_base_value::char_matrix_value ( bool  force = false) const
virtualinherited

Reimplemented in octave_char_matrix.

Definition at line 622 of file ov-base.cc.

References octave_value::char_matrix_value(), and octave_base_value::convert_to_str().

◆ class_name()

std::string octave_dld_function::class_name ( void  ) const
inlinevirtual

Reimplemented from octave_builtin.

Definition at line 112 of file ov-dld-fcn.h.

◆ classdef_object_value()

octave_classdef * octave_base_value::classdef_object_value ( bool  silent = false)
virtualinherited

Reimplemented in octave_classdef.

Definition at line 863 of file ov-base.cc.

References err_wrong_type_arg(), and octave_base_value::type_name().

◆ clone()

octave_base_value * octave_function::clone ( void  ) const
virtualinherited

Reimplemented from octave_base_value.

Definition at line 38 of file ov-fcn.cc.

References panic_impossible.

◆ columns()

octave_idx_type octave_base_value::columns ( void  ) const
inlineinherited

Definition at line 325 of file ov-base.h.

References octave_value::dims().

Referenced by octave_sparse_bool_matrix::as_mxArray(), octave_sparse_complex_matrix::as_mxArray(), octave_sparse_matrix::as_mxArray(), octave_bool_matrix::complex_value(), octave_sparse_bool_matrix::complex_value(), octave_char_matrix::complex_value(), octave_complex_matrix::complex_value(), octave_float_complex_matrix::complex_value(), octave_float_matrix::complex_value(), octave_perm_matrix::complex_value(), octave_matrix::complex_value(), octave_sparse_matrix::complex_value(), octave_bool_matrix::double_value(), octave_char_matrix::double_value(), octave_complex_matrix::double_value(), octave_float_complex_matrix::double_value(), octave_bool_matrix::float_complex_value(), octave_char_matrix::float_complex_value(), octave_complex_matrix::float_complex_value(), octave_float_complex_matrix::float_complex_value(), octave_float_matrix::float_complex_value(), octave_perm_matrix::float_complex_value(), octave_matrix::float_complex_value(), octave_bool_matrix::float_value(), octave_char_matrix::float_value(), octave_complex_matrix::float_value(), octave_float_complex_matrix::float_value(), octave::tm_const::generic_concat(), octave_char_matrix::int64_scalar_value(), oct_binop_add_cdm_scm(), oct_binop_add_cdm_sm(), oct_binop_add_dm_scm(), oct_binop_add_dm_sm(), oct_binop_add_scm_cdm(), oct_binop_add_scm_dm(), oct_binop_add_sm_cdm(), oct_binop_add_sm_dm(), oct_binop_div(), oct_binop_div_scm_cdm(), oct_binop_div_scm_dm(), oct_binop_div_sm_cdm(), oct_binop_div_sm_dm(), oct_binop_ldiv(), oct_binop_mul_cdm_scm(), oct_binop_mul_cdm_sm(), oct_binop_mul_dm_scm(), oct_binop_mul_dm_sm(), oct_binop_mul_pm_scm(), oct_binop_mul_pm_sm(), oct_binop_mul_scm_cdm(), oct_binop_mul_scm_dm(), oct_binop_mul_scm_pm(), oct_binop_mul_sm_cdm(), oct_binop_mul_sm_dm(), oct_binop_mul_sm_pm(), oct_binop_sub_cdm_scm(), oct_binop_sub_cdm_sm(), oct_binop_sub_dm_scm(), oct_binop_sub_dm_sm(), oct_binop_sub_scm_cdm(), oct_binop_sub_scm_dm(), oct_binop_sub_sm_cdm(), oct_binop_sub_sm_dm(), octave_cell::print_raw(), octave_bool_matrix::save_ascii(), octave_cell::save_ascii(), octave_complex_matrix::save_ascii(), octave_float_complex_matrix::save_ascii(), octave_float_matrix::save_ascii(), octave_matrix::save_ascii(), and octave_char_matrix::uint64_scalar_value().

◆ complex_array_value()

◆ complex_diag_matrix_value()

◆ complex_matrix_value()

◆ complex_value()

◆ convert_to_row_or_column_vector()

void octave_base_value::convert_to_row_or_column_vector ( void  )
virtualinherited

Definition at line 396 of file ov-base.cc.

References err_wrong_type_arg(), and octave_base_value::type_name().

◆ convert_to_str()

◆ convert_to_str_internal()

◆ create() [1/2]

octave_dld_function * octave_dld_function::create ( octave_builtin::fcn  ff,
const octave::dynamic_library shl,
const std::string &  nm = "",
const std::string &  ds = "" 
)
static

Definition at line 109 of file ov-dld-fcn.cc.

References octave_dld_function().

◆ create() [2/2]

octave_dld_function * octave_dld_function::create ( octave_builtin::meth  mm,
const octave::dynamic_library shl,
const std::string &  nm = "",
const std::string &  ds = "" 
)
static

Definition at line 117 of file ov-dld-fcn.cc.

References octave_dld_function().

◆ current_print_indent_level()

◆ decrement_indent_level()

void octave_base_value::decrement_indent_level ( void  ) const
inlineprotectedinherited

◆ diag() [1/2]

◆ diag() [2/2]

◆ diag_matrix_value()

◆ dims()

◆ dir_name()

std::string octave_function::dir_name ( void  ) const
inlineinherited

Definition at line 173 of file ov-fcn.h.

Referenced by octave::tree_anon_fcn_handle::evaluate(), and octave::find_private_file().

◆ dispatch_class()

◆ do_index_op()

◆ doc_string()

virtual std::string octave_function::doc_string ( const std::string &  = "") const
inlinevirtualinherited

◆ document()

void octave_function::document ( const std::string &  ds)
inlineinherited

Definition at line 224 of file ov-fcn.h.

Referenced by octave::load_fcn_from_file(), and octave::base_parser::start_function().

◆ double_value()

◆ dump()

octave_value octave_base_value::dump ( void  ) const
virtualinherited

◆ edit_display()

◆ empty_clone()

octave_base_value * octave_function::empty_clone ( void  ) const
virtualinherited

Reimplemented from octave_base_value.

Definition at line 44 of file ov-fcn.cc.

References panic_impossible.

◆ erase_subfunctions()

virtual void octave_base_value::erase_subfunctions ( void  )
inlinevirtualinherited

Reimplemented in octave_user_function.

Definition at line 481 of file ov-base.h.

◆ execute()

◆ fast_elem_extract()

◆ fast_elem_insert()

◆ fast_elem_insert_self()

◆ fcn_file_name()

std::string octave_dld_function::fcn_file_name ( void  ) const
virtual

Reimplemented from octave_function.

Definition at line 86 of file ov-dld-fcn.cc.

References octave::dynamic_library::file_name(), and sh_lib.

Referenced by octave_dld_function().

◆ fcn_handle_value()

octave_fcn_handle * octave_base_value::fcn_handle_value ( bool  silent = false)
virtualinherited

Reimplemented in octave_fcn_handle.

Definition at line 909 of file ov-base.cc.

References err_wrong_type_arg(), and octave_base_value::type_name().

◆ find_parent_class()

virtual octave_base_value* octave_base_value::find_parent_class ( const std::string &  )
inlinevirtualinherited

◆ float_array_value()

◆ float_complex_array_value()

◆ float_complex_diag_matrix_value()

FloatComplexDiagMatrix octave_base_value::float_complex_diag_matrix_value ( bool  = false) const
virtualinherited

◆ float_complex_matrix_value()

◆ float_complex_value()

◆ float_diag_matrix_value()

FloatDiagMatrix octave_base_value::float_diag_matrix_value ( bool  = false) const
virtualinherited

◆ float_matrix_value()

◆ float_scalar_value()

virtual float octave_base_value::float_scalar_value ( bool  frc_str_conv = false) const
inlinevirtualinherited

◆ float_value()

◆ full_value()

◆ function()

octave_builtin::fcn octave_builtin::function ( void  ) const
inherited

Definition at line 103 of file ov-builtin.cc.

References octave_builtin::f.

Referenced by octave::jit_typeinfo::register_generic().

◆ function_value()

octave_function* octave_builtin::function_value ( bool  = false)
inlinevirtualinherited

Reimplemented from octave_base_value.

Definition at line 95 of file ov-builtin.h.

◆ get_edit_display_format()

◆ get_shlib()

octave::dynamic_library octave_dld_function::get_shlib ( void  ) const
inline

Definition at line 96 of file ov-dld-fcn.h.

Referenced by get_current_shlib().

◆ get_umap_name()

const char * octave_base_value::get_umap_name ( unary_mapper_t  umap)
staticprotectedinherited

Definition at line 1017 of file ov-base.cc.

References octave_base_value::num_unary_mappers.

Referenced by octave_char_matrix::map(), and octave_base_value::map().

◆ grab()

◆ handles_dispatch_class()

bool octave_builtin::handles_dispatch_class ( const std::string &  dispatch_type) const
virtualinherited

Reimplemented from octave_function.

Definition at line 121 of file ov-builtin.cc.

References octave_builtin::dispatch_classes.

◆ has_subfunctions()

virtual bool octave_function::has_subfunctions ( void  ) const
inlinevirtualinherited

Reimplemented in octave_user_function.

Definition at line 201 of file ov-fcn.h.

◆ increment_indent_level()

void octave_base_value::increment_indent_level ( void  ) const
inlineprotectedinherited

◆ indent()

◆ index_vector()

◆ int16_array_value()

◆ int16_scalar_value()

octave_int16 octave_base_value::int16_scalar_value ( void  ) const
virtualinherited

◆ int32_array_value()

◆ int32_scalar_value()

octave_int32 octave_base_value::int32_scalar_value ( void  ) const
virtualinherited

Reimplemented in octave_scalar, octave_uint64_scalar, octave_float_scalar, and octave_bool.

Definition at line 701 of file ov-base.cc.

◆ int64_array_value()

◆ int64_scalar_value()

octave_int64 octave_base_value::int64_scalar_value ( void  ) const
virtualinherited

◆ int64_value()

int64_t octave_base_value::int64_value ( bool  require_int = false,
bool  frc_str_conv = false 
) const
virtualinherited

Definition at line 499 of file ov-base.cc.

◆ int8_array_value()

◆ int8_scalar_value()

octave_int8 octave_base_value::int8_scalar_value ( void  ) const
virtualinherited

◆ int_value()

int octave_base_value::int_value ( bool  require_int = false,
bool  frc_str_conv = false 
) const
virtualinherited

Definition at line 493 of file ov-base.cc.

◆ is_all_va_args()

virtual bool octave_base_value::is_all_va_args ( void  ) const
inlinevirtualinherited

Definition at line 407 of file ov-base.h.

◆ is_anonymous_function()

virtual bool octave_base_value::is_anonymous_function ( void  ) const
inlinevirtualinherited

Reimplemented in octave_user_function.

Definition at line 463 of file ov-base.h.

Referenced by octave::stack_frame::fcn_name(), and octave::out_of_date_check().

◆ is_anonymous_function_of_class()

virtual bool octave_function::is_anonymous_function_of_class ( const std::string &  = "") const
inlinevirtualinherited

Reimplemented in octave_user_function.

Definition at line 170 of file ov-fcn.h.

Referenced by octave::get_class_context(), and octave_class::in_class_method().

◆ is_bool_matrix()

virtual bool octave_base_value::is_bool_matrix ( void  ) const
inlinevirtualinherited

Reimplemented in octave_sparse_bool_matrix, and octave_bool_matrix.

Definition at line 375 of file ov-base.h.

◆ is_bool_scalar()

virtual bool octave_base_value::is_bool_scalar ( void  ) const
inlinevirtualinherited

Reimplemented in octave_bool.

Definition at line 373 of file ov-base.h.

◆ is_builtin_function()

bool octave_dld_function::is_builtin_function ( void  ) const
inlinevirtual

Reimplemented from octave_builtin.

Definition at line 82 of file ov-dld-fcn.h.

◆ is_char_matrix()

virtual bool octave_base_value::is_char_matrix ( void  ) const
inlinevirtualinherited

Reimplemented in octave_char_matrix.

Definition at line 377 of file ov-base.h.

◆ is_class_constructor()

◆ is_class_method()

◆ is_classdef_constructor()

virtual bool octave_function::is_classdef_constructor ( const std::string &  = "") const
inlinevirtualinherited

◆ is_classdef_meta()

virtual bool octave_base_value::is_classdef_meta ( void  ) const
inlinevirtualinherited

Reimplemented in octave_classdef_meta.

Definition at line 393 of file ov-base.h.

◆ is_classdef_method()

virtual bool octave_function::is_classdef_method ( const std::string &  = "") const
inlinevirtualinherited

Reimplemented in octave_user_function, and octave_classdef_meta.

Definition at line 134 of file ov-fcn.h.

◆ is_classdef_object()

virtual bool octave_base_value::is_classdef_object ( void  ) const
inlinevirtualinherited

Reimplemented in octave_classdef.

Definition at line 397 of file ov-base.h.

◆ is_classdef_superclass_ref()

virtual bool octave_base_value::is_classdef_superclass_ref ( void  ) const
inlinevirtualinherited

Reimplemented in octave_classdef_superclass_ref.

Definition at line 395 of file ov-base.h.

◆ is_complex_matrix()

virtual bool octave_base_value::is_complex_matrix ( void  ) const
inlinevirtualinherited

◆ is_complex_scalar()

virtual bool octave_base_value::is_complex_scalar ( void  ) const
inlinevirtualinherited

Reimplemented in octave_float_complex, and octave_complex.

Definition at line 369 of file ov-base.h.

◆ is_constant()

◆ is_cs_list()

virtual bool octave_base_value::is_cs_list ( void  ) const
inlinevirtualinherited

Reimplemented in octave_cs_list.

Definition at line 403 of file ov-base.h.

◆ is_defined()

bool octave_function::is_defined ( void  ) const
inlinevirtualinherited

Reimplemented from octave_base_value.

Definition at line 72 of file ov-fcn.h.

◆ is_diag_matrix()

◆ is_dld_function()

bool octave_dld_function::is_dld_function ( void  ) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 84 of file ov-dld-fcn.h.

◆ is_double_type()

virtual bool octave_base_value::is_double_type ( void  ) const
inlinevirtualinherited

◆ is_function()

bool octave_function::is_function ( void  ) const
inlinevirtualinherited

Reimplemented from octave_base_value.

Definition at line 74 of file ov-fcn.h.

◆ is_function_handle()

virtual bool octave_base_value::is_function_handle ( void  ) const
inlinevirtualinherited

Reimplemented in octave_fcn_handle.

Definition at line 461 of file ov-base.h.

◆ is_inline_function()

virtual bool octave_base_value::is_inline_function ( void  ) const
inlinevirtualinherited

Reimplemented in octave_user_function, and octave_inline.

Definition at line 465 of file ov-base.h.

◆ is_instance_of()

virtual bool octave_base_value::is_instance_of ( const std::string &  ) const
inlinevirtualinherited

Reimplemented in octave_classdef, octave_java, and octave_class.

Definition at line 618 of file ov-base.h.

◆ is_int16_type()

virtual bool octave_base_value::is_int16_type ( void  ) const
inlinevirtualinherited

Definition at line 423 of file ov-base.h.

◆ is_int32_type()

virtual bool octave_base_value::is_int32_type ( void  ) const
inlinevirtualinherited

Definition at line 425 of file ov-base.h.

◆ is_int64_type()

virtual bool octave_base_value::is_int64_type ( void  ) const
inlinevirtualinherited

Definition at line 427 of file ov-base.h.

◆ is_int8_type()

virtual bool octave_base_value::is_int8_type ( void  ) const
inlinevirtualinherited

Definition at line 421 of file ov-base.h.

◆ is_legacy_constructor()

virtual bool octave_function::is_legacy_constructor ( const std::string &  = "") const
inlinevirtualinherited

Reimplemented in octave_user_function.

Definition at line 124 of file ov-fcn.h.

◆ is_legacy_method()

virtual bool octave_function::is_legacy_method ( const std::string &  = "") const
inlinevirtualinherited

Reimplemented in octave_user_function.

Definition at line 131 of file ov-fcn.h.

◆ is_magic_colon()

virtual bool octave_base_value::is_magic_colon ( void  ) const
inlinevirtualinherited

Reimplemented in octave_magic_colon.

Definition at line 405 of file ov-base.h.

Referenced by octave_cell::subsasgn(), and octave_struct::subsasgn().

◆ is_matrix_type()

◆ is_mex_function()

virtual bool octave_base_value::is_mex_function ( void  ) const
inlinevirtualinherited

Reimplemented in octave_mex_function.

Definition at line 479 of file ov-base.h.

Referenced by get_current_shlib().

◆ is_nested_function()

virtual bool octave_function::is_nested_function ( void  ) const
inlinevirtualinherited

◆ is_package()

virtual bool octave_base_value::is_package ( void  ) const
inlinevirtualinherited

Reimplemented in octave_classdef_meta.

Definition at line 399 of file ov-base.h.

◆ is_parent_function()

virtual bool octave_function::is_parent_function ( void  ) const
inlinevirtualinherited

Reimplemented in octave_user_function.

Definition at line 109 of file ov-fcn.h.

Referenced by octave::tree_anon_fcn_handle::evaluate().

◆ is_perm_matrix()

virtual bool octave_base_value::is_perm_matrix ( void  ) const
inlinevirtualinherited

Reimplemented in octave_perm_matrix.

Definition at line 381 of file ov-base.h.

◆ is_private_function()

bool octave_function::is_private_function ( void  ) const
inlineinherited

Definition at line 164 of file ov-fcn.h.

Referenced by octave::get_class_context(), and octave::tree_evaluator::make_fcn_handle().

◆ is_private_function_of_class()

bool octave_function::is_private_function_of_class ( const std::string &  nm) const
inlineinherited

Definition at line 166 of file ov-fcn.h.

Referenced by octave_class::in_class_method().

◆ is_range()

virtual bool octave_base_value::is_range ( void  ) const
inlinevirtualinherited

Reimplemented in octave_range.

Definition at line 387 of file ov-base.h.

◆ is_real_matrix()

virtual bool octave_base_value::is_real_matrix ( void  ) const
inlinevirtualinherited

◆ is_real_scalar()

virtual bool octave_base_value::is_real_scalar ( void  ) const
inlinevirtualinherited

◆ is_relative()

bool octave_function::is_relative ( void  ) const
inlineinherited

Definition at line 212 of file ov-fcn.h.

Referenced by octave::out_of_date_check().

◆ is_scalar_type()

virtual bool octave_base_value::is_scalar_type ( void  ) const
inlinevirtualinherited

◆ is_single_type()

virtual bool octave_base_value::is_single_type ( void  ) const
inlinevirtualinherited

◆ is_sorted_rows()

◆ is_sq_string()

virtual bool octave_base_value::is_sq_string ( void  ) const
inlinevirtualinherited

Reimplemented in octave_char_matrix_sq_str.

Definition at line 385 of file ov-base.h.

Referenced by octave_char_matrix_str::edit_display(), and octave_char_matrix_str::resize().

◆ is_string()

virtual bool octave_base_value::is_string ( void  ) const
inlinevirtualinherited

Reimplemented in octave_char_matrix_str.

Definition at line 383 of file ov-base.h.

Referenced by octave_class::string_vector_value().

◆ is_subfunction()

virtual bool octave_function::is_subfunction ( void  ) const
inlinevirtualinherited

Reimplemented in octave_user_function.

Definition at line 111 of file ov-fcn.h.

Referenced by octave::tree_evaluator::make_fcn_handle(), and octave::out_of_date_check().

◆ is_system_fcn_file()

bool octave_dld_function::is_system_fcn_file ( void  ) const
inlinevirtual

Reimplemented from octave_function.

Definition at line 80 of file ov-dld-fcn.h.

◆ is_true()

◆ is_uint16_type()

virtual bool octave_base_value::is_uint16_type ( void  ) const
inlinevirtualinherited

Definition at line 431 of file ov-base.h.

◆ is_uint32_type()

virtual bool octave_base_value::is_uint32_type ( void  ) const
inlinevirtualinherited

Definition at line 433 of file ov-base.h.

◆ is_uint64_type()

virtual bool octave_base_value::is_uint64_type ( void  ) const
inlinevirtualinherited

Reimplemented in octave_uint64_scalar, and octave_uint64_matrix.

Definition at line 435 of file ov-base.h.

◆ is_uint8_type()

virtual bool octave_base_value::is_uint8_type ( void  ) const
inlinevirtualinherited

Definition at line 429 of file ov-base.h.

◆ is_user_code()

virtual bool octave_base_value::is_user_code ( void  ) const
inlinevirtualinherited

◆ is_user_function()

virtual bool octave_base_value::is_user_function ( void  ) const
inlinevirtualinherited

Reimplemented in octave_user_function.

Definition at line 471 of file ov-base.h.

Referenced by octave::find_fcn_by_line(), and octave::tree_evaluator::maybe_set_echo_state().

◆ is_user_script()

virtual bool octave_base_value::is_user_script ( void  ) const
inlinevirtualinherited

Reimplemented in octave_user_script.

Definition at line 469 of file ov-base.h.

◆ is_zero_by_zero()

bool octave_base_value::is_zero_by_zero ( void  ) const
inlineinherited

Definition at line 359 of file ov-base.h.

References octave_value::dims(), and dim_vector::zero_by_zero().

Referenced by octave_char_matrix_str::edit_display().

◆ iscell()

virtual bool octave_base_value::iscell ( void  ) const
inlinevirtualinherited

Reimplemented in octave_cell.

Definition at line 361 of file ov-base.h.

◆ iscellstr()

virtual bool octave_base_value::iscellstr ( void  ) const
inlinevirtualinherited

Reimplemented in octave_cell.

Definition at line 363 of file ov-base.h.

◆ iscomplex()

virtual bool octave_base_value::iscomplex ( void  ) const
inlinevirtualinherited

◆ isempty()

◆ isfloat()

◆ isinteger()

virtual bool octave_base_value::isinteger ( void  ) const
inlinevirtualinherited

Reimplemented in octave_uint64_scalar, and octave_uint64_matrix.

Definition at line 439 of file ov-base.h.

◆ isjava()

virtual bool octave_base_value::isjava ( void  ) const
inlinevirtualinherited

Reimplemented in octave_java.

Definition at line 401 of file ov-base.h.

◆ islocked()

bool octave_function::islocked ( void  ) const
inlinevirtualinherited

Reimplemented from octave_base_value.

Definition at line 189 of file ov-fcn.h.

Referenced by octave::tree_evaluator::mislocked(), and octave::interpreter::mislocked().

◆ islogical()

virtual bool octave_base_value::islogical ( void  ) const
inlinevirtualinherited

Reimplemented in octave_bool, octave_sparse_bool_matrix, and octave_bool_matrix.

Definition at line 437 of file ov-base.h.

◆ isnull()

virtual bool octave_base_value::isnull ( void  ) const
inlinevirtualinherited

Reimplemented in octave_null_sq_str, octave_null_str, and octave_null_matrix.

Definition at line 457 of file ov-base.h.

◆ isnumeric()

◆ isobject()

virtual bool octave_base_value::isobject ( void  ) const
inlinevirtualinherited

Reimplemented in octave_oncleanup, octave_classdef, and octave_class.

Definition at line 391 of file ov-base.h.

Referenced by oct_binop_default().

◆ isreal()

◆ issorted()

◆ issparse()

virtual bool octave_base_value::issparse ( void  ) const
inlinevirtualinherited

◆ isstruct()

virtual bool octave_base_value::isstruct ( void  ) const
inlinevirtualinherited

Reimplemented in octave_scalar_struct, octave_struct, octave_java, octave_classdef, and octave_class.

Definition at line 389 of file ov-base.h.

◆ list_value()

octave_value_list octave_base_value::list_value ( void  ) const
virtualinherited

Reimplemented in octave_cs_list, and octave_cell.

Definition at line 918 of file ov-base.cc.

References err_wrong_type_arg(), and octave_base_value::type_name().

◆ load_ascii()

◆ load_binary()

◆ load_hdf5()

◆ lock()

void octave_function::lock ( void  )
inlinevirtualinherited

Reimplemented from octave_base_value.

Definition at line 177 of file ov-fcn.h.

Referenced by octave::tree_evaluator::mlock().

◆ lock_subfunctions()

virtual void octave_function::lock_subfunctions ( void  )
inlinevirtualinherited

Reimplemented in octave_user_function.

Definition at line 194 of file ov-fcn.h.

◆ long_value()

long int octave_base_value::long_value ( bool  require_int = false,
bool  frc_str_conv = false 
) const
virtualinherited

Definition at line 496 of file ov-base.cc.

◆ map()

◆ map_keys()

string_vector octave_base_value::map_keys ( void  ) const
virtualinherited

◆ map_value()

octave_map octave_base_value::map_value ( void  ) const
virtualinherited

◆ mark_as_private_function()

virtual void octave_function::mark_as_private_function ( const std::string &  cname = "")
inlinevirtualinherited

◆ mark_fcn_file_up_to_date()

void octave_dld_function::mark_fcn_file_up_to_date ( const octave::sys::time t)
inlinevirtual

Reimplemented from octave_function.

Definition at line 72 of file ov-dld-fcn.h.

Referenced by octave_dld_function().

◆ mark_relative()

void octave_function::mark_relative ( void  )
inlineinherited

◆ matrix_type() [1/2]

◆ matrix_type() [2/2]

◆ matrix_value()

◆ maybe_economize()

◆ maybe_relocate_end()

virtual void octave_function::maybe_relocate_end ( void  )
inlinevirtualinherited

Reimplemented in octave_user_function.

Definition at line 198 of file ov-fcn.h.

◆ method()

octave_builtin::meth octave_builtin::method ( void  ) const
inherited

Definition at line 109 of file ov-builtin.cc.

References octave_builtin::m.

◆ mex_get_data()

◆ mex_get_ir()

virtual octave_idx_type* octave_base_value::mex_get_ir ( void  ) const
inlinevirtualinherited

◆ mex_get_jc()

virtual octave_idx_type* octave_base_value::mex_get_jc ( void  ) const
inlinevirtualinherited

◆ name()

◆ ndims()

◆ newline()

◆ nfields()

octave_idx_type octave_base_value::nfields ( void  ) const
virtualinherited

Reimplemented in octave_scalar_struct, octave_struct, and octave_class.

Definition at line 329 of file ov-base.cc.

References err_wrong_type_arg(), and octave_base_value::type_name().

◆ nint_value()

int octave_base_value::nint_value ( bool  frc_str_conv = false) const
virtualinherited

Definition at line 503 of file ov-base.cc.

References d, err_wrong_type_arg(), error(), octave::math::fix(), and octave::math::isnan().

◆ nnz()

◆ nparents()

size_t octave_base_value::nparents ( void  ) const
virtualinherited

Reimplemented in octave_class.

Definition at line 844 of file ov-base.cc.

References err_wrong_type_arg(), and octave_base_value::type_name().

◆ numel()

◆ numeric_assign()

◆ numeric_conversion_function()

◆ numeric_demotion_function()

virtual type_conv_info octave_base_value::numeric_demotion_function ( void  ) const
inlinevirtualinherited

◆ nzmax()

octave_idx_type octave_base_value::nzmax ( void  ) const
virtualinherited

◆ operator=()

octave_dld_function& octave_dld_function::operator= ( const octave_dld_function fn)
delete

◆ package_name()

std::string octave_function::package_name ( void  ) const
inlineinherited

Definition at line 155 of file ov-fcn.h.

Referenced by octave::out_of_date_check().

◆ parent_class_name_list()

std::list< std::string > octave_base_value::parent_class_name_list ( void  ) const
virtualinherited

Reimplemented in octave_class.

Definition at line 850 of file ov-base.cc.

References err_wrong_type_arg(), and octave_base_value::type_name().

◆ parent_class_names()

string_vector octave_base_value::parent_class_names ( void  ) const
virtualinherited

Reimplemented in octave_class.

Definition at line 857 of file ov-base.cc.

References err_wrong_type_arg(), and octave_base_value::type_name().

◆ parent_fcn_name()

virtual std::string octave_function::parent_fcn_name ( void  ) const
inlinevirtualinherited

Reimplemented in octave_user_function.

Definition at line 85 of file ov-fcn.h.

Referenced by octave::stack_frame::fcn_name().

◆ parent_fcn_names()

virtual std::list<std::string> octave_function::parent_fcn_names ( void  ) const
inlinevirtualinherited

Reimplemented in octave_user_function.

Definition at line 90 of file ov-fcn.h.

Referenced by octave::tree_evaluator::make_fcn_handle().

◆ parent_fcn_scope()

virtual octave::symbol_scope octave_function::parent_fcn_scope ( void  ) const
inlinevirtualinherited

Reimplemented in octave_user_function.

Definition at line 87 of file ov-fcn.h.

◆ perm_matrix_value()

PermMatrix octave_base_value::perm_matrix_value ( void  ) const
virtualinherited

◆ permute()

◆ print()

◆ print_as_scalar()

◆ print_info()

◆ print_name_tag()

◆ print_raw()

◆ print_with_name()

void octave_base_value::print_with_name ( std::ostream &  output_buf,
const std::string &  name,
bool  print_padding = true 
)
virtualinherited

◆ profiler_name()

virtual std::string octave_function::profiler_name ( void  ) const
inlinevirtualinherited

Reimplemented in octave_user_function.

Definition at line 83 of file ov-fcn.h.

References name.

Referenced by octave::bp_table::parse_dbfunction_params().

◆ push_dispatch_class()

void octave_builtin::push_dispatch_class ( const std::string &  dispatch_type)
virtualinherited

Reimplemented from octave_function.

Definition at line 115 of file ov-builtin.cc.

References octave_builtin::dispatch_classes.

◆ range_value()

Range octave_base_value::range_value ( void  ) const
virtualinherited

Reimplemented in octave_range.

Definition at line 815 of file ov-base.cc.

References err_wrong_type_arg(), and octave_base_value::type_name().

Referenced by octave::octave_jit_cast_range_any().

◆ register_type() [1/2]

void octave_dld_function::register_type ( octave::type_info ti)
static

Definition at line 43 of file ov-dld-fcn.cc.

◆ register_type() [2/2]

void octave_dld_function::register_type ( void  )
static

Definition at line 43 of file ov-dld-fcn.cc.

Referenced by install_types().

◆ release()

◆ reset()

void octave_base_value::reset ( void  ) const
protectedinherited

◆ reset_indent_level()

void octave_base_value::reset_indent_level ( void  ) const
inlineprotectedinherited

Definition at line 838 of file ov-base.h.

◆ reshape()

◆ resize()

◆ rows()

octave_idx_type octave_base_value::rows ( void  ) const
inlineinherited

Definition at line 318 of file ov-base.h.

References octave_value::dims().

Referenced by octave_sparse_bool_matrix::as_mxArray(), octave_sparse_complex_matrix::as_mxArray(), octave_sparse_matrix::as_mxArray(), octave_bool_matrix::complex_value(), octave_sparse_bool_matrix::complex_value(), octave_char_matrix::complex_value(), octave_complex_matrix::complex_value(), octave_float_complex_matrix::complex_value(), octave_float_matrix::complex_value(), octave_perm_matrix::complex_value(), octave_matrix::complex_value(), octave_sparse_matrix::complex_value(), octave_bool_matrix::double_value(), octave_char_matrix::double_value(), octave_complex_matrix::double_value(), octave_float_complex_matrix::double_value(), octave_char_matrix_str::edit_display(), octave_bool_matrix::float_complex_value(), octave_char_matrix::float_complex_value(), octave_complex_matrix::float_complex_value(), octave_float_complex_matrix::float_complex_value(), octave_float_matrix::float_complex_value(), octave_perm_matrix::float_complex_value(), octave_matrix::float_complex_value(), octave_bool_matrix::float_value(), octave_char_matrix::float_value(), octave_complex_matrix::float_value(), octave_float_complex_matrix::float_value(), octave::tm_const::generic_concat(), octave_char_matrix::int64_scalar_value(), oct_binop_add_cdm_scm(), oct_binop_add_cdm_sm(), oct_binop_add_dm_scm(), oct_binop_add_dm_sm(), oct_binop_add_scm_cdm(), oct_binop_add_scm_dm(), oct_binop_add_sm_cdm(), oct_binop_add_sm_dm(), oct_binop_div(), oct_binop_div_scm_cdm(), oct_binop_div_scm_dm(), oct_binop_div_sm_cdm(), oct_binop_div_sm_dm(), oct_binop_ldiv(), oct_binop_mul_cdm_scm(), oct_binop_mul_cdm_sm(), oct_binop_mul_dm_scm(), oct_binop_mul_dm_sm(), oct_binop_mul_pm_scm(), oct_binop_mul_pm_sm(), oct_binop_mul_scm_cdm(), oct_binop_mul_scm_dm(), oct_binop_mul_scm_pm(), oct_binop_mul_sm_cdm(), oct_binop_mul_sm_dm(), oct_binop_mul_sm_pm(), oct_binop_sub_cdm_scm(), oct_binop_sub_cdm_sm(), oct_binop_sub_dm_scm(), oct_binop_sub_dm_sm(), oct_binop_sub_scm_cdm(), oct_binop_sub_scm_dm(), oct_binop_sub_sm_cdm(), oct_binop_sub_sm_dm(), octave_cell::print_raw(), octave_bool_matrix::save_ascii(), octave_cell::save_ascii(), octave_complex_matrix::save_ascii(), octave_float_complex_matrix::save_ascii(), octave_float_matrix::save_ascii(), octave_matrix::save_ascii(), and octave_char_matrix::uint64_scalar_value().

◆ save_ascii()

◆ save_binary()

◆ save_hdf5()

◆ scalar_map_value()

octave_scalar_map octave_base_value::scalar_map_value ( void  ) const
virtualinherited

◆ scalar_value()

◆ scope()

virtual octave::symbol_scope octave_function::scope ( void  )
inlinevirtualinherited

Reimplemented in octave_user_code.

Definition at line 97 of file ov-fcn.h.

◆ short_disp()

◆ short_value()

short int octave_base_value::short_value ( bool  require_int = false,
bool  frc_str_conv = false 
) const
virtualinherited

Definition at line 490 of file ov-base.cc.

◆ size()

Matrix octave_base_value::size ( void  )
virtualinherited

Reimplemented in octave_classdef, and octave_class.

Definition at line 185 of file ov-base.cc.

References octave_base_value::dims(), and dim_vector::ndims().

Referenced by octave_class::size(), and octave_classdef::size().

◆ sort() [1/2]

◆ sort() [2/2]

◆ sort_rows_idx()

◆ sparse_bool_matrix_value()

SparseBoolMatrix octave_base_value::sparse_bool_matrix_value ( bool  = false) const
virtualinherited

◆ sparse_complex_matrix_value()

◆ sparse_matrix_value()

◆ squeeze()

◆ src_file_name()

std::string octave_builtin::src_file_name ( void  ) const
inlinevirtualinherited

Reimplemented from octave_function.

Definition at line 93 of file ov-builtin.h.

◆ stash_dir_name()

void octave_function::stash_dir_name ( const std::string &  dir)
inlineinherited

◆ stash_dispatch_class()

void octave_function::stash_dispatch_class ( const std::string &  nm)
inlineinherited

◆ stash_jit()

void octave_builtin::stash_jit ( octave::jit_type type)
inherited

Definition at line 97 of file ov-builtin.cc.

References octave_builtin::jtype.

Referenced by octave::jit_typeinfo::add_builtin().

◆ stash_package_name()

void octave_function::stash_package_name ( const std::string &  pack)
inlineinherited

Definition at line 153 of file ov-fcn.h.

Referenced by octave::load_fcn_from_file(), and octave::base_parser::start_function().

◆ stash_subfunction_names()

virtual void octave_function::stash_subfunction_names ( const std::list< std::string > &  )
inlinevirtualinherited

Reimplemented in octave_user_function.

Definition at line 203 of file ov-fcn.h.

◆ static_class_name()

static std::string octave_dld_function::static_class_name ( void  )
inlinestatic

Definition at line 112 of file ov-dld-fcn.h.

◆ static_type_id()

static int octave_dld_function::static_type_id ( void  )
inlinestatic

Definition at line 112 of file ov-dld-fcn.h.

◆ static_type_name()

static std::string octave_dld_function::static_type_name ( void  )
inlinestatic

Definition at line 112 of file ov-dld-fcn.h.

◆ string_value()

std::string octave_base_value::string_value ( bool  force = false) const
virtualinherited

Reimplemented in octave_char_matrix_str.

Definition at line 793 of file ov-base.cc.

References octave_base_value::convert_to_str(), and octave_value::string_value().

◆ string_vector_value()

string_vector octave_base_value::string_vector_value ( bool  pad = false) const
virtualinherited

◆ subfunction_names()

virtual std::list<std::string> octave_function::subfunction_names ( void  ) const
inlinevirtualinherited

Reimplemented in octave_user_function.

Definition at line 205 of file ov-fcn.h.

Referenced by octave::bp_table::get_breakpoint_list(), and octave::bp_table::remove_breakpoint().

◆ subsasgn()

octave_value octave_base_value::subsasgn ( const std::string &  type,
const std::list< octave_value_list > &  idx,
const octave_value rhs 
)
virtualinherited

◆ subsref() [1/3]

◆ subsref() [2/3]

octave_value octave_base_value::subsref ( const std::string &  type,
const std::list< octave_value_list > &  idx,
bool  auto_add 
)
virtualinherited

Reimplemented in octave_scalar_struct, octave_struct, octave_classdef, and octave_cell.

Definition at line 217 of file ov-base.cc.

References octave_base_value::subsref().

◆ subsref() [3/3]

◆ takes_var_return()

virtual bool octave_function::takes_var_return ( void  ) const
inlinevirtualinherited

Reimplemented in octave_user_function.

Definition at line 139 of file ov-fcn.h.

◆ takes_varargs()

virtual bool octave_function::takes_varargs ( void  ) const
inlinevirtualinherited

Reimplemented in octave_user_function.

Definition at line 137 of file ov-fcn.h.

◆ time_checked()

octave::sys::time octave_dld_function::time_checked ( void  ) const
inlinevirtual

Reimplemented from octave_function.

Definition at line 78 of file ov-dld-fcn.h.

◆ time_parsed()

octave::sys::time octave_dld_function::time_parsed ( void  ) const
virtual

Reimplemented from octave_function.

Definition at line 92 of file ov-dld-fcn.cc.

References sh_lib, and octave::dynamic_library::time_loaded().

Referenced by octave_dld_function().

◆ to_jit()

octave::jit_type * octave_builtin::to_jit ( void  ) const
inherited

Definition at line 91 of file ov-builtin.cc.

References octave_builtin::jtype.

Referenced by octave::jit_typeinfo::do_type_of().

◆ try_narrowing_conversion()

◆ type_id()

int octave_dld_function::type_id ( void  ) const
inlinevirtual

Reimplemented from octave_builtin.

Definition at line 112 of file ov-dld-fcn.h.

◆ type_name()

std::string octave_dld_function::type_name ( void  ) const
inlinevirtual

Reimplemented from octave_builtin.

Definition at line 112 of file ov-dld-fcn.h.

◆ uint16_array_value()

◆ uint16_scalar_value()

octave_uint16 octave_base_value::uint16_scalar_value ( void  ) const
virtualinherited

◆ uint32_array_value()

◆ uint32_scalar_value()

octave_uint32 octave_base_value::uint32_scalar_value ( void  ) const
virtualinherited

◆ uint64_array_value()

◆ uint64_scalar_value()

octave_uint64 octave_base_value::uint64_scalar_value ( void  ) const
virtualinherited

◆ uint64_value()

uint64_t octave_base_value::uint64_value ( bool  require_int = false,
bool  frc_str_conv = false 
) const
virtualinherited

Definition at line 500 of file ov-base.cc.

◆ uint8_array_value()

◆ uint8_scalar_value()

octave_uint8 octave_base_value::uint8_scalar_value ( void  ) const
virtualinherited

◆ uint_value()

unsigned int octave_base_value::uint_value ( bool  require_int = false,
bool  frc_str_conv = false 
) const
virtualinherited

Definition at line 494 of file ov-base.cc.

◆ ulong_value()

unsigned long int octave_base_value::ulong_value ( bool  require_int = false,
bool  frc_str_conv = false 
) const
virtualinherited

Definition at line 497 of file ov-base.cc.

◆ undef_subsasgn()

octave_value octave_base_value::undef_subsasgn ( const std::string &  type,
const std::list< octave_value_list > &  idx,
const octave_value rhs 
)
virtualinherited

Reimplemented in octave_classdef, and octave_class.

Definition at line 306 of file ov-base.cc.

References octave_base_value::subsasgn().

Referenced by octave_classdef::undef_subsasgn().

◆ unique_clone()

virtual octave_base_value* octave_base_value::unique_clone ( void  )
inlinevirtualinherited

Reimplemented in octave_class.

Definition at line 248 of file ov-base.h.

References octave_value::clone().

◆ unique_parent_class()

virtual octave_base_value* octave_base_value::unique_parent_class ( const std::string &  )
inlinevirtualinherited

Reimplemented in octave_class.

Definition at line 615 of file ov-base.h.

Referenced by octave_class::unique_parent_class().

◆ unload()

virtual void octave_function::unload ( void  )
inlinevirtualinherited

Definition at line 232 of file ov-fcn.h.

◆ unlock()

void octave_function::unlock ( void  )
inlinevirtualinherited

Reimplemented from octave_base_value.

Definition at line 183 of file ov-fcn.h.

Referenced by octave::tree_evaluator::munlock(), and octave::interpreter::munlock().

◆ unlock_subfunctions()

virtual void octave_function::unlock_subfunctions ( void  )
inlinevirtualinherited

Reimplemented in octave_user_function.

Definition at line 196 of file ov-fcn.h.

◆ user_code_value()

octave_user_code * octave_base_value::user_code_value ( bool  silent = false)
virtualinherited

◆ user_function_value()

octave_user_function * octave_base_value::user_function_value ( bool  silent = false)
virtualinherited

◆ user_script_value()

octave_user_script * octave_base_value::user_script_value ( bool  silent = false)
virtualinherited

Reimplemented in octave_user_script.

Definition at line 891 of file ov-base.cc.

References err_wrong_type_arg(), and octave_base_value::type_name().

◆ ushort_value()

unsigned short int octave_base_value::ushort_value ( bool  require_int = false,
bool  frc_str_conv = false 
) const
virtualinherited

Definition at line 491 of file ov-base.cc.

◆ warn_load()

◆ warn_save()

◆ write()

◆ wrong_type_arg_error()

void octave_base_value::wrong_type_arg_error ( void  ) const
privateinherited

Definition at line 1108 of file ov-base.cc.

References err_wrong_type_arg(), and octave_base_value::type_name().

Referenced by octave_base_value::xstring_value().

◆ xnumel()

octave_idx_type octave_base_value::xnumel ( const octave_value_list idx)
virtualinherited

Reimplemented in octave_classdef, and octave_class.

Definition at line 195 of file ov-base.cc.

References octave_base_value::dims(), and octave::dims_to_numel().

Referenced by octave_class::xnumel(), and octave_classdef::xnumel().

◆ xstring_value()

std::string octave_base_value::xstring_value ( void  ) const
virtualinherited

Reimplemented in octave_char_matrix_str.

Definition at line 801 of file ov-base.cc.

References octave_base_value::wrong_type_arg_error().

Member Data Documentation

◆ beginning_of_line

bool octave_base_value::beginning_of_line = true
staticprivateinherited

◆ c_name

const std::string octave_dld_function::c_name
staticprivate

Definition at line 112 of file ov-dld-fcn.h.

◆ count

◆ curr_print_indent_level

int octave_base_value::curr_print_indent_level = 0
staticprivateinherited

Definition at line 871 of file ov-base.h.

Referenced by octave_base_value::indent(), and octave_base_value::reset().

◆ dispatch_classes

std::set<std::string> octave_builtin::dispatch_classes
protectedinherited

◆ doc

std::string octave_function::doc
protectedinherited

Definition at line 283 of file ov-fcn.h.

◆ f

fcn octave_builtin::f
protectedinherited

Definition at line 118 of file ov-builtin.h.

Referenced by octave_builtin::execute(), and octave_builtin::function().

◆ file

std::string octave_builtin::file
protectedinherited

Definition at line 122 of file ov-builtin.h.

◆ jtype

octave::jit_type* octave_builtin::jtype
protectedinherited

Definition at line 128 of file ov-builtin.h.

Referenced by octave_builtin::stash_jit(), and octave_builtin::to_jit().

◆ locked

bool octave_function::locked
protectedinherited

Definition at line 261 of file ov-fcn.h.

◆ m

meth octave_builtin::m
protectedinherited

Definition at line 119 of file ov-builtin.h.

Referenced by octave_builtin::method().

◆ my_dir_name

std::string octave_function::my_dir_name
protectedinherited

Definition at line 280 of file ov-fcn.h.

◆ my_name

std::string octave_function::my_name
protectedinherited

Definition at line 276 of file ov-fcn.h.

Referenced by ~octave_dld_function(), and octave_mex_function::~octave_mex_function().

◆ private_function

bool octave_function::private_function
protectedinherited

Definition at line 264 of file ov-fcn.h.

◆ relative

bool octave_function::relative
protectedinherited

Definition at line 258 of file ov-fcn.h.

◆ sh_lib

octave::dynamic_library octave_dld_function::sh_lib
private

Definition at line 101 of file ov-dld-fcn.h.

Referenced by ~octave_dld_function(), fcn_file_name(), and time_parsed().

◆ system_fcn_file

bool octave_dld_function::system_fcn_file
private

Definition at line 110 of file ov-dld-fcn.h.

Referenced by octave_dld_function().

◆ t_checked

octave::sys::time octave_dld_function::t_checked
mutableprivate

Definition at line 105 of file ov-dld-fcn.h.

◆ t_id

int octave_dld_function::t_id
staticprivate

Definition at line 112 of file ov-dld-fcn.h.

◆ t_name

const std::string octave_dld_function::t_name
staticprivate

Definition at line 112 of file ov-dld-fcn.h.

◆ xdispatch_class

std::string octave_function::xdispatch_class
protectedinherited

Definition at line 269 of file ov-fcn.h.

◆ xpackage_name

std::string octave_function::xpackage_name
protectedinherited

Definition at line 273 of file ov-fcn.h.


The documentation for this class was generated from the following files: