GNU Octave  4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Private Types | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
octave_user_function Class Reference

#include "ov-usr-fcn.h"

Inheritance diagram for octave_user_function:
Inheritance graph
[legend]
Collaboration diagram for octave_user_function:
Collaboration graph
[legend]

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_finite,
  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_xtoascii, umap_xtolower,
  umap_xtoupper, umap_unknown, num_unary_mappers = umap_unknown
}
 

Public Member Functions

 octave_user_function (symbol_table::scope_id sid=-1, tree_parameter_list *pl=0, tree_parameter_list *rl=0, tree_statement_list *cl=0)
 
 ~octave_user_function (void)
 
void accept (tree_walker &tw)
 
symbol_table::context_id active_context () const
 
virtual octave_value all (int=0) const
 
virtual string_vector all_strings (bool pad=false) const
 
octave_value_list all_va_args (const octave_value_list &args)
 
virtual octave_value any (int=0) const
 
virtual NDArray array_value (bool=false) const
 
virtual mxArrayas_mxArray (void) const
 
virtual void assign (const std::string &, const octave_value &)
 
int beginning_column (void) const
 
int beginning_line (void) const
 
tree_statement_listbody (void)
 
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
 
std::string canonical_name (void) const
 
virtual octave_idx_type capacity (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
 
OCTAVE_EMPTY_CPP_ARG std::string class_name (void) const
 
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
 
octave_user_functiondefine_param_list (tree_parameter_list *t)
 
octave_user_functiondefine_ret_list (tree_parameter_list *t)
 
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)
 
octave_value_list do_multi_index_op (int nargout, const octave_value_list &args)
 
octave_value_list do_multi_index_op (int nargout, const octave_value_list &args, const std::list< octave_lvalue > *lvalue_list)
 
std::string doc_string (void) const
 
void document (const std::string &ds)
 
virtual double double_value (bool=false) const
 
virtual void dump (std::ostream &os) const
 
octave_base_valueempty_clone (void) const
 
int ending_column (void) const
 
int ending_line (void) const
 
void erase_subfunctions (void)
 
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_fcn_inlinefcn_inline_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
 
octave_functionfunction_value (bool=false)
 
jit_function_infoget_info (void)
 
void grab (void)
 
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
 
bool is_anonymous_function (void) const
 
bool is_anonymous_function_of_class (const std::string &cname=std::string()) const
 
virtual bool is_bool_matrix (void) const
 
virtual bool is_bool_scalar (void) const
 
virtual bool is_bool_type (void) const
 
virtual bool is_builtin_function (void) const
 
virtual bool is_cell (void) const
 
virtual bool is_cellstr (void) const
 
virtual bool is_char_matrix (void) const
 
bool is_class_constructor (const std::string &cname=std::string()) const
 
bool is_class_method (const std::string &cname=std::string()) const
 
bool is_classdef_constructor (const std::string &cname=std::string()) const
 
virtual bool is_classdef_object (void) const
 
virtual bool is_complex_matrix (void) const
 
virtual bool is_complex_scalar (void) const
 
virtual bool is_complex_type (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
 
virtual bool is_dld_function (void) const
 
virtual bool is_double_type (void) const
 
bool is_empty (void) const
 
virtual bool is_float_type (void) const
 
bool is_function (void) const
 
virtual bool is_function_handle (void) const
 
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_integer_type (void) const
 
virtual bool is_java (void) const
 
virtual bool is_magic_colon (void) const
 
virtual bool is_map (void) const
 
virtual bool is_matrix_type (void) const
 
virtual bool is_mex_function (void) const
 
bool is_nested_function (void) const
 
virtual bool is_null_value (void) const
 
virtual bool is_numeric_type (void) const
 
virtual bool is_object (void) const
 
virtual bool is_perm_matrix (void) const
 
virtual bool is_postfix_index_handled (char type) 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
 
virtual bool is_real_type (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 (sortmode mode=UNSORTED) const
 
virtual sortmode is_sorted_rows (sortmode mode=UNSORTED) const
 
virtual bool is_sparse_type (void) const
 
bool is_special_expr (void) const
 
virtual bool is_sq_string (void) const
 
virtual bool is_string (void) const
 
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
 
bool is_user_code (void) const
 
bool is_user_function (void) const
 
virtual bool is_user_script (void) const
 
bool islocked (void) const
 
octave_comment_listleading_comment (void)
 
virtual octave_value_list list_value (void) const
 
virtual bool load_ascii (std::istream &is)
 
virtual bool load_binary (std::istream &is, bool swap, oct_mach_info::float_format fmt)
 
virtual bool load_hdf5 (octave_hdf5_id loc_id, const char *name)
 
template<class T >
bool local_protect (T &variable)
 
void lock (void)
 
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
 
void mark_as_anonymous_function (void)
 
void mark_as_class_constructor (void)
 
void mark_as_class_method (void)
 
void mark_as_classdef_constructor (void)
 
void mark_as_inline_function (void)
 
void mark_as_nested_function (void)
 
void mark_as_private_function (const std::string &cname=std::string())
 
void mark_as_subfunction (void)
 
void mark_as_system_fcn_file (void)
 
void mark_fcn_file_up_to_date (const octave_time &t)
 
void mark_relative (void)
 
virtual MatrixType matrix_type (void) const
 
virtual MatrixType matrix_type (const MatrixType &typ) const
 
virtual Matrix matrix_value (bool=false) const
 
virtual void maybe_economize (void)
 
void maybe_relocate_end (void)
 
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 (const octave_value_list &)
 
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
 
std::string package_name (void) const
 
tree_parameter_listparameter_list (void)
 
virtual std::list< std::string > parent_class_name_list (void) const
 
virtual string_vector parent_class_names (void) const
 
std::string parent_fcn_name (void) const
 
symbol_table::scope_id 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)
 
std::string profiler_name (void) const
 
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
 
tree_parameter_listreturn_list (void)
 
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
 
symbol_table::scope_id 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 (octave_idx_type dim=0, sortmode mode=ASCENDING) const
 
virtual octave_value sort (Array< octave_idx_type > &sidx, 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
 
tree_expressionspecial_expr (void)
 
virtual octave_value squeeze (void) const
 
virtual 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_fcn_end_location (int line, int col)
 
void stash_fcn_file_name (const std::string &nm)
 
void stash_fcn_file_time (const octave_time &t)
 
void stash_fcn_location (int line, int col)
 
void stash_function_name (const std::string &s)
 
void stash_info (jit_function_info *info)
 
void stash_leading_comment (octave_comment_list *lc)
 
void stash_package_name (const std::string &pack)
 
void stash_parent_fcn_name (const std::string &p)
 
void stash_parent_fcn_scope (symbol_table::scope_id ps)
 
void stash_subfunction_names (const std::list< std::string > &names)
 
void stash_trailing_comment (octave_comment_list *tc)
 
virtual std::string string_value (bool force=false) const
 
std::list< std::string > subfunction_names (void) const
 
std::map< std::string,
octave_value
subfunctions (void) const
 
virtual octave_value subsasgn (const std::string &type, const std::list< octave_value_list > &idx, const octave_value &rhs)
 
bool subsasgn_optimization_ok (void)
 
octave_value subsref (const std::string &type, const std::list< octave_value_list > &idx)
 
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, const std::list< octave_lvalue > *lvalue_list)
 
bool takes_var_return (void) const
 
bool takes_varargs (void) const
 
octave_time time_checked (void) const
 
octave_time time_parsed (void) const
 
octave_comment_listtrailing_comment (void)
 
virtual octave_base_valuetry_narrowing_conversion (void)
 
OCTAVE_EMPTY_CPP_ARG int type_id (void) const
 
OCTAVE_EMPTY_CPP_ARG 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)
 
