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

#include "ov-base.h"

Inheritance diagram for octave_base_value:
octave_base_diag< FloatComplexDiagMatrix, FloatComplexMatrix > octave_base_diag< ComplexDiagMatrix, ComplexMatrix > octave_base_diag< FloatDiagMatrix, FloatMatrix > octave_base_diag< DiagMatrix, Matrix > octave_base_matrix< Cell > octave_base_matrix< NDArray > octave_base_matrix< FloatComplexNDArray > octave_base_matrix< charNDArray > octave_base_matrix< T > octave_base_matrix< FloatNDArray > octave_base_matrix< ComplexNDArray > octave_base_matrix< boolNDArray > octave_base_scalar< double > octave_base_scalar< float > octave_base_scalar< T > octave_base_scalar< FloatComplex > octave_base_scalar< Complex > octave_base_scalar< bool > octave_base_sparse< SparseMatrix > octave_base_sparse< SparseBoolMatrix > octave_base_sparse< SparseComplexMatrix > octave_base_diag< DMT, MT > octave_base_dld_value octave_base_matrix< MT > octave_base_scalar< ST > octave_base_sparse< T > octave_class octave_classdef octave_cs_list octave_fcn_handle octave_function octave_java octave_lazy_index octave_legacy_range octave_magic_colon octave_oncleanup octave_perm_matrix octave_scalar_struct octave_struct octave_trivial_range ov_range< T >

Classes

class  type_conv_info
 

Public Types

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_base_value ()
 
 octave_base_value (const octave_base_value &)
 
virtual ~octave_base_value ()=default
 
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 () const
 
virtual octave_value as_double_or_copy ()
 
virtual octave_value as_int16 () const
 
virtual octave_value as_int32 () const
 
virtual octave_value as_int64 () const
 
virtual octave_value as_int8 () const
 
virtual mxArrayas_mxArray (bool interleaved) const
 
virtual octave_value as_single () const
 
virtual octave_value as_uint16 () const
 
virtual octave_value as_uint32 () const
 
virtual octave_value as_uint64 () const
 
virtual octave_value as_uint8 () 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 void break_closure_cycles (const std::shared_ptr< octave::stack_frame > &)
 
virtual builtin_type_t builtin_type () const
 
virtual std::size_t byte_size () const
 
virtual void call_object_destructor ()
 
virtual Cell cell_value () const
 
virtual Array< std::string > cellstr_value () const
 
virtual charNDArray char_array_value (bool=false) const
 
virtual charMatrix char_matrix_value (bool force=false) const
 
virtual std::string class_name () const
 
virtual octave_classdefclassdef_object_value (bool silent=false)
 
virtual octave_base_valueclone () const
 
octave_idx_type columns () 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 ()
 
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 () const
 
virtual octave_value do_index_op (const octave_value_list &idx, bool resize_ok=false)
 
virtual double double_value (bool=false) const
 
virtual octave_value dump () const
 
virtual std::string edit_display (const float_display_format &, octave_idx_type, octave_idx_type) const
 
virtual octave_base_valueempty_clone () const
 
virtual void erase_subfunctions ()
 
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
 
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 () const
 
virtual octave_functionfunction_value (bool silent=false)
 
virtual octave_functionget_cached_fcn (const octave_value_list &)
 
virtual octave_functionget_cached_fcn (void *, void *)
 
virtual float_display_format get_edit_display_format () const
 
virtual bool has_function_cache () const
 
virtual octave::idx_vector index_vector (bool require_integers=false) const
 
virtual int16NDArray int16_array_value () const
 
virtual octave_int16 int16_scalar_value () const
 
virtual int32NDArray int32_array_value () const
 
virtual octave_int32 int32_scalar_value () const
 
virtual int64NDArray int64_array_value () const
 
virtual octave_int64 int64_scalar_value () const
 
virtual int64_t int64_value (bool=false, bool=false) const
 
virtual int8NDArray int8_array_value () const
 
virtual octave_int8 int8_scalar_value () const
 
virtual int int_value (bool=false, bool=false) const
 
virtual bool is_all_va_args () const
 
virtual bool is_anonymous_function () const
 
virtual bool is_bool_matrix () const
 
virtual bool is_bool_scalar () const
 
virtual bool is_builtin_function () const
 
virtual bool is_char_matrix () const
 
virtual bool is_classdef_meta () const
 
virtual bool is_classdef_object () const
 
