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

#include "ov-fcn-handle.h"

Inheritance diagram for octave_fcn_handle:
octave_base_value

Public Member Functions

 octave_fcn_handle ()
 
 octave_fcn_handle (const octave_fcn_handle &fh)
 
 octave_fcn_handle (const octave_value &fcn)
 
 octave_fcn_handle (const octave_value &fcn, const octave::stack_frame::local_vars_map &local_vars, const std::shared_ptr< octave::stack_frame > &closure_frames=std::shared_ptr< octave::stack_frame >())
 
 octave_fcn_handle (const octave_value &fcn, const std::string &class_nm, const std::string &meth_nm)
 
 octave_fcn_handle (const octave_value &fcn, const std::string &name)
 
 octave_fcn_handle (const octave_value &fcn, const std::string &name, const std::list< std::string > &parentage)
 
 octave_fcn_handle (const octave_value &fcn, const std::string &name, const std::shared_ptr< octave::stack_frame > &closure_frames)
 
 octave_fcn_handle (const octave_value &obj, const octave_value &fcn, const std::string &class_nm, const std::string &meth_nm)
 
 octave_fcn_handle (const std::string &class_nm, const std::string &meth_nm)
 
 octave_fcn_handle (const std::string &name)
 
 octave_fcn_handle (const std::string &name, octave_value cache)
 
 octave_fcn_handle (octave::base_fcn_handle *rep)
 
 ~octave_fcn_handle ()=default
 
builtin_type_t builtin_type () const
 
octave_value_list call (int nargout, const octave_value_list &args)
 
std::string class_name () const
 
octave_base_valueclone () const
 
octave_value convert_to_str_internal (bool pad, bool force, char type) const
 
dim_vector dims () const
 
octave_base_valueempty_clone () const
 
octave_fcn_handlefcn_handle_value (bool=false)
 
std::string fcn_name () const
 
octave_value fcn_val ()
 
octave_functionfunction_value (bool=false)
 
std::string get_dispatch_class () const
 
octave_scalar_map info ()
 
bool is_anonymous () const
 
bool is_class_simple () const
 
bool is_defined () const
 
bool is_function_handle () const
 
bool is_internal () const
 
bool is_nested () const
 
bool is_nested (const std::shared_ptr< octave::stack_frame > &frame) const
 
bool is_scoped () const
 
bool is_simple () const
 
bool is_weak_anonymous () const
 
bool is_weak_nested () const
 
bool load_ascii (std::istream &is)
 
bool load_binary (std::istream &is, bool swap, octave::mach_info::float_format fmt)
 
bool load_hdf5 (octave_hdf5_id loc_id, const char *name)
 
octave_value make_weak_anonymous_handle () const
 
octave_value make_weak_nested_handle () const
 
void print (std::ostream &os, bool pr_as_read_syntax=false)
 
bool print_as_scalar () const
 
void print_raw (std::ostream &os, bool pr_as_read_syntax=false) const
 
bool save_ascii (std::ostream &os)
 
bool save_binary (std::ostream &os, bool save_as_floats)
 
bool save_hdf5 (octave_hdf5_id loc_id, const char *name, bool save_as_floats)
 
void set_dispatch_class (const std::string &class_name)
 
virtual octave_value subsref (const std::string &type, const std::list< octave_value_list > &idx)
 
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)
 
octave_value_list subsref (const std::string &type, const std::list< octave_value_list > &idx, int nargout)
 
int type_id () const
 
std::string type_name () const
 
octave_user_functionuser_function_value (bool=false)
 
octave_value workspace () const
 
- Public Member Functions inherited from octave_base_value
 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 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 octave_classdefclassdef_object_value (bool silent=false)
 
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 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 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 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_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_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_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_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 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_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_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 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, bool auto_add)
 
virtual octave_base_valuetry_narrowing_conversion ()
 
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_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 ()
 
- Static Public Member Functions inherited from octave_base_value
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 ()
 

Static Public Attributes

static const std::string anonymous
 

Friends

bool is_equal_to (const octave_fcn_handle &fh1, const octave_fcn_handle &fh2)
 

Additional Inherited Members

- Public Types inherited from octave_base_value
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
}
 