void unlock_subfunctions (void)
 
octave_user_codeuser_code_value (bool=false)
 
octave_user_functionuser_function_value (bool=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, oct_mach_info::float_format flt_fmt) const
 

Static Public Member Functions

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 gripe_load (const char *type) const
 
void gripe_save (const char *type) 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
 

Static Protected Member Functions

static const charget_umap_name (unary_mapper_t)
 

Protected Attributes

octave_refcount< octave_idx_typecount
 
std::string doc
 
bool locked
 
std::string my_dir_name
 
std::string my_name
 
bool private_function
 
bool relative
 
std::string xdispatch_class
 
std::string xpackage_name
 

Private Types

enum  class_ctor_type { none, legacy, classdef }
 

Private Member Functions

 octave_user_function (const octave_user_function &fn)
 
void bind_automatic_vars (const string_vector &arg_names, int nargin, int nargout, const octave_value_list &va_args, const std::list< octave_lvalue > *lvalue_list)
 
void maybe_relocate_end_internal (void)
 
octave_user_functionoperator= (const octave_user_function &fn)
 
void print_code_function_header (void)
 
void print_code_function_trailer (void)
 
void restore_warning_states (void)
 

Private Attributes

bool anonymous_function
 
int call_depth
 
class_ctor_type class_constructor
 
bool class_method
 
tree_statement_listcmd_list
 
unwind_protectcurr_unwind_protect_frame
 
int end_location_column
 
int end_location_line
 
std::string file_name
 
bool inline_function
 
jit_function_infojit_info
 
octave_comment_listlead_comm
 
symbol_table::scope_id local_scope
 
int location_column
 
int location_line
 
bool nested_function
 
int num_named_args
 
tree_parameter_listparam_list
 
std::string parent_name
 
symbol_table::scope_id parent_scope
 
tree_parameter_listret_list
 
std::list< std::string > subfcn_names
 
bool subfunction
 
bool system_fcn_file
 
octave_time t_checked
 
octave_time t_parsed
 
octave_comment_listtrail_comm
 

Static Private Attributes

static const std::string c_name
 
static int t_id
 
static const std::string t_name
 

Detailed Description

Definition at line 174 of file ov-usr-fcn.h.

Member Typedef Documentation

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

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

Member Enumeration Documentation

Enumerator
none 
legacy 
classdef 

Definition at line 418 of file ov-usr-fcn.h.

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_finite 
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_xtoascii 
umap_xtolower 
umap_xtoupper 
umap_unknown 
num_unary_mappers 

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

Constructor & Destructor Documentation

octave_user_function::octave_user_function ( symbol_table::scope_id  sid = -1,
tree_parameter_list pl = 0,
tree_parameter_list rl = 0,
tree_statement_list cl = 0 
)

Definition at line 191 of file ov-usr-fcn.cc.

References symbol_table::set_curr_fcn().

octave_user_function::~octave_user_function ( void  )
octave_user_function::octave_user_function ( const octave_user_function fn)
private

Member Function Documentation

void octave_user_function::accept ( tree_walker tw)
virtual

Reimplemented from octave_function.

Definition at line 671 of file ov-usr-fcn.cc.

References tree_walker::visit_octave_user_function().

symbol_table::context_id octave_user_function::active_context ( void  ) const
inline
octave_value octave_base_value::all ( int  = 0) const
virtualinherited
string_vector octave_base_value::all_strings ( bool  pad = false) const
virtualinherited
octave_value_list octave_user_function::all_va_args ( const octave_value_list args)

Definition at line 404 of file ov-usr-fcn.cc.

References octave_value_list::length(), num_named_args, and octave_value_list::slice().

Referenced by do_multi_index_op().

octave_value octave_base_value::any ( int  = 0) const
virtualinherited
NDArray octave_base_value::array_value ( bool  = false) const
virtualinherited
mxArray * octave_base_value::as_mxArray ( void  ) const
virtualinherited
virtual void octave_base_value::assign ( const std::string &  ,
const octave_value  
)
inlinevirtualinherited

Reimplemented in octave_class.

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

Referenced by oct_assignop_assign().

int octave_user_function::beginning_column ( void  ) const
inline
int octave_user_function::beginning_line ( void  ) const
inline
void octave_user_function::bind_automatic_vars ( const string_vector arg_names,
int  nargin,
int  nargout,
const octave_value_list va_args,
const std::list< octave_lvalue > *  lvalue_list 
)
private
tree_statement_list* octave_user_function::body ( void  )
inlinevirtual
boolNDArray octave_base_value::bool_array_value ( bool  = false) const
virtualinherited
boolMatrix octave_base_value::bool_matrix_value ( bool  = false) const
virtualinherited
bool octave_base_value::bool_value ( bool  = false) const
virtualinherited
virtual builtin_type_t octave_base_value::builtin_type ( void  ) const
inlinevirtualinherited
virtual size_t octave_base_value::byte_size ( void  ) const
inlinevirtualinherited
std::string octave_function::canonical_name ( void  ) const
inlineinherited

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

Referenced by out_of_date_check().

virtual octave_idx_type octave_base_value::capacity ( void  ) const
inlinevirtualinherited
Cell octave_base_value::cell_value ( void  ) const
virtualinherited

Reimplemented in octave_cell.

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

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

Referenced by octave_value::cell_value().

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

Reimplemented in octave_cell, and octave_char_matrix_str.

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

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

charNDArray octave_base_value::char_array_value ( bool  = false) const
virtualinherited
charMatrix octave_base_value::char_matrix_value ( bool  force = false) const
virtualinherited
OCTAVE_EMPTY_CPP_ARG std::string octave_user_function::class_name ( void  ) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 524 of file ov-usr-fcn.h.

octave_base_value * octave_function::clone ( void  ) const
virtualinherited

Reimplemented from octave_base_value.

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

References panic_impossible.

octave_idx_type octave_base_value::columns ( void  ) const
inlineinherited

Definition at line 301 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_sparse_bool_matrix::complex_value(), octave_sparse_matrix::complex_value(), octave_float_complex_matrix::complex_value(), octave_complex_matrix::complex_value(), octave_char_matrix::complex_value(), octave_perm_matrix::complex_value(), octave_float_matrix::complex_value(), octave_bool_matrix::complex_value(), octave_matrix::complex_value(), octave_char_matrix::double_value(), octave_float_complex_matrix::double_value(), octave_complex_matrix::double_value(), octave_bool_matrix::double_value(), octave_float_complex_matrix::float_complex_value(), octave_complex_matrix::float_complex_value(), octave_char_matrix::float_complex_value(), octave_perm_matrix::float_complex_value(), octave_float_matrix::float_complex_value(), octave_bool_matrix::float_complex_value(), octave_matrix::float_complex_value(), octave_char_matrix::float_value(), octave_float_complex_matrix::float_value(), octave_complex_matrix::float_value(), octave_bool_matrix::float_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_float_complex_matrix::save_ascii(), octave_complex_matrix::save_ascii(), octave_cell::save_ascii(), octave_float_matrix::save_ascii(), octave_bool_matrix::save_ascii(), and octave_matrix::save_ascii().