virtual bool is_classdef_superclass_ref () const
 
virtual bool is_complex_matrix () const
 
virtual bool is_complex_scalar () const
 
virtual bool is_constant () const
 
virtual bool is_cs_list () const
 
virtual bool is_defined () const
 
virtual bool is_diag_matrix () const
 
virtual bool is_dld_function () const
 
virtual bool is_double_type () const
 
virtual bool is_full_num_matrix () const
 
virtual bool is_function () const
 
virtual bool is_function_cache () const
 
virtual bool is_function_handle () const
 
virtual bool is_inline_function () const
 
virtual bool is_instance_of (const std::string &) const
 
virtual bool is_int16_type () const
 
virtual bool is_int32_type () const
 
virtual bool is_int64_type () const
 
virtual bool is_int8_type () const
 
virtual bool is_legacy_object () const
 
virtual bool is_magic_colon () const
 
virtual bool is_magic_int () const
 
virtual bool is_matrix_type () const
 
virtual bool is_maybe_function () const
 
virtual bool is_mex_function () const
 
virtual bool is_package () const
 
virtual bool is_perm_matrix () const
 
virtual bool is_range () const
 
virtual bool is_real_matrix () const
 
virtual bool is_real_scalar () const
 
virtual bool is_scalar_type () const
 
virtual bool is_single_type () const
 
virtual sortmode is_sorted_rows (sortmode mode=UNSORTED) const
 
virtual bool is_sq_string () const
 
virtual bool is_storable () const
 
virtual bool is_string () const
 
virtual bool is_true () const
 
virtual bool is_uint16_type () const
 
virtual bool is_uint32_type () const
 
virtual bool is_uint64_type () const
 
virtual bool is_uint8_type () const
 
virtual bool is_user_code () const
 
virtual bool is_user_function () const
 
virtual bool is_user_script () const
 
bool is_zero_by_zero () const
 
virtual bool iscell () const
 
virtual bool iscellstr () const
 
virtual bool iscomplex () const
 
bool isempty () const
 
virtual bool isfield (const std::string &) const
 
virtual bool isfloat () const
 
virtual bool isinteger () const
 
virtual bool isjava () const
 
virtual bool islocked () const
 
virtual bool islogical () const
 
virtual bool isnull () const
 
virtual bool isnumeric () const
 
virtual bool isobject () const
 
virtual bool isreal () const
 
virtual sortmode issorted (sortmode mode=UNSORTED) const
 
virtual bool issparse () const
 
virtual bool isstruct () const
 
virtual octave_value_list list_value () 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)
 
virtual void lock ()
 
virtual long int long_value (bool=false, bool=false) const
 
virtual octave_base_valuemake_storable_value ()
 
virtual octave_value map (unary_mapper_t) const
 
virtual string_vector map_keys () const
 
virtual octave_map map_value () const
 
virtual MatrixType matrix_type () const
 
virtual MatrixType matrix_type (const MatrixType &typ) const
 
virtual Matrix matrix_value (bool=false) const
 
virtual void maybe_call_dtor ()
 
virtual void maybe_economize ()
 
virtual const void * mex_get_data () const
 
virtual const octave_idx_typemex_get_ir () const
 
virtual const octave_idx_typemex_get_jc () const
 
virtual int ndims () const
 
virtual octave_idx_type nfields () const
 
virtual int nint_value (bool=false) const
 
virtual octave_idx_type nnz () const
 
virtual std::size_t nparents () const
 
virtual octave_idx_type numel () const
 
virtual type_conv_info numeric_conversion_function () const
 
virtual type_conv_info numeric_demotion_function () const
 
virtual octave_idx_type nzmax () const
 
virtual std::list< std::string > parent_class_name_list () const
 
virtual string_vector parent_class_names () const
 
virtual PermMatrix perm_matrix_value () 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 () 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 octave::range< double > range_value () const
 
virtual octave_value reshape (const dim_vector &) const
 
virtual octave_value resize (const dim_vector &, bool fill=false) const
 
octave_idx_type rows () 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 () const
 
virtual double scalar_value (bool frc_str_conv=false) const
 
virtual void short_disp (std::ostream &os) const
 
virtual short int short_value (bool=false, bool=false) const
 
virtual octave_value simple_subsasgn (char type, octave_value_list &idx, const octave_value &rhs)
 
virtual octave_value_list simple_subsref (char type, octave_value_list &idx, int nargout)
 