- Protected Member Functions inherited from octave_base_value
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 inherited from octave_base_value
static const char * get_umap_name (unary_mapper_t)
 
- Protected Attributes inherited from octave_base_value
octave::refcount< octave_idx_type > & count
 
octave::refcount< octave_idx_typem_count
 

Detailed Description

Definition at line 185 of file ov-fcn-handle.h.

Constructor & Destructor Documentation

◆ octave_fcn_handle() [1/13]

octave_fcn_handle::octave_fcn_handle ( )

Definition at line 2894 of file ov-fcn-handle.cc.

◆ octave_fcn_handle() [2/13]

octave_fcn_handle::octave_fcn_handle ( const octave_value fcn)

Definition at line 2898 of file ov-fcn-handle.cc.

◆ octave_fcn_handle() [3/13]

octave_fcn_handle::octave_fcn_handle ( const std::string &  name)

Definition at line 2902 of file ov-fcn-handle.cc.

◆ octave_fcn_handle() [4/13]

octave_fcn_handle::octave_fcn_handle ( const octave_value fcn,
const std::string &  name 
)

Definition at line 2906 of file ov-fcn-handle.cc.

◆ octave_fcn_handle() [5/13]

octave_fcn_handle::octave_fcn_handle ( const std::string &  class_nm,
const std::string &  meth_nm 
)

Definition at line 2911 of file ov-fcn-handle.cc.

◆ octave_fcn_handle() [6/13]

octave_fcn_handle::octave_fcn_handle ( const octave_value fcn,
const std::string &  class_nm,
const std::string &  meth_nm 
)

Definition at line 2917 of file ov-fcn-handle.cc.

◆ octave_fcn_handle() [7/13]

octave_fcn_handle::octave_fcn_handle ( const octave_value obj,
const octave_value fcn,
const std::string &  class_nm,
const std::string &  meth_nm 
)

Definition at line 2924 of file ov-fcn-handle.cc.

◆ octave_fcn_handle() [8/13]

octave_fcn_handle::octave_fcn_handle ( const octave_value fcn,
const std::string &  name,
const std::list< std::string > &  parentage 
)

Definition at line 2932 of file ov-fcn-handle.cc.

◆ octave_fcn_handle() [9/13]

octave_fcn_handle::octave_fcn_handle ( const octave_value fcn,
const std::string &  name,
const std::shared_ptr< octave::stack_frame > &  closure_frames 
)

Definition at line 2939 of file ov-fcn-handle.cc.

◆ octave_fcn_handle() [10/13]

octave_fcn_handle::octave_fcn_handle ( const octave_value fcn,
const octave::stack_frame::local_vars_map &  local_vars,
const std::shared_ptr< octave::stack_frame > &  closure_frames = std::shared_ptr<octave::stack_frame> () 
)

Definition at line 2946 of file ov-fcn-handle.cc.

◆ octave_fcn_handle() [11/13]

octave_fcn_handle::octave_fcn_handle ( const std::string &  name,
octave_value  cache 
)

◆ octave_fcn_handle() [12/13]

octave_fcn_handle::octave_fcn_handle ( octave::base_fcn_handle *  rep)

Definition at line 2953 of file ov-fcn-handle.cc.

◆ octave_fcn_handle() [13/13]

octave_fcn_handle::octave_fcn_handle ( const octave_fcn_handle fh)

Definition at line 2957 of file ov-fcn-handle.cc.

◆ ~octave_fcn_handle()

octave_fcn_handle::~octave_fcn_handle ( )
default

Member Function Documentation

◆ builtin_type()

builtin_type_t octave_fcn_handle::builtin_type ( ) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 279 of file ov-fcn-handle.h.

References btyp_func_handle.

◆ call()

octave_value_list octave_fcn_handle::call ( int  nargout,
const octave_value_list args 
)

◆ class_name()

std::string octave_fcn_handle::class_name ( ) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 386 of file ov-fcn-handle.h.

◆ clone()

octave_base_value* octave_fcn_handle::clone ( ) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 246 of file ov-fcn-handle.h.

◆ convert_to_str_internal()