ComplexNDArray octave_base_value::complex_array_value ( bool  = false) const
virtualinherited
ComplexDiagMatrix octave_base_value::complex_diag_matrix_value ( bool  = false) const
virtualinherited
ComplexMatrix octave_base_value::complex_matrix_value ( bool  = false) const
virtualinherited
Complex octave_base_value::complex_value ( bool  = false) const
virtualinherited
void octave_base_value::convert_to_row_or_column_vector ( void  )
virtualinherited

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

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

octave_value octave_base_value::convert_to_str ( bool  pad = false,
bool  force = false,
char  type = '\'' 
) const
virtualinherited
octave_value octave_base_value::convert_to_str_internal ( bool  pad,
bool  force,
char  type 
) const
virtualinherited
int octave_base_value::current_print_indent_level ( void  ) const
inlineprotectedinherited
void octave_base_value::decrement_indent_level ( void  ) const
inlineprotectedinherited
octave_user_function* octave_user_function::define_param_list ( tree_parameter_list t)
octave_user_function * octave_user_function::define_ret_list ( tree_parameter_list t)
octave_value octave_base_value::diag ( octave_idx_type  k = 0) const
virtualinherited
octave_value octave_base_value::diag ( octave_idx_type  m,
octave_idx_type  n 
) const
virtualinherited
DiagMatrix octave_base_value::diag_matrix_value ( bool  = false) const
virtualinherited
virtual dim_vector octave_base_value::dims ( void  ) const
inlinevirtualinherited
std::string octave_function::dir_name ( void  ) const
inlineinherited
std::string octave_function::dispatch_class ( void  ) const
inlineinherited
octave_value octave_base_value::do_index_op ( const octave_value_list idx,
bool  resize_ok = false 
)
virtualinherited
octave_value_list octave_user_function::do_multi_index_op ( int  nargout,
const octave_value_list args 
)
virtual

Reimplemented from octave_base_value.

Definition at line 466 of file ov-usr-fcn.cc.

Referenced by subsref().

octave_value_list octave_user_function::do_multi_index_op ( int  nargout,
const octave_value_list args,
const std::list< octave_lvalue > *  lvalue_list 
)
virtual

Reimplemented from octave_base_value.

Definition at line 473 of file ov-usr-fcn.cc.

References tree_statement_list::accept(), active_context(), action_container::add_fcn(), action_container::add_method(), all_va_args(), BEGIN_PROFILER_BLOCK, bind_automatic_vars(), tree_break_command::breaking, call_depth, octave_value::cell_value(), symbol_table::clear_variables(), cmd_list, context, tree_parameter_list::convert_to_const_vector(), curr_unwind_protect_frame, current_evaluator, tree_parameter_list::define_from_arg_vector(), octave_function::dispatch_class(), ECHO_FUNCTIONS, END_PROFILER_BLOCK, error(), error_state, tree_jit::execute(), tree_evaluator::function, tree_parameter_list::initialize_undefined_elements(), is_anonymous_function(), is_classdef_constructor(), octave_value::is_defined(), is_special_expr(), octave_value_list::length(), local_scope, octave_function::my_name, octave_value_list::name_tags(), panic_impossible, param_list, octave_call_stack::pop(), symbol_table::pop_context(), print_code_function_header(), print_code_function_trailer(), action_container::protect_var(), octave_call_stack::push(), symbol_table::push_context(), restore_warning_states(), ret_list, tree_return_command::returning, tree_expression::rvalue(), octave_value_list::slice(), special_expr(), tree_evaluator::statement_context, tree_parameter_list::takes_varargs(), tree_parameter_list::undefine(), tree_parameter_list::varargs_only(), symbol_table::varval(), Vecho_executing_commands, and Vmax_recursion_depth.

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

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

Referenced by get_help_from_file(), load_fcn_from_file(), and raw_help_from_symbol_table().

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

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

Referenced by octave_base_parser::frob_function(), and install_built_in_docstrings().

double octave_base_value::double_value ( bool  = false) const
virtualinherited
void octave_base_value::dump ( std::ostream &  os) const
virtualinherited
octave_base_value * octave_function::empty_clone ( void  ) const
virtualinherited

Reimplemented from octave_base_value.

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

References panic_impossible.

int octave_user_function::ending_column ( void  ) const
inline

Definition at line 220 of file ov-usr-fcn.h.

int octave_user_function::ending_line ( void  ) const
inline

Definition at line 219 of file ov-usr-fcn.h.

void octave_user_function::erase_subfunctions ( void  )
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 260 of file ov-usr-fcn.h.

References symbol_table::erase_subfunctions_in_scope().

octave_value octave_base_value::fast_elem_extract ( octave_idx_type  n) const
virtualinherited
bool octave_base_value::fast_elem_insert ( octave_idx_type  n,
const octave_value x 
)
virtualinherited
bool octave_base_value::fast_elem_insert_self ( void *  where,
builtin_type_t  btyp 
) const
virtualinherited
std::string octave_user_function::fcn_file_name ( void  ) const
inlinevirtual
octave_fcn_handle * octave_base_value::fcn_handle_value ( bool  silent = false)
virtualinherited

Reimplemented in octave_fcn_handle.

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

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

Referenced by octave_value::fcn_handle_value().

octave_fcn_inline * octave_base_value::fcn_inline_value ( bool  silent = false)
virtualinherited

Reimplemented in octave_fcn_inline.

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

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

Referenced by octave_value::fcn_inline_value().

virtual octave_base_value* octave_base_value::find_parent_class ( const std::string &  )
inlinevirtualinherited
FloatNDArray octave_base_value::float_array_value ( bool  = false) const
virtualinherited
FloatComplexNDArray octave_base_value::float_complex_array_value ( bool  = false) const
virtualinherited
FloatComplexDiagMatrix octave_base_value::float_complex_diag_matrix_value ( bool  = false) const
virtualinherited
FloatComplexMatrix octave_base_value::float_complex_matrix_value ( bool  = false) const
virtualinherited
FloatComplex octave_base_value::float_complex_value ( bool  = false) const
virtualinherited
FloatDiagMatrix octave_base_value::float_diag_matrix_value ( bool  = false) const
virtualinherited
FloatMatrix octave_base_value::float_matrix_value ( bool  = false) const
virtualinherited
virtual float octave_base_value::float_scalar_value ( bool  frc_str_conv = false) const
inlinevirtualinherited
float octave_base_value::float_value ( bool  = false) const
virtualinherited
octave_value octave_base_value::full_value ( void  ) const
virtualinherited
octave_function* octave_user_function::function_value ( bool  = false)
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 192 of file ov-usr-fcn.h.

jit_function_info* octave_user_function::get_info ( void  )
inline

Definition at line 407 of file ov-usr-fcn.h.

Referenced by tree_jit::do_execute().

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

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

References names(), and octave_base_value::num_unary_mappers.

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

void octave_base_value::grab ( void  )
inlineinherited
void octave_base_value::gripe_load ( const char type) const
protectedinherited
void octave_base_value::gripe_save ( const char type) const
protectedinherited
bool octave_user_function::has_subfunctions ( void  ) const
virtual

Reimplemented from octave_function.

Definition at line 391 of file ov-usr-fcn.cc.

References subfcn_names.