virtual Matrix size ()
 
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 () const
 
virtual octave_value storable_value ()
 
virtual std::string string_value (bool force=false) const
 
virtual string_vector string_vector_value (bool pad=false) 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 octave_base_valuetry_narrowing_conversion ()
 
virtual int type_id () const
 
virtual std::string type_name () const
 
virtual uint16NDArray uint16_array_value () const
 
virtual octave_uint16 uint16_scalar_value () const
 
virtual uint32NDArray uint32_array_value () const
 
virtual octave_uint32 uint32_scalar_value () const
 
virtual uint64NDArray uint64_array_value () const
 
virtual octave_uint64 uint64_scalar_value () const
 
virtual uint64_t uint64_value (bool=false, bool=false) const
 
virtual uint8NDArray uint8_array_value () const
 
virtual octave_uint8 uint8_scalar_value () 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 ()
 
virtual octave_base_valueunique_parent_class (const std::string &)
 
virtual void unlock ()
 
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 void register_type ()
 
static void register_type (octave::type_info &)
 
static std::string static_class_name ()
 
static int static_type_id ()
 
static std::string static_type_name ()
 

Protected Member Functions

int current_print_indent_level () const
 
void decrement_indent_level () const
 
void increment_indent_level () 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 () const
 
void reset_indent_level () 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_type > & count
 
octave::refcount< octave_idx_typem_count
 

Friends

class octave_value
 

Detailed Description

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

Member Typedef Documentation

◆ type_conv_fcn

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

Definition at line 248 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 814 of file ov-base.h.

Constructor & Destructor Documentation

◆ octave_base_value() [1/2]

octave_base_value::octave_base_value ( )

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

◆ octave_base_value() [2/2]

octave_base_value::octave_base_value ( const octave_base_value )
inline

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

◆ ~octave_base_value()

virtual octave_base_value::~octave_base_value ( )
virtualdefault

Member Function Documentation

◆ all()

◆ any()

◆ array_value()

◆ as_double()

◆ as_double_or_copy()

octave_value octave_base_value::as_double_or_copy ( )
virtual

Reimplemented in octave_scalar.

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

References 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  
)
inlinevirtual

Reimplemented in octave_class.

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

◆ bool_array_value()

◆ bool_matrix_value()

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

Reimplemented in octave_bool, octave_sparse_bool_matrix, and octave_bool_matrix.

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

References err_wrong_type_arg(), and type_name().

◆ bool_value()

◆ break_closure_cycles()

virtual void octave_base_value::break_closure_cycles ( const std::shared_ptr< octave::stack_frame > &  )
inlinevirtual

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

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

◆ builtin_type()

◆ byte_size()

◆ call_object_destructor()

virtual void octave_base_value::call_object_destructor ( )
inlinevirtual

Reimplemented in octave_oncleanup.

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

◆ cell_value()

Cell octave_base_value::cell_value ( ) const
virtual

Reimplemented in octave_cell.

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

References err_wrong_type_arg(), and type_name().

◆ cellstr_value()

Array< std::string > octave_base_value::cellstr_value ( ) const
virtual

Reimplemented in octave_char_matrix_str, and octave_cell.

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

References err_wrong_type_arg(), and type_name().

◆ char_array_value()

◆ char_matrix_value()

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

Reimplemented in octave_char_matrix.

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

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

◆ class_name()

◆ classdef_object_value()

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

Reimplemented in octave_classdef.

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

References err_wrong_type_arg(), and type_name().

◆ clone()

◆ columns()

octave_idx_type octave_base_value::columns ( ) const
inline

◆ complex_array_value()

◆ complex_diag_matrix_value()

ComplexDiagMatrix octave_base_value::complex_diag_matrix_value ( bool  = false) const
virtual

◆ complex_matrix_value()

◆ complex_value()

◆ convert_to_row_or_column_vector()

void octave_base_value::convert_to_row_or_column_vector ( )
virtual

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

References err_wrong_type_arg(), and type_name().

◆ convert_to_str()

octave_value octave_base_value::convert_to_str ( bool  pad = false,
bool  force = false,
char  type = '\'' 
) const
virtual

◆ convert_to_str_internal()

◆ current_print_indent_level()

◆ decrement_indent_level()

void octave_base_value::decrement_indent_level ( ) const
inlineprotected

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

Referenced by octave_cell::print_raw(), and octave_classdef::print_raw().

◆ diag() [1/2]