octave_value octave_fcn_handle::convert_to_str_internal ( bool  pad,
bool  force,
char  type 
) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 352 of file ov-fcn-handle.h.

References octave_value::convert_to_str_internal().

◆ dims()

dim_vector octave_fcn_handle::dims ( ) const
virtual

Reimplemented from octave_base_value.

Definition at line 2964 of file ov-fcn-handle.cc.

◆ empty_clone()

octave_base_value* octave_fcn_handle::empty_clone ( ) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 251 of file ov-fcn-handle.h.

◆ fcn_handle_value()

octave_fcn_handle* octave_fcn_handle::fcn_handle_value ( bool  = false)
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 328 of file ov-fcn-handle.h.

◆ fcn_name()

std::string octave_fcn_handle::fcn_name ( ) const
inline

Definition at line 333 of file ov-fcn-handle.h.

Referenced by octave::Ffunc2str().

◆ fcn_val()

octave_value octave_fcn_handle::fcn_val ( )
inline

Definition at line 330 of file ov-fcn-handle.h.

◆ function_value()

octave_function* octave_fcn_handle::function_value ( bool  = false)
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 318 of file ov-fcn-handle.h.

References octave_base_value::function_value().

◆ get_dispatch_class()

std::string octave_fcn_handle::get_dispatch_class ( ) const
inline

Definition at line 347 of file ov-fcn-handle.h.

◆ info()

octave_scalar_map octave_fcn_handle::info ( )
inline

Definition at line 340 of file ov-fcn-handle.h.

Referenced by octave::Ffunctions().

◆ is_anonymous()

bool octave_fcn_handle::is_anonymous ( ) const
inline

Definition at line 300 of file ov-fcn-handle.h.

Referenced by octave::Ffunc2str(), and Fnargout().

◆ is_class_simple()

bool octave_fcn_handle::is_class_simple ( ) const
inline

Definition at line 298 of file ov-fcn-handle.h.

◆ is_defined()

bool octave_fcn_handle::is_defined ( ) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 277 of file ov-fcn-handle.h.

◆ is_function_handle()

bool octave_fcn_handle::is_function_handle ( void  ) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 281 of file ov-fcn-handle.h.

◆ is_internal()

bool octave_fcn_handle::is_internal ( ) const
inline

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

◆ is_nested() [1/2]

bool octave_fcn_handle::is_nested ( ) const
inline

Definition at line 289 of file ov-fcn-handle.h.

◆ is_nested() [2/2]

bool octave_fcn_handle::is_nested ( const std::shared_ptr< octave::stack_frame > &  frame) const
inline

Definition at line 291 of file ov-fcn-handle.h.

◆ is_scoped()

bool octave_fcn_handle::is_scoped ( ) const
inline

Definition at line 287 of file ov-fcn-handle.h.

◆ is_simple()

bool octave_fcn_handle::is_simple ( ) const
inline

Definition at line 285 of file ov-fcn-handle.h.

◆ is_weak_anonymous()

bool octave_fcn_handle::is_weak_anonymous ( ) const
inline

Definition at line 302 of file ov-fcn-handle.h.

◆ is_weak_nested()

bool octave_fcn_handle::is_weak_nested ( ) const
inline

Definition at line 296 of file ov-fcn-handle.h.

◆ load_ascii()

bool octave_fcn_handle::load_ascii ( std::istream &  is)
virtual

Reimplemented from octave_base_value.

Definition at line 2977 of file ov-fcn-handle.cc.

References anonymous, extract_keyword(), len, and octave::config::octave_exec_home().

◆ load_binary()

bool octave_fcn_handle::load_binary ( std::istream &  is,
bool  swap,
octave::mach_info::float_format  fmt 
)
virtual

Reimplemented from octave_base_value.

Definition at line 3086 of file ov-fcn-handle.cc.

References anonymous, OCTAVE_LOCAL_BUFFER, and swap_bytes< 4 >().

◆ load_hdf5()

bool octave_fcn_handle::load_hdf5 ( octave_hdf5_id  loc_id,
const char *  name 
)
virtual

◆ make_weak_anonymous_handle()

octave_value octave_fcn_handle::make_weak_anonymous_handle ( ) const
inline

Definition at line 309 of file ov-fcn-handle.h.