void octave_base_value::increment_indent_level ( void  ) const
inlineprotectedinherited
void octave_base_value::indent ( std::ostream &  os) const
protectedinherited
idx_vector octave_base_value::index_vector ( bool  require_integers = false) const
virtualinherited
int16NDArray octave_base_value::int16_array_value ( void  ) const
virtualinherited
octave_int16 octave_base_value::int16_scalar_value ( void  ) const
virtualinherited
int32NDArray octave_base_value::int32_array_value ( void  ) const
virtualinherited
octave_int32 octave_base_value::int32_scalar_value ( void  ) const
virtualinherited
int64NDArray octave_base_value::int64_array_value ( void  ) const
virtualinherited
octave_int64 octave_base_value::int64_scalar_value ( void  ) const
virtualinherited
int64_t octave_base_value::int64_value ( bool  require_int = false,
bool  frc_str_conv = false 
) const
virtualinherited

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

int8NDArray octave_base_value::int8_array_value ( void  ) const
virtualinherited
octave_int8 octave_base_value::int8_scalar_value ( void  ) const
virtualinherited
int octave_base_value::int_value ( bool  require_int = false,
bool  frc_str_conv = false 
) const
virtualinherited

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

virtual bool octave_base_value::is_all_va_args ( void  ) const
inlinevirtualinherited

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

bool octave_user_function::is_anonymous_function ( void  ) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 305 of file ov-usr-fcn.h.

Referenced by do_multi_index_op(), and profiler_name().

bool octave_user_function::is_anonymous_function_of_class ( const std::string &  cname = std::string ()) const
inlinevirtual

Reimplemented from octave_function.

Definition at line 308 of file ov-usr-fcn.h.

virtual bool octave_base_value::is_bool_matrix ( void  ) const
inlinevirtualinherited

Reimplemented in octave_bool_matrix, and octave_sparse_bool_matrix.

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

virtual bool octave_base_value::is_bool_scalar ( void  ) const
inlinevirtualinherited

Reimplemented in octave_bool.

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

virtual bool octave_base_value::is_bool_type ( void  ) const
inlinevirtualinherited

Reimplemented in octave_bool_matrix, octave_sparse_bool_matrix, and octave_bool.

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

virtual bool octave_base_value::is_builtin_function ( void  ) const
inlinevirtualinherited

Reimplemented in octave_mex_function, octave_builtin, and octave_dld_function.

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

virtual bool octave_base_value::is_cell ( void  ) const
inlinevirtualinherited

Reimplemented in octave_cell.

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

virtual bool octave_base_value::is_cellstr ( void  ) const
inlinevirtualinherited

Reimplemented in octave_cell.

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

virtual bool octave_base_value::is_char_matrix ( void  ) const
inlinevirtualinherited

Reimplemented in octave_char_matrix.

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

bool octave_user_function::is_class_constructor ( const std::string &  cname = std::string ()) const
inlinevirtual

Reimplemented from octave_function.

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

Referenced by profiler_name().

bool octave_user_function::is_class_method ( const std::string &  cname = std::string ()) const
inlinevirtual

Reimplemented from octave_function.

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

Referenced by profiler_name().

bool octave_user_function::is_classdef_constructor ( const std::string &  cname = std::string ()) const
inlinevirtual

Reimplemented from octave_function.

Definition at line 339 of file ov-usr-fcn.h.

Referenced by do_multi_index_op(), is_method_executing(), and profiler_name().

virtual bool octave_base_value::is_classdef_object ( void  ) const
inlinevirtualinherited

Reimplemented in octave_classdef.

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

virtual bool octave_base_value::is_complex_matrix ( void  ) const
inlinevirtualinherited
virtual bool octave_base_value::is_complex_scalar ( void  ) const
inlinevirtualinherited

Reimplemented in octave_complex, and octave_float_complex.

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

virtual bool octave_base_value::is_complex_type ( void  ) const
inlinevirtualinherited
virtual bool octave_base_value::is_constant ( void  ) const
inlinevirtualinherited
virtual bool octave_base_value::is_cs_list ( void  ) const
inlinevirtualinherited

Reimplemented in octave_cs_list.

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

bool octave_function::is_defined ( void  ) const
inlinevirtualinherited

Reimplemented from octave_base_value.

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

virtual bool octave_base_value::is_diag_matrix ( void  ) const
inlinevirtualinherited
virtual bool octave_base_value::is_dld_function ( void  ) const
inlinevirtualinherited

Reimplemented in octave_dld_function.

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

Referenced by get_current_shlib().

virtual bool octave_base_value::is_double_type ( void  ) const
inlinevirtualinherited
bool octave_base_value::is_empty ( void  ) const
inlineinherited

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

References octave_value::dims().

Referenced by Ferror(), octave_cell::subsasgn(), and octave_base_value::subsasgn().

virtual bool octave_base_value::is_float_type ( void  ) const
inlinevirtualinherited
bool octave_function::is_function ( void  ) const
inlinevirtualinherited

Reimplemented from octave_base_value.

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

virtual bool octave_base_value::is_function_handle ( void  ) const
inlinevirtualinherited

Reimplemented in octave_fcn_handle.

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

bool octave_user_function::is_inline_function ( void  ) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 301 of file ov-usr-fcn.h.

Referenced by profiler_name().

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

Reimplemented in octave_classdef, octave_class, and octave_java.

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

virtual bool octave_base_value::is_int16_type ( void  ) const
inlinevirtualinherited

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

virtual bool octave_base_value::is_int32_type ( void  ) const
inlinevirtualinherited

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

virtual bool octave_base_value::is_int64_type ( void  ) const
inlinevirtualinherited

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

virtual bool octave_base_value::is_int8_type ( void  ) const
inlinevirtualinherited

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

virtual bool octave_base_value::is_integer_type ( void  ) const
inlinevirtualinherited

Reimplemented in OCTAVE_VALUE_INT_SCALAR_T, and OCTAVE_VALUE_INT_MATRIX_T.

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

virtual bool octave_base_value::is_java ( void  ) const
inlinevirtualinherited

Reimplemented in octave_java.

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

virtual bool octave_base_value::is_magic_colon ( void  ) const
inlinevirtualinherited

Reimplemented in octave_magic_colon.

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

virtual bool octave_base_value::is_map ( void  ) const
inlinevirtualinherited

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

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

Referenced by Ferror(), and Flasterror().

virtual bool octave_base_value::is_matrix_type ( void  ) const
inlinevirtualinherited
virtual bool octave_base_value::is_mex_function ( void  ) const
inlinevirtualinherited

Reimplemented in octave_mex_function.

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

Referenced by get_current_shlib().

bool octave_user_function::is_nested_function ( void  ) const
inline

Definition at line 325 of file ov-usr-fcn.h.

Referenced by octave_fcn_handle::octave_fcn_handle().

virtual bool octave_base_value::is_null_value ( void  ) const
inlinevirtualinherited

Reimplemented in octave_null_sq_str, octave_null_str, and octave_null_matrix.

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

virtual bool octave_base_value::is_numeric_type ( void  ) const
inlinevirtualinherited
virtual bool octave_base_value::is_object ( void  ) const
inlinevirtualinherited

Reimplemented in octave_classdef, octave_class, and octave_oncleanup.

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

virtual bool octave_base_value::is_perm_matrix ( void  ) const
inlinevirtualinherited

Reimplemented in octave_perm_matrix.

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

virtual bool octave_function::is_postfix_index_handled ( char  type) const
inlinevirtualinherited
bool octave_function::is_private_function ( void  ) const
inlineinherited

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

Referenced by Ffunctions(), get_class_context(), and make_fcn_handle().

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

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

Referenced by octave_class::in_class_method().

virtual bool octave_base_value::is_range ( void  ) const
inlinevirtualinherited