◆ diag() [2/2]

◆ diag_matrix_value()

DiagMatrix octave_base_value::diag_matrix_value ( bool  = false) const
virtual

◆ dims()

◆ do_index_op()

◆ double_value()

◆ dump()

octave_value octave_base_value::dump ( ) const
virtual

Reimplemented in octave_user_function, and octave_user_code.

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

References dim_vector::as_array(), class_name(), dims(), m, octave_value, and type_name().

◆ edit_display()

◆ empty_clone()

◆ erase_subfunctions()

virtual void octave_base_value::erase_subfunctions ( )
inlinevirtual

Reimplemented in octave_user_function.

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

◆ fast_elem_extract()

◆ fast_elem_insert()

◆ fast_elem_insert_self()

◆ fcn_handle_value()

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

Reimplemented in octave_fcn_handle.

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

References err_wrong_type_arg(), and type_name().

◆ find_parent_class()

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

◆ float_array_value()

◆ float_complex_array_value()

◆ float_complex_diag_matrix_value()

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

◆ float_complex_matrix_value()

◆ float_complex_value()

◆ float_diag_matrix_value()

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

◆ float_matrix_value()

◆ float_scalar_value()

◆ float_value()

◆ full_value()

◆ function_value()

◆ get_cached_fcn() [1/2]

virtual octave_function* octave_base_value::get_cached_fcn ( const octave_value_list )
inlinevirtual

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

◆ get_cached_fcn() [2/2]

virtual octave_function* octave_base_value::get_cached_fcn ( void *  ,
void *   
)
inlinevirtual

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

◆ get_edit_display_format()

◆ get_umap_name()

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

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

References num_unary_mappers.

Referenced by map().

◆ has_function_cache()

virtual bool octave_base_value::has_function_cache ( ) const
inlinevirtual

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

◆ increment_indent_level()

void octave_base_value::increment_indent_level ( ) const
inlineprotected

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

Referenced by octave_cell::print_raw(), and octave_classdef::print_raw().

◆ indent()

◆ index_vector()

◆ int16_array_value()

◆ int16_scalar_value()

◆ int32_array_value()

◆ int32_scalar_value()

◆ int64_array_value()

◆ int64_scalar_value()

◆ int64_value()

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

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

◆ int8_array_value()

◆ int8_scalar_value()

◆ int_value()

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

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

◆ is_all_va_args()

virtual bool octave_base_value::is_all_va_args ( ) const
inlinevirtual

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

◆ is_anonymous_function()

virtual bool octave_base_value::is_anonymous_function ( ) const
inlinevirtual

Reimplemented in octave_user_function.

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

Referenced by stack_frame::fcn_name().

◆ is_bool_matrix()

virtual bool octave_base_value::is_bool_matrix ( ) const
inlinevirtual

Reimplemented in octave_sparse_bool_matrix, and octave_bool_matrix.

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

◆ is_bool_scalar()

virtual bool octave_base_value::is_bool_scalar ( ) const
inlinevirtual

Reimplemented in octave_bool.

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

◆ is_builtin_function()

virtual bool octave_base_value::is_builtin_function ( ) const
inlinevirtual

Reimplemented in octave_mex_function, octave_dld_function, and octave_builtin.

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

Referenced by tree_evaluator::mlock(), and tree_evaluator::munlock().

◆ is_char_matrix()

virtual bool octave_base_value::is_char_matrix ( ) const
inlinevirtual

Reimplemented in octave_char_matrix.

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

◆ is_classdef_meta()

virtual bool octave_base_value::is_classdef_meta ( ) const
inlinevirtual

Reimplemented in octave_classdef_meta.

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

◆ is_classdef_object()

virtual bool octave_base_value::is_classdef_object ( ) const
inlinevirtual

Reimplemented in octave_classdef.

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

◆ is_classdef_superclass_ref()

virtual bool octave_base_value::is_classdef_superclass_ref ( ) const
inlinevirtual

Reimplemented in octave_classdef_superclass_ref.

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

◆ is_complex_matrix()

virtual bool octave_base_value::is_complex_matrix ( ) const
inlinevirtual

◆ is_complex_scalar()

virtual bool octave_base_value::is_complex_scalar ( ) const
inlinevirtual

Reimplemented in octave_float_complex, and octave_complex.

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

◆ is_constant()

◆ is_cs_list()

virtual bool octave_base_value::is_cs_list ( ) const
inlinevirtual