◆ make_weak_nested_handle()

octave_value octave_fcn_handle::make_weak_nested_handle ( ) const
inline

Definition at line 304 of file ov-fcn-handle.h.

◆ print()

void octave_fcn_handle::print ( std::ostream &  os,
bool  pr_as_read_syntax = false 
)
virtual

Reimplemented from octave_base_value.

Definition at line 3440 of file ov-fcn-handle.cc.

References octave_base_value::newline(), and print_raw().

◆ print_as_scalar()

bool octave_fcn_handle::print_as_scalar ( ) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 375 of file ov-fcn-handle.h.

◆ print_raw()

void octave_fcn_handle::print_raw ( std::ostream &  os,
bool  pr_as_read_syntax = false 
) const
virtual

Reimplemented from octave_base_value.

Definition at line 3447 of file ov-fcn-handle.cc.

References octave_base_value::current_print_indent_level().

Referenced by octave::Ffunc2str(), and print().

◆ register_type() [1/2]

void octave_fcn_handle::register_type ( )
static

Definition at line 83 of file ov-fcn-handle.cc.

◆ register_type() [2/2]

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

Definition at line 83 of file ov-fcn-handle.cc.

◆ save_ascii()

bool octave_fcn_handle::save_ascii ( std::ostream &  os)
virtual

Reimplemented from octave_base_value.

Definition at line 2971 of file ov-fcn-handle.cc.

◆ save_binary()

bool octave_fcn_handle::save_binary ( std::ostream &  os,
bool  save_as_floats 
)
virtual

Reimplemented from octave_base_value.

Definition at line 3080 of file ov-fcn-handle.cc.

◆ save_hdf5()

bool octave_fcn_handle::save_hdf5 ( octave_hdf5_id  loc_id,
const char *  name,
bool  save_as_floats 
)
virtual

Reimplemented from octave_base_value.

Definition at line 3180 of file ov-fcn-handle.cc.

◆ set_dispatch_class()

void octave_fcn_handle::set_dispatch_class ( const std::string &  class_name)
inline

Definition at line 342 of file ov-fcn-handle.h.

◆ static_class_name()

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

Definition at line 386 of file ov-fcn-handle.h.

◆ static_type_id()

static int octave_fcn_handle::static_type_id ( )
inlinestatic

Definition at line 386 of file ov-fcn-handle.h.

◆ static_type_name()

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

Definition at line 386 of file ov-fcn-handle.h.

◆ subsref() [1/5]

octave_value octave_base_value::subsref

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

◆ subsref() [2/5]

octave_value octave_fcn_handle::subsref ( const std::string &  type,
const std::list< octave_value_list > &  idx 
)
inlinevirtual

Reimplemented from octave_base_value.

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

References octave_value_list::length(), and octave_value().

◆ subsref() [3/5]

octave_value octave_base_value::subsref

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

◆ subsref() [4/5]

octave_value_list octave_base_value::subsref

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

◆ subsref() [5/5]

octave_value_list octave_fcn_handle::subsref ( const std::string &  type,
const std::list< octave_value_list > &  idx,
int  nargout 
)
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 268 of file ov-fcn-handle.h.

◆ type_id()

int octave_fcn_handle::type_id ( ) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 386 of file ov-fcn-handle.h.

◆ type_name()

std::string octave_fcn_handle::type_name ( ) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 386 of file ov-fcn-handle.h.

◆ user_function_value()

octave_user_function* octave_fcn_handle::user_function_value ( bool  = false)
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 323 of file ov-fcn-handle.h.

References octave_user_function::user_function_value().

◆ workspace()

octave_value octave_fcn_handle::workspace ( ) const
inline

Definition at line 335 of file ov-fcn-handle.h.

Friends And Related Function Documentation

◆ is_equal_to

bool is_equal_to ( const octave_fcn_handle fh1,
const octave_fcn_handle fh2 
)
friend

Definition at line 3453 of file ov-fcn-handle.cc.

Member Data Documentation

◆ anonymous

const std::string octave_fcn_handle::anonymous
static

Definition at line 191 of file ov-fcn-handle.h.

Referenced by load_ascii(), load_binary(), and load_hdf5().


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