Reimplemented in octave_range.

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

virtual bool octave_base_value::is_real_matrix ( void  ) const
inlinevirtualinherited
virtual bool octave_base_value::is_real_scalar ( void  ) const
inlinevirtualinherited
virtual bool octave_base_value::is_real_type ( void  ) const
inlinevirtualinherited
bool octave_function::is_relative ( void  ) const
inlineinherited

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

Referenced by out_of_date_check().

virtual bool octave_base_value::is_scalar_type ( void  ) const
inlinevirtualinherited
virtual bool octave_base_value::is_single_type ( void  ) const
inlinevirtualinherited
sortmode octave_base_value::is_sorted ( sortmode  mode = UNSORTED) const
virtualinherited
sortmode octave_base_value::is_sorted_rows ( sortmode  mode = UNSORTED) const
virtualinherited
virtual bool octave_base_value::is_sparse_type ( void  ) const
inlinevirtualinherited
bool octave_user_function::is_special_expr ( void  ) const
inline

Definition at line 320 of file ov-usr-fcn.h.

Referenced by do_multi_index_op(), jit_convert::jit_convert(), and special_expr().

virtual bool octave_base_value::is_sq_string ( void  ) const
inlinevirtualinherited

Reimplemented in octave_char_matrix_sq_str.

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

Referenced by octave_char_matrix_str::resize().

virtual bool octave_base_value::is_string ( void  ) const
inlinevirtualinherited

Reimplemented in octave_char_matrix_str.

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

Referenced by Fclass(), and Flasterror().

bool octave_user_function::is_subfunction ( void  ) const
inlinevirtual

Reimplemented from octave_function.

Definition at line 297 of file ov-usr-fcn.h.

Referenced by profiler_name().

bool octave_user_function::is_system_fcn_file ( void  ) const
inlinevirtual

Reimplemented from octave_function.

Definition at line 256 of file ov-usr-fcn.h.

virtual bool octave_base_value::is_true ( void  ) const
inlinevirtualinherited
virtual bool octave_base_value::is_uint16_type ( void  ) const
inlinevirtualinherited

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

virtual bool octave_base_value::is_uint32_type ( void  ) const
inlinevirtualinherited

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

virtual bool octave_base_value::is_uint64_type ( void  ) const
inlinevirtualinherited

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

virtual bool octave_base_value::is_uint8_type ( void  ) const
inlinevirtualinherited

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

bool octave_user_code::is_user_code ( void  ) const
inlinevirtualinherited

Reimplemented from octave_base_value.

Definition at line 60 of file ov-usr-fcn.h.

bool octave_user_function::is_user_function ( void  ) const
inlinevirtual

Reimplemented from octave_base_value.

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

virtual bool octave_base_value::is_user_script ( void  ) const
inlinevirtualinherited

Reimplemented in octave_user_script.

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

Referenced by octave_call_stack::do_all_scripts(), Ffunctions(), and source_file().

bool octave_function::islocked ( void  ) const
inlinevirtualinherited

Reimplemented from octave_base_value.

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

Referenced by Fmislocked(), and mislocked().

octave_comment_list* octave_user_function::leading_comment ( void  )
inline

Definition at line 382 of file ov-usr-fcn.h.

Referenced by tree_print_code::visit_octave_user_function_header().

octave_value_list octave_base_value::list_value ( void  ) const
virtualinherited

Reimplemented in octave_cell, and octave_cs_list.

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

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

Referenced by octave_value::list_value().

bool octave_base_value::load_ascii ( std::istream &  is)
virtualinherited
bool octave_base_value::load_binary ( std::istream &  is,
bool  swap,
oct_mach_info::float_format  fmt 
)
virtualinherited
bool octave_base_value::load_hdf5 ( octave_hdf5_id  loc_id,
const char name 
)
virtualinherited
template<class T >
bool octave_user_function::local_protect ( T &  variable)
inline

Definition at line 395 of file ov-usr-fcn.h.

Referenced by try_local_protect().

void octave_function::lock ( void  )
inlinevirtualinherited

Reimplemented from octave_base_value.

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

Referenced by Fmlock(), and mlock().

void octave_user_function::lock_subfunctions ( void  )
virtual

Reimplemented from octave_function.

Definition at line 373 of file ov-usr-fcn.cc.

References local_scope, and symbol_table::lock_subfunctions().

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

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

octave_value octave_base_value::map ( unary_mapper_t  umap) const
virtualinherited
string_vector octave_base_value::map_keys ( void  ) const
virtualinherited
octave_map octave_base_value::map_value ( void  ) const
virtualinherited
void octave_user_function::mark_as_anonymous_function ( void  )
inline

Definition at line 303 of file ov-usr-fcn.h.

Referenced by tree_anon_fcn_handle::rvalue1().

void octave_user_function::mark_as_class_constructor ( void  )
inline

Definition at line 329 of file ov-usr-fcn.h.

Referenced by octave_base_parser::frob_function(), and make_function_of_class().

void octave_user_function::mark_as_class_method ( void  )
inline

Definition at line 345 of file ov-usr-fcn.h.

Referenced by octave_base_parser::frob_function(), and make_function_of_class().

void octave_user_function::mark_as_classdef_constructor ( void  )
inline

Definition at line 331 of file ov-usr-fcn.h.

Referenced by make_function_of_class().

void octave_user_function::mark_as_inline_function ( void  )
inline

Definition at line 299 of file ov-usr-fcn.h.

void octave_user_function::mark_as_nested_function ( void  )
inline

Definition at line 327 of file ov-usr-fcn.h.

Referenced by symbol_table::do_update_nest().

void octave_user_function::mark_as_private_function ( const std::string &  cname = std::string ())
inlinevirtual
void octave_user_function::mark_as_subfunction ( void  )
inline

Definition at line 295 of file ov-usr-fcn.h.

Referenced by octave_base_parser::finish_function().

void octave_user_function::mark_as_system_fcn_file ( void  )
void octave_user_function::mark_fcn_file_up_to_date ( const octave_time t)
inlinevirtual

Reimplemented from octave_function.

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

void octave_function::mark_relative ( void  )
inlineinherited
MatrixType octave_base_value::matrix_type ( void  ) const
virtualinherited
MatrixType octave_base_value::matrix_type ( const MatrixType typ) const
virtualinherited
Matrix octave_base_value::matrix_value ( bool  = false) const
virtualinherited
virtual void octave_base_value::maybe_economize ( void  )
inlinevirtualinherited
void octave_user_function::maybe_relocate_end ( void  )
virtual

Reimplemented from octave_function.

Definition at line 295 of file ov-usr-fcn.cc.

References f, maybe_relocate_end_internal(), subfunctions(), and user_function_value().

void octave_user_function::maybe_relocate_end_internal ( void  )
private
virtual void* octave_base_value::mex_get_data ( void  ) const
inlinevirtualinherited
virtual octave_idx_type* octave_base_value::mex_get_ir ( void  ) const
inlinevirtualinherited
virtual octave_idx_type* octave_base_value::mex_get_jc ( void  ) const
inlinevirtualinherited
std::string octave_function::name ( void  ) const
inlineinherited
virtual int octave_base_value::ndims ( void  ) const
inlinevirtualinherited
void octave_base_value::newline ( std::ostream &  os) const
protectedinherited
octave_idx_type octave_base_value::nfields ( void  ) const
virtualinherited

Reimplemented in octave_scalar_struct, octave_class, and octave_struct.

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

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