Reimplemented in octave_cs_list.

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

◆ is_defined()

◆ is_diag_matrix()

◆ is_dld_function()

virtual bool octave_base_value::is_dld_function ( ) const
inlinevirtual

Reimplemented in octave_dld_function.

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

Referenced by get_current_shlib().

◆ is_double_type()

◆ is_full_num_matrix()

◆ is_function()

virtual bool octave_base_value::is_function ( ) const
inlinevirtual

Reimplemented in octave_function.

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

◆ is_function_cache()

virtual bool octave_base_value::is_function_cache ( ) const
inlinevirtual

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

◆ is_function_handle()

virtual bool octave_base_value::is_function_handle ( void  ) const
inlinevirtual

Reimplemented in octave_fcn_handle.

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

◆ is_inline_function()

virtual bool octave_base_value::is_inline_function ( ) const
inlinevirtual

Reimplemented in octave_user_function.

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

◆ is_instance_of()

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

Reimplemented in octave_classdef, octave_java, and octave_class.

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

◆ is_int16_type()

virtual bool octave_base_value::is_int16_type ( ) const
inlinevirtual

Reimplemented in ov_range< T >.

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

◆ is_int32_type()

virtual bool octave_base_value::is_int32_type ( ) const
inlinevirtual

Reimplemented in ov_range< T >.

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

◆ is_int64_type()

virtual bool octave_base_value::is_int64_type ( ) const
inlinevirtual

Reimplemented in ov_range< T >.

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

◆ is_int8_type()

virtual bool octave_base_value::is_int8_type ( ) const
inlinevirtual

Reimplemented in ov_range< T >.

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

◆ is_legacy_object()

virtual bool octave_base_value::is_legacy_object ( ) const
inlinevirtual

Reimplemented in octave_legacy_range.

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

◆ is_magic_colon()

virtual bool octave_base_value::is_magic_colon ( ) const
inlinevirtual

Reimplemented in octave_magic_colon.

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

Referenced by octave_cell::subsasgn().

◆ is_magic_int()

virtual bool octave_base_value::is_magic_int ( ) const
inlinevirtual

◆ is_matrix_type()

◆ is_maybe_function()

◆ is_mex_function()

virtual bool octave_base_value::is_mex_function ( ) const
inlinevirtual

Reimplemented in octave_mex_function.

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

Referenced by get_current_shlib().

◆ is_package()

virtual bool octave_base_value::is_package ( ) const
inlinevirtual

Reimplemented in octave_classdef_meta.

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

◆ is_perm_matrix()

virtual bool octave_base_value::is_perm_matrix ( ) const
inlinevirtual

Reimplemented in octave_perm_matrix.

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

◆ is_range()

virtual bool octave_base_value::is_range ( void  ) const
inlinevirtual

Reimplemented in ov_range< T >.

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

◆ is_real_matrix()

virtual bool octave_base_value::is_real_matrix ( ) const
inlinevirtual

◆ is_real_scalar()

◆ is_scalar_type()

virtual bool octave_base_value::is_scalar_type ( ) const
inlinevirtual

◆ is_single_type()

virtual bool octave_base_value::is_single_type ( ) const
inlinevirtual

◆ is_sorted_rows()

◆ is_sq_string()

virtual bool octave_base_value::is_sq_string ( ) const
inlinevirtual

Reimplemented in octave_char_matrix_sq_str.

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

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

◆ is_storable()

virtual bool octave_base_value::is_storable ( ) const
inlinevirtual

◆ is_string()

virtual bool octave_base_value::is_string ( ) const
inlinevirtual

Reimplemented in octave_char_matrix_str.

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

Referenced by octave_class::string_vector_value().

◆ is_true()

◆ is_uint16_type()

virtual bool octave_base_value::is_uint16_type ( ) const
inlinevirtual

Reimplemented in ov_range< T >.

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

◆ is_uint32_type()

virtual bool octave_base_value::is_uint32_type ( ) const
inlinevirtual

Reimplemented in ov_range< T >.

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

◆ is_uint64_type()

virtual bool octave_base_value::is_uint64_type ( ) const
inlinevirtual

Reimplemented in ov_range< T >, octave_uint64_scalar, and octave_uint64_matrix.

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

◆ is_uint8_type()

virtual bool octave_base_value::is_uint8_type ( ) const
inlinevirtual

Reimplemented in ov_range< T >.

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

◆ is_user_code()