int octave_base_value::nint_value ( bool  frc_str_conv = false) const
virtualinherited
octave_idx_type octave_base_value::nnz ( void  ) const
virtualinherited
size_t octave_base_value::nparents ( void  ) const
virtualinherited

Reimplemented in octave_class.

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

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

octave_idx_type octave_base_value::numel ( const octave_value_list idx)
virtualinherited

Reimplemented in octave_class.

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

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

virtual octave_idx_type octave_base_value::numel ( void  ) const
inlinevirtualinherited
octave_value octave_base_value::numeric_assign ( const std::string &  type,
const std::list< octave_value_list > &  idx,
const octave_value rhs 
)
protectedinherited
virtual type_conv_info octave_base_value::numeric_conversion_function ( void  ) const
inlinevirtualinherited
virtual type_conv_info octave_base_value::numeric_demotion_function ( void  ) const
inlinevirtualinherited
octave_idx_type octave_base_value::nzmax ( void  ) const
virtualinherited
octave_user_function& octave_user_function::operator= ( const octave_user_function fn)
private
std::string octave_function::package_name ( void  ) const
inlineinherited

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

Referenced by out_of_date_check().

tree_parameter_list* octave_user_function::parameter_list ( void  )
inline
std::list< std::string > octave_base_value::parent_class_name_list ( void  ) const
virtualinherited

Reimplemented in octave_class.

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

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

string_vector octave_base_value::parent_class_names ( void  ) const
virtualinherited

Reimplemented in octave_class.

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

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

std::string octave_user_function::parent_fcn_name ( void  ) const
inlinevirtual

Reimplemented from octave_function.

Definition at line 244 of file ov-usr-fcn.h.

Referenced by profiler_name().

symbol_table::scope_id octave_user_function::parent_fcn_scope ( void  ) const
inlinevirtual
PermMatrix octave_base_value::perm_matrix_value ( void  ) const
virtualinherited
octave_value octave_base_value::permute ( const Array< int > &  vec,
bool  = false 
) const
virtualinherited
void octave_base_value::print ( std::ostream &  os,
bool  pr_as_read_syntax = false 
)
virtualinherited
virtual bool octave_base_value::print_as_scalar ( void  ) const
inlinevirtualinherited
void octave_user_function::print_code_function_header ( void  )
private
void octave_user_function::print_code_function_trailer ( void  )
private
void octave_base_value::print_info ( std::ostream &  os,
const std::string &  prefix 
) const
virtualinherited
bool octave_base_value::print_name_tag ( std::ostream &  os,
const std::string &  name 
) const
virtualinherited
void octave_base_value::print_raw ( std::ostream &  os,
bool  pr_as_read_syntax = false 
) const
virtualinherited
void octave_base_value::print_with_name ( std::ostream &  output_buf,
const std::string &  name,
bool  print_padding = true 
)
virtualinherited
std::string octave_user_function::profiler_name ( void  ) const
virtual
Range octave_base_value::range_value ( void  ) const
virtualinherited

Reimplemented in octave_range.

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

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

Referenced by octave_jit_cast_range_any().

void octave_user_function::register_type ( void  )
static

Definition at line 185 of file ov-usr-fcn.cc.

Referenced by install_types().

void octave_base_value::release ( void  )
inlineinherited
void octave_base_value::reset ( void  ) const
protectedinherited
void octave_base_value::reset_indent_level ( void  ) const
inlineprotectedinherited

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

octave_value octave_base_value::reshape ( const dim_vector ) const
virtualinherited
octave_value octave_base_value::resize ( const dim_vector ,
bool  fill = false 
) const
virtualinherited
void octave_user_function::restore_warning_states ( void  )
private
tree_parameter_list* octave_user_function::return_list ( void  )
inline
octave_idx_type octave_base_value::rows ( void  ) const
inlineinherited

Definition at line 294 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_sparse_bool_matrix::complex_value(), octave_sparse_matrix::complex_value(), octave_float_complex_matrix::complex_value(), octave_complex_matrix::complex_value(), octave_char_matrix::complex_value(), octave_perm_matrix::complex_value(), octave_float_matrix::complex_value(), octave_bool_matrix::complex_value(), octave_matrix::complex_value(), octave_char_matrix::double_value(), octave_float_complex_matrix::double_value(), octave_complex_matrix::double_value(), octave_bool_matrix::double_value(), octave_float_complex_matrix::float_complex_value(), octave_complex_matrix::float_complex_value(), octave_char_matrix::float_complex_value(), octave_perm_matrix::float_complex_value(), octave_float_matrix::float_complex_value(), octave_bool_matrix::float_complex_value(), octave_matrix::float_complex_value(), octave_char_matrix::float_value(), octave_float_complex_matrix::float_value(), octave_complex_matrix::float_value(), octave_bool_matrix::float_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_float_complex_matrix::save_ascii(), octave_complex_matrix::save_ascii(), octave_cell::save_ascii(), octave_float_matrix::save_ascii(), octave_bool_matrix::save_ascii(), and octave_matrix::save_ascii().

bool octave_base_value::save_ascii ( std::ostream &  os)
virtualinherited
bool octave_base_value::save_binary ( std::ostream &  os,
bool save_as_floats 
)
virtualinherited
bool octave_base_value::save_hdf5 ( octave_hdf5_id  loc_id,
const char name,
bool  save_as_floats 
)
virtualinherited
octave_scalar_map octave_base_value::scalar_map_value ( void  ) const
virtualinherited
virtual double octave_base_value::scalar_value ( bool  frc_str_conv = false) const
inlinevirtualinherited
symbol_table::scope_id octave_user_function::scope ( void  )
inlinevirtual
virtual void octave_base_value::short_disp ( std::ostream &  os) const
inlinevirtualinherited
short int octave_base_value::short_value ( bool  require_int = false,
bool  frc_str_conv = false 
) const
virtualinherited

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

Matrix octave_base_value::size ( void  )
virtualinherited

Reimplemented in octave_class.

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

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

Referenced by octave_fcn_binder::maybe_binder(), and octave_class::size().

octave_value octave_base_value::sort ( octave_idx_type  dim = 0,
sortmode  mode = ASCENDING 
) const
virtualinherited
octave_value octave_base_value::sort ( Array< octave_idx_type > &  sidx,
octave_idx_type  dim = 0,
sortmode  mode = ASCENDING 
) const
virtualinherited
Array< octave_idx_type > octave_base_value::sort_rows_idx ( sortmode  mode = ASCENDING) const
virtualinherited
SparseBoolMatrix octave_base_value::sparse_bool_matrix_value ( bool  = false) const
virtualinherited
SparseComplexMatrix octave_base_value::sparse_complex_matrix_value ( bool  = false) const
virtualinherited
SparseMatrix octave_base_value::sparse_matrix_value ( bool  = false) const
virtualinherited

Reimplemented in octave_range, octave_lazy_index, octave_bool_matrix, octave_bool, octave_matrix, octave_float_scalar, octave_float_matrix, octave_perm_matrix, octave_scalar, octave_base_diag< DMT, MT >, octave_base_diag< ComplexDiagMatrix, ComplexMatrix >, octave_base_diag< FloatComplexDiagMatrix, FloatComplexMatrix >, octave_base_diag< FloatDiagMatrix, FloatMatrix >, octave_base_diag< DiagMatrix, Matrix >, octave_complex_matrix, octave_float_complex_matrix, octave_sparse_matrix, octave_sparse_bool_matrix, octave_complex, octave_sparse_complex_matrix, and octave_float_complex.

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

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

Referenced by oct_binop_add_cdm_sm(), oct_binop_add_dm_sm(), oct_binop_add_sm_cdm(), oct_binop_add_sm_dm(), oct_binop_div(), oct_binop_div_sm_cdm(), oct_binop_div_sm_dm(), oct_binop_div_sm_pm(), oct_binop_el_div(), oct_binop_el_ldiv(), oct_binop_el_pow(), oct_binop_ldiv(), oct_binop_ldiv_cdm_sm(), oct_binop_ldiv_dm_sm(), oct_binop_ldiv_pm_sm(), oct_binop_mul_cdm_sm(), oct_binop_mul_dm_sm(), oct_binop_mul_pm_scm(), oct_binop_mul_pm_sm(), oct_binop_mul_scm_pm(), oct_binop_mul_sm_cdm(), oct_binop_mul_sm_dm(), oct_binop_mul_sm_pm(), oct_binop_pow(), oct_binop_sub_cdm_sm(), oct_binop_sub_dm_sm(), oct_binop_sub_sm_cdm(), oct_binop_sub_sm_dm(), oct_catop_b_sm(), oct_catop_bm_sm(), oct_catop_cm_sm(), oct_catop_cs_sm(), oct_catop_m_sbm(), oct_catop_m_sm(), oct_catop_s_sbm(), oct_catop_s_sm(), oct_catop_sbm_m(), oct_catop_sbm_s(), oct_catop_sm_b(), oct_catop_sm_bm(), oct_catop_sm_cm(), oct_catop_sm_cs(), oct_catop_sm_m(), and oct_catop_sm_s().

tree_expression * octave_user_function::special_expr ( void  )
octave_value octave_base_value::squeeze ( void  ) const
virtualinherited
virtual std::string octave_function::src_file_name ( void  ) const
inlinevirtualinherited

Reimplemented in octave_builtin.

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

Referenced by do_which().

void octave_function::stash_dir_name ( const std::string &  dir)
inlineinherited
void octave_function::stash_dispatch_class ( const std::string &  nm)
inlineinherited
void octave_user_function::stash_fcn_end_location ( int  line,
int  col 
)
inline

Definition at line 213 of file ov-usr-fcn.h.

Referenced by octave_base_parser::start_function().

void octave_user_function::stash_fcn_file_name ( const std::string &  nm)

Definition at line 245 of file ov-usr-fcn.cc.

References file_name.

Referenced by octave_base_parser::frob_function(), and tree_anon_fcn_handle::rvalue1().

void octave_user_function::stash_fcn_file_time ( const octave_time t)
inline

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

Referenced by octave_base_parser::frob_function().

void octave_user_function::stash_fcn_location ( int  line,
int  col 
)
inline
void octave_user_function::stash_function_name ( const std::string &  s)
inline
void octave_user_function::stash_info ( jit_function_info info)
inline

Definition at line 409 of file ov-usr-fcn.h.

Referenced by tree_jit::do_execute().

void octave_user_function::stash_leading_comment ( octave_comment_list lc)
inline
void octave_function::stash_package_name ( const std::string &  pack)
inlineinherited

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

Referenced by load_fcn_from_file().

void octave_user_function::stash_parent_fcn_name ( const std::string &  p)
inline
void octave_user_function::stash_parent_fcn_scope ( symbol_table::scope_id  ps)
inline
void octave_user_function::stash_subfunction_names ( const std::list< std::string > &  names)
virtual

Reimplemented from octave_function.

Definition at line 398 of file ov-usr-fcn.cc.

References names().

void octave_user_function::stash_trailing_comment ( octave_comment_list tc)
inline

Definition at line 230 of file ov-usr-fcn.h.

Referenced by octave_base_parser::start_function().

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

Definition at line 524 of file ov-usr-fcn.h.

static int octave_user_function::static_type_id ( void  )
inlinestatic

Definition at line 524 of file ov-usr-fcn.h.

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

Definition at line 524 of file ov-usr-fcn.h.

std::string octave_base_value::string_value ( bool  force = false) const
virtualinherited
std::list<std::string> octave_user_function::subfunction_names ( void  ) const
inlinevirtual

Reimplemented from octave_function.

Definition at line 286 of file ov-usr-fcn.h.

std::map< std::string, octave_value > octave_user_function::subfunctions ( void  ) const
virtual

Reimplemented from octave_user_code.

Definition at line 385 of file ov-usr-fcn.cc.

References local_scope, and symbol_table::subfunctions_defined_in_scope().

Referenced by maybe_relocate_end().

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

Reimplemented in octave_classdef, octave_scalar_struct, octave_java, octave_class, octave_cell, octave_base_sparse< T >, octave_base_sparse< SparseMatrix >, octave_base_sparse< SparseBoolMatrix >, octave_base_sparse< SparseComplexMatrix >, octave_base_matrix< MT >, octave_struct, octave_base_matrix< intNDArray< OCTAVE_INT_T > >, octave_base_matrix< Cell >, octave_base_matrix< NDArray >, octave_base_matrix< FloatComplexNDArray >, octave_base_matrix< charNDArray >, octave_base_matrix< T >, octave_base_matrix< ComplexNDArray >, octave_base_matrix< FloatNDArray >, octave_base_matrix< boolNDArray >, octave_base_diag< DMT, MT >, octave_base_diag< ComplexDiagMatrix, ComplexMatrix >, octave_base_diag< FloatComplexDiagMatrix, FloatComplexMatrix >, octave_base_diag< FloatDiagMatrix, FloatMatrix >, octave_base_diag< DiagMatrix, Matrix >, octave_base_scalar< ST >, octave_base_scalar< double >, octave_base_scalar< float >, octave_base_scalar< T >, octave_base_scalar< OCTAVE_INT_T >, octave_base_scalar< FloatComplex >, octave_base_scalar< Complex >, and octave_base_scalar< bool >.

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

References octave_value::empty_conv(), error(), octave_base_value::is_defined(), octave_base_value::is_empty(), octave_base_value::is_numeric_type(), octave_base_value::numeric_assign(), panic_impossible, octave_value::subsasgn(), octave_base_value::type_name(), and octave_value::undef_subsasgn().

Referenced by octave_value::subsasgn(), octave_class::subsasgn_common(), and octave_base_value::undef_subsasgn().

bool octave_user_function::subsasgn_optimization_ok ( void  )
octave_value octave_user_function::subsref ( const std::string &  type,
const std::list< octave_value_list > &  idx 
)
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 353 of file ov-usr-fcn.h.

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

Referenced by subsref().

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

Reimplemented from octave_base_value.

Definition at line 417 of file ov-usr-fcn.cc.

References subsref().

octave_value_list octave_user_function::subsref ( const std::string &  type,
const std::list< octave_value_list > &  idx,
int  nargout,
const std::list< octave_lvalue > *  lvalue_list 
)
virtual

Reimplemented from octave_base_value.

Definition at line 425 of file ov-usr-fcn.cc.

References do_multi_index_op(), error(), panic_impossible, and type_name().

bool octave_user_function::takes_var_return ( void  ) const
virtual

Reimplemented from octave_function.

Definition at line 367 of file ov-usr-fcn.cc.

References ret_list, and tree_parameter_list::takes_varargs().

Referenced by Fnargout(), and tree_print_code::visit_octave_user_function_header().

bool octave_user_function::takes_varargs ( void  ) const
virtual