virtual bool octave_base_value::is_user_code ( ) const
inlinevirtual

Reimplemented in octave_user_code.

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

◆ is_user_function()

virtual bool octave_base_value::is_user_function ( ) const
inlinevirtual

Reimplemented in octave_user_function.

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

◆ is_user_script()

virtual bool octave_base_value::is_user_script ( ) const
inlinevirtual

Reimplemented in octave_user_script.

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

◆ is_zero_by_zero()

bool octave_base_value::is_zero_by_zero ( ) const
inline

Definition at line 419 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
inlinevirtual

Reimplemented in octave_cell.

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

◆ iscellstr()

virtual bool octave_base_value::iscellstr ( ) const
inlinevirtual

Reimplemented in octave_cell.

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

◆ iscomplex()

virtual bool octave_base_value::iscomplex ( ) const
inlinevirtual

◆ isempty()

◆ isfield()

bool octave_base_value::isfield ( const std::string &  ) const
virtual

Reimplemented in octave_scalar_struct, and octave_struct.

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

References err_wrong_type_arg(), and type_name().

◆ isfloat()

◆ isinteger()

virtual bool octave_base_value::isinteger ( ) const
inlinevirtual

Reimplemented in ov_range< T >, octave_uint64_scalar, and octave_uint64_matrix.

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

◆ isjava()

virtual bool octave_base_value::isjava ( ) const
inlinevirtual

Reimplemented in octave_java.

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

◆ islocked()

virtual bool octave_base_value::islocked ( ) const
inlinevirtual

Reimplemented in octave_function.

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

◆ islogical()

virtual bool octave_base_value::islogical ( ) const
inlinevirtual

Reimplemented in octave_bool, octave_sparse_bool_matrix, and octave_bool_matrix.

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

◆ isnull()

virtual bool octave_base_value::isnull ( ) const
inlinevirtual

Reimplemented in octave_null_sq_str, octave_null_str, and octave_null_matrix.

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

◆ isnumeric()

◆ isobject()

virtual bool octave_base_value::isobject ( ) const
inlinevirtual

Reimplemented in octave_oncleanup, octave_classdef, and octave_class.

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

◆ isreal()

◆ issorted()

◆ issparse()

virtual bool octave_base_value::issparse ( ) const
inlinevirtual

◆ isstruct()

virtual bool octave_base_value::isstruct ( ) const
inlinevirtual

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

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

◆ list_value()

octave_value_list octave_base_value::list_value ( ) const
virtual

Reimplemented in octave_cs_list, and octave_cell.

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

References err_wrong_type_arg(), and type_name().

◆ load_ascii()

◆ load_binary()

◆ load_hdf5()

◆ lock()

void octave_base_value::lock ( )
virtual

Reimplemented in octave_function.

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

References err_wrong_type_arg(), and type_name().

◆ long_value()

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

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

◆ make_storable_value()

octave_base_value * octave_base_value::make_storable_value ( )
virtual

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

◆ map()

◆ map_keys()

string_vector octave_base_value::map_keys ( ) const
virtual

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

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

References err_wrong_type_arg(), and type_name().

◆ map_value()

octave_map octave_base_value::map_value ( ) const
virtual

◆ matrix_type() [1/2]

◆ matrix_type() [2/2]

◆ matrix_value()

◆ maybe_call_dtor()

virtual void octave_base_value::maybe_call_dtor ( )
inlinevirtual

Reimplemented in octave_oncleanup.

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

◆ maybe_economize()

◆ mex_get_data()

◆ mex_get_ir()

virtual const octave_idx_type* octave_base_value::mex_get_ir ( ) const
inlinevirtual

◆ mex_get_jc()

virtual const octave_idx_type* octave_base_value::mex_get_jc ( ) const
inlinevirtual

◆ ndims()

◆ newline()

◆ nfields()

octave_idx_type octave_base_value::nfields ( ) const
virtual

Reimplemented in octave_scalar_struct, octave_struct, and octave_class.

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

References err_wrong_type_arg(), and type_name().

◆ nint_value()

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

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

References d, err_wrong_type_arg(), error(), fix(), and isnan().

◆ nnz()

◆ nparents()

std::size_t octave_base_value::nparents ( ) const
virtual

Reimplemented in octave_class.

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

References err_wrong_type_arg(), and type_name().

◆ numel()

◆ numeric_assign()

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

◆ numeric_conversion_function()