Reimplemented from octave_function.

Definition at line 361 of file ov-usr-fcn.cc.

References param_list, and tree_parameter_list::takes_varargs().

Referenced by Fnargin(), and tree_print_code::visit_octave_user_function_header().

octave_time octave_user_function::time_checked ( void  ) const
inlinevirtual

Reimplemented from octave_function.

Definition at line 252 of file ov-usr-fcn.h.

octave_time octave_user_function::time_parsed ( void  ) const
inlinevirtual

Reimplemented from octave_function.

Definition at line 250 of file ov-usr-fcn.h.

octave_comment_list* octave_user_function::trailing_comment ( void  )
inline

Definition at line 384 of file ov-usr-fcn.h.

Referenced by tree_print_code::visit_octave_user_function_trailer().

virtual octave_base_value* octave_base_value::try_narrowing_conversion ( void  )
inlinevirtualinherited
OCTAVE_EMPTY_CPP_ARG int octave_user_function::type_id ( void  ) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 524 of file ov-usr-fcn.h.

OCTAVE_EMPTY_CPP_ARG std::string octave_user_function::type_name ( void  ) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 524 of file ov-usr-fcn.h.

Referenced by subsref().

uint16NDArray octave_base_value::uint16_array_value ( void  ) const
virtualinherited
octave_uint16 octave_base_value::uint16_scalar_value ( void  ) const
virtualinherited
uint32NDArray octave_base_value::uint32_array_value ( void  ) const
virtualinherited
octave_uint32 octave_base_value::uint32_scalar_value ( void  ) const
virtualinherited
uint64NDArray octave_base_value::uint64_array_value ( void  ) const
virtualinherited
octave_uint64 octave_base_value::uint64_scalar_value ( void  ) const
virtualinherited
uint64_t octave_base_value::uint64_value ( bool  require_int = false,
bool  frc_str_conv = false 
) const
virtualinherited

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

uint8NDArray octave_base_value::uint8_array_value ( void  ) const
virtualinherited
octave_uint8 octave_base_value::uint8_scalar_value ( void  ) const
virtualinherited
unsigned int octave_base_value::uint_value ( bool  require_int = false,
bool  frc_str_conv = false 
) const
virtualinherited

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

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

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

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 295 of file ov-base.cc.

References octave_base_value::subsasgn().

Referenced by octave_value::undef_subsasgn(), and octave_classdef::undef_subsasgn().

virtual octave_base_value* octave_base_value::unique_clone ( void  )
inlinevirtualinherited

Reimplemented in octave_class.

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

References octave_value::clone().

Referenced by octave_value::make_unique().

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

Reimplemented in octave_class.

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

Referenced by octave_class::unique_parent_class().

virtual void octave_function::unload ( void  )
inlinevirtualinherited

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

void octave_function::unlock ( void  )
inlinevirtualinherited

Reimplemented from octave_base_value.

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

Referenced by Fmunlock(), and munlock().

void octave_user_function::unlock_subfunctions ( void  )
virtual

Reimplemented from octave_function.

Definition at line 379 of file ov-usr-fcn.cc.

References local_scope, and symbol_table::unlock_subfunctions().

octave_user_code* octave_user_function::user_code_value ( bool  = false)
inlinevirtual

Reimplemented from octave_base_value.

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

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

Reimplemented from octave_base_value.

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

Referenced by maybe_relocate_end(), and octave_fcn_handle::user_function_value().

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

Reimplemented in octave_user_script.

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

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

Referenced by octave_value::user_script_value().

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

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

int octave_base_value::write ( octave_stream os,
int  block_size,
oct_data_conv::data_type  output_type,
int  skip,
oct_mach_info::float_format  flt_fmt 
) const
virtualinherited

Member Data Documentation

bool octave_user_function::anonymous_function
private

Definition at line 482 of file ov-usr-fcn.h.

const std::string octave_user_function::c_name
staticprivate

Definition at line 524 of file ov-usr-fcn.h.

int octave_user_function::call_depth
private

Definition at line 470 of file ov-usr-fcn.h.

Referenced by do_multi_index_op().

class_ctor_type octave_user_function::class_constructor
private

Definition at line 488 of file ov-usr-fcn.h.

bool octave_user_function::class_method
private

Definition at line 491 of file ov-usr-fcn.h.

tree_statement_list* octave_user_function::cmd_list
private
octave_refcount<octave_idx_type> octave_base_value::count
protectedinherited
unwind_protect* octave_user_function::curr_unwind_protect_frame
private

Definition at line 499 of file ov-usr-fcn.h.

Referenced by do_multi_index_op().

std::string octave_function::doc
protectedinherited

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

int octave_user_function::end_location_column
private

Definition at line 448 of file ov-usr-fcn.h.

int octave_user_function::end_location_line
private

Definition at line 447 of file ov-usr-fcn.h.

std::string octave_user_function::file_name
private
bool octave_user_function::inline_function
private

Definition at line 479 of file ov-usr-fcn.h.

jit_function_info* octave_user_function::jit_info
private

Definition at line 502 of file ov-usr-fcn.h.

Referenced by ~octave_user_function().

octave_comment_list* octave_user_function::lead_comm
private

Definition at line 436 of file ov-usr-fcn.h.

Referenced by ~octave_user_function().

symbol_table::scope_id octave_user_function::local_scope
private
int octave_user_function::location_column
private

Definition at line 446 of file ov-usr-fcn.h.

Referenced by profiler_name().

int octave_user_function::location_line
private

Definition at line 445 of file ov-usr-fcn.h.

Referenced by profiler_name().

bool octave_function::locked
protectedinherited

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

std::string octave_function::my_dir_name
protectedinherited

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

std::string octave_function::my_name
protectedinherited
bool octave_user_function::nested_function
private

Definition at line 485 of file ov-usr-fcn.h.

int octave_user_function::num_named_args
private

Definition at line 473 of file ov-usr-fcn.h.

Referenced by all_va_args().

tree_parameter_list* octave_user_function::param_list
private
std::string octave_user_function::parent_name
private

Definition at line 451 of file ov-usr-fcn.h.

symbol_table::scope_id octave_user_function::parent_scope
private

Definition at line 494 of file ov-usr-fcn.h.

bool octave_function::private_function
protectedinherited

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

bool octave_function::relative
protectedinherited

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

tree_parameter_list* octave_user_function::ret_list
private
std::list<std::string> octave_user_function::subfcn_names
private

Definition at line 455 of file ov-usr-fcn.h.

Referenced by has_subfunctions().

bool octave_user_function::subfunction
private

Definition at line 476 of file ov-usr-fcn.h.

bool octave_user_function::system_fcn_file
private

Definition at line 467 of file ov-usr-fcn.h.

Referenced by mark_as_system_fcn_file().

octave_time octave_user_function::t_checked
private

Definition at line 462 of file ov-usr-fcn.h.

int octave_user_function::t_id
staticprivate

Definition at line 524 of file ov-usr-fcn.h.

const std::string octave_user_function::t_name
staticprivate

Definition at line 524 of file ov-usr-fcn.h.

octave_time octave_user_function::t_parsed
private

Definition at line 458 of file ov-usr-fcn.h.

octave_comment_list* octave_user_function::trail_comm
private

Definition at line 439 of file ov-usr-fcn.h.

Referenced by ~octave_user_function().

std::string octave_function::xdispatch_class
protectedinherited

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

std::string octave_function::xpackage_name
protectedinherited

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


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