◆ numeric_demotion_function()

virtual type_conv_info octave_base_value::numeric_demotion_function ( ) const
inlinevirtual

◆ nzmax()

octave_idx_type octave_base_value::nzmax ( ) const
virtual

◆ parent_class_name_list()

std::list< std::string > octave_base_value::parent_class_name_list ( ) const
virtual

Reimplemented in octave_class.

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

References err_wrong_type_arg(), and type_name().

◆ parent_class_names()

string_vector octave_base_value::parent_class_names ( ) const
virtual

Reimplemented in octave_class.

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

References err_wrong_type_arg(), and type_name().

◆ perm_matrix_value()

PermMatrix octave_base_value::perm_matrix_value ( ) const
virtual

Reimplemented in octave_perm_matrix.

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

References err_wrong_type_arg(), and type_name().

◆ permute()

◆ print()

◆ print_as_scalar()

◆ print_info()

◆ print_name_tag()

bool octave_base_value::print_name_tag ( std::ostream &  os,
const std::string &  name 
) const
virtual

◆ print_raw()

◆ print_with_name()

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

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

References newline(), print(), print_name_tag(), and Vcompact_format.

◆ range_value()

octave::range< double > octave_base_value::range_value ( ) const
virtual

Reimplemented in ov_range< T >, ov_range< T >, and ov_range< T >.

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

References err_wrong_type_arg(), and type_name().

◆ register_type() [1/2]

void octave_base_value::register_type ( )
static

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

Referenced by cdef_manager::cdef_manager().

◆ register_type() [2/2]

void octave_base_value::register_type ( octave::type_info &  ti)
static

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

◆ reset()

void octave_base_value::reset ( ) const
protected

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

◆ reset_indent_level()

void octave_base_value::reset_indent_level ( ) const
inlineprotected

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

◆ reshape()

◆ resize()

◆ rows()

octave_idx_type octave_base_value::rows ( ) const
inline

Definition at line 374 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_char_matrix::int64_scalar_value(), 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 ( ) const
virtual

Reimplemented in octave_scalar_struct, and octave_oncleanup.

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

References octave_map::checkelem(), error(), map_value(), and octave_map::numel().

◆ scalar_value()

◆ short_disp()

◆ short_value()

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

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

◆ simple_subsasgn()

octave_value octave_base_value::simple_subsasgn ( char  type,
octave_value_list idx,
const octave_value rhs 
)
virtual

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

References subsasgn().

◆ simple_subsref()

◆ size()

Matrix octave_base_value::size ( )
virtual

Reimplemented in octave_classdef, and octave_class.

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

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

Referenced by octave_class::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
virtual

◆ sparse_complex_matrix_value()

◆ sparse_matrix_value()

◆ squeeze()

◆ static_class_name()

static std::string octave_base_value::static_class_name ( )
inlinestatic

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

Referenced by get_concat_class().

◆ static_type_id()

static int octave_base_value::static_type_id ( )
inlinestatic

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

◆ static_type_name()

static std::string octave_base_value::static_type_name ( )
inlinestatic

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

◆ storable_value()

octave_value octave_base_value::storable_value ( )
virtual

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

References octave_value_factory::make_copy().

◆ string_value()

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

Reimplemented in octave_char_matrix_str.

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

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

◆ string_vector_value()

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

Reimplemented in octave_char_matrix_str, octave_cell, and octave_class.

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

References convert_to_str(), and octave_value::string_vector_value().

◆ subsasgn()

◆ 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 
)
virtual

Reimplemented in octave_scalar_struct, octave_struct, octave_classdef, and octave_cell.

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

References subsref().

◆ subsref() [3/3]

◆ try_narrowing_conversion()

◆ type_id()

◆ type_name()

virtual std::string octave_base_value::type_name ( ) const
inlinevirtual

Reimplemented in octave_user_function, octave_user_script, octave_scalar_struct, octave_struct, octave_char_matrix_sq_str, octave_char_matrix_str, octave_scalar, octave_sparse_matrix, octave_matrix, octave_diag_matrix, ov_range< T >, octave_trivial_range, octave_perm_matrix, octave_oncleanup, octave_null_sq_str, octave_null_str, octave_null_matrix, octave_mex_function, octave_magic_int, octave_magic_uint, octave_legacy_range, octave_lazy_index, octave_java, octave_uint64_scalar, octave_uint64_matrix, octave_float_matrix, octave_float_diag_matrix, octave_float_complex_matrix, octave_float_complex_diag_matrix, octave_float_complex, octave_float_scalar, octave_fcn_handle, octave_dld_function, octave_sparse_complex_matrix, octave_complex_matrix, octave_complex_diag_matrix, octave_cs_list, octave_complex, octave_magic_colon, octave_classdef, octave_class, octave_cell, octave_builtin, octave_bool, octave_sparse_bool_matrix, and octave_bool_matrix.

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

Referenced by array_value(), as_double(), as_int16(), as_int32(), as_int64(), as_int8(), as_single(), as_uint16(), as_uint32(), as_uint64(), as_uint8(), bool_array_value(), bool_matrix_value(), bool_value(), cell_value(), cellstr_value(), char_array_value(), classdef_object_value(), complex_array_value(), complex_diag_matrix_value(), complex_matrix_value(), complex_value(), convert_to_row_or_column_vector(), convert_to_str(), convert_to_str_internal(), diag(), diag_matrix_value(), do_index_op(), double_value(), dump(), fcn_handle_value(), float_array_value(), float_complex_array_value(), float_complex_diag_matrix_value(), float_complex_matrix_value(), float_complex_value(), float_diag_matrix_value(), float_matrix_value(), float_value(), Fnargin(), Fnargout(), full_value(), function_value(), index_vector(), int16_array_value(), int16_scalar_value(), int32_array_value(), int32_scalar_value(), int64_array_value(), int64_scalar_value(), int8_array_value(), int8_scalar_value(), is_sorted_rows(), isfield(), issorted(), list_value(), load_ascii(), load_binary(), load_hdf5(), lock(), map(), map_keys(), map_value(), matrix_type(), matrix_value(), nfields(), nnz(), nparents(), parent_class_name_list(), parent_class_names(), perm_matrix_value(), permute(), print(), print_info(), print_raw(), range_value(), reshape(), resize(), save_ascii(), save_binary(), save_hdf5(), sort(), sort_rows_idx(), sparse_bool_matrix_value(), sparse_complex_matrix_value(), sparse_matrix_value(), squeeze(), subsasgn(), subsref(), octave_base_diag< DMT, MT >::subsref(), uint16_array_value(), uint32_array_value(), uint32_scalar_value(), uint64_array_value(), uint64_scalar_value(), uint8_array_value(), uint8_scalar_value(), unlock(), user_code_value(), user_function_value(), user_script_value(), and write().

◆ uint16_array_value()

◆ uint16_scalar_value()

◆ uint32_array_value()

◆ uint32_scalar_value()

◆ uint64_array_value()

◆ uint64_scalar_value()

◆ uint64_value()

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

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

◆ uint8_array_value()

◆ uint8_scalar_value()

◆ uint_value()

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

Definition at line 553 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
virtual

Definition at line 556 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 
)
virtual

Reimplemented in octave_classdef, and octave_class.

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

References subsasgn().

Referenced by octave_classdef::undef_subsasgn().

◆ unique_clone()

virtual octave_base_value* octave_base_value::unique_clone ( )
inlinevirtual

Reimplemented in octave_class.

Definition at line 289 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 &  )
inlinevirtual

Reimplemented in octave_class.

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

Referenced by octave_class::unique_parent_class().

◆ unlock()

void octave_base_value::unlock ( )
virtual

Reimplemented in octave_function.

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

References err_wrong_type_arg(), and type_name().

◆ user_code_value()

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

◆ user_function_value()

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

Reimplemented in octave_user_function, and octave_fcn_handle.

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

References err_wrong_type_arg(), and type_name().

Referenced by Fnargin(), Fnargout(), and make_function_of_class().

◆ user_script_value()

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

Reimplemented in octave_user_script.

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

References err_wrong_type_arg(), and type_name().

◆ ushort_value()

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

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

◆ warn_load()

◆ warn_save()

◆ write()

◆ xnumel()

octave_idx_type octave_base_value::xnumel ( const octave_value_list idx)
virtual

Reimplemented in octave_classdef, and octave_class.

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

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

Referenced by octave_class::xnumel().

◆ xstring_value()

std::string octave_base_value::xstring_value ( ) const
virtual

Reimplemented in octave_char_matrix_str.

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

Friends And Related Function Documentation

◆ octave_value

Member Data Documentation

◆ count

octave::refcount<octave_idx_type>& octave_base_value::count
protected

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

◆ m_count


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