#include <iostream>
#include "Array-util.h"
#include "byte-swap.h"
#include "oct-locbuf.h"
#include "lo-mappers.h"
#include "Cell.h"
#include "call-stack.h"
#include "defun.h"
#include "error.h"
#include "file-ops.h"
#include "errwarn.h"
#include "interpreter-private.h"
#include "interpreter.h"
#include "load-path.h"
#include "ls-hdf5.h"
#include "ls-oct-text.h"
#include "ls-oct-binary.h"
#include "ls-utils.h"
#include "mxarray.h"
#include "oct-lvalue.h"
#include "oct-hdf5.h"
#include "ov-class.h"
#include "ov-fcn.h"
#include "ov-typeinfo.h"
#include "ov-usr-fcn.h"
#include "pager.h"
#include "parse.h"
#include "pr-output.h"
#include "unwind-prot.h"
#include "variables.h"
Go to the source code of this file.
Classes | |
class | eealso |
Functions | |
static OCTAVE_NORETURN void | err_invalid_index1 (void) |
static OCTAVE_NORETURN void | err_invalid_index_for_assignment (void) |
static OCTAVE_NORETURN void | err_invalid_index_type (const std::string &nm, char t) |
OCTAVE_EXPORT octave_value_list | Fclass (octave::interpreter &interp, const octave_value_list &args, int) or create a class with fields from structure ar |
if (nargin==0) print_usage() | |
and | name (string) ar |
Variables | |
octave::call_stack & | cs = interp.get_call_stack () |
else | |
octave_function * | fcn = cs.caller () |
Additional arguments name a list of parent classes from which the new class is derived eealso | nargin = args.length () |
octave_value | retval |
|
static |
Definition at line 247 of file ov-class.cc.
References error().
Referenced by octave_class::subsref().
|
static |
Definition at line 254 of file ov-class.cc.
References error().
Referenced by octave_class::numeric_conv(), and octave_class::subsasgn_common().
|
static |
Definition at line 261 of file ov-class.cc.
References error(), nm, and t.
Referenced by octave_class::subsasgn_common(), and octave_class::subsref().
OCTAVE_EXPORT octave_value_list Fclass | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | |||
) |
Definition at line 1735 of file ov-class.cc.
if | ( | nargin | = =0 | ) |
Definition at line 598 of file file-io.cc.
and name | ( | string | ) |
Definition at line 1735 of file ov-class.cc.
References print_usage().
Referenced by octave_class::load_hdf5(), octave_class::print_name_tag(), octave_class::print_with_name(), and octave_class::save_hdf5().
octave::call_stack& cs = interp.get_call_stack () |
Definition at line 1752 of file ov-class.cc.
Referenced by octave_mex_function::call(), octave_builtin::call(), octave_user_script::call(), octave_user_function::call(), called_from_builtin(), octave::call_stack::caller(), octave::call_stack::clear(), octave::call_stack::current(), octave::call_stack::current_context(), octave::call_stack::current_scope(), do_who(), octave::call_stack::element(), error_1(), octave::file_editor_tab::exit_debug_and_clear(), mex::function_name(), get_class_context(), octave_class::get_current_method_class(), get_current_shlib(), octave::get_user_code(), Givens(), octave_class::in_class_method(), initialize_last_error_stack(), octave::find_files_dialog::is_match(), is_method_executing(), octave_fcn_handle::load_ascii(), octave_fcn_handle::load_binary(), octave_fcn_handle::load_hdf5(), maybe_enter_debugger(), mexGetVariable(), mexPutVariable(), octave_fcn_inline::octave_fcn_inline(), pr_where(), print_usage(), read_mat5_binary_element(), octave::call_stack::set_column(), octave::call_stack::set_line(), octave::call_stack::set_location(), Vt102Emulation::setAndUseCharset(), Vt102Emulation::setCharset(), octave::call_stack::size(), verror(), octave::jit_convert_llvm::visit(), octave::tree_checker::visit_switch_case(), octave::tree_print_code::visit_switch_case(), and warning_1().
else |
Definition at line 1748 of file ov-class.cc.
octave_function* fcn = cs.caller () |
Definition at line 1754 of file ov-class.cc.
Referenced by octave::bp_table::add_breakpoint_1(), octave::action_container::add_fcn(), octave::symbol_table::alias_built_in_function(), any_all_test(), octave_mex_function::atexit(), binmap(), octave::symbol_table::built_in_function_names(), octave::symbol_table::builtin_find(), call_mex(), called_from_builtin(), octave::load_path::package_info::check_file_type(), check_version(), octave::symbol_table::cmdline_function_names(), octave::jit_convert_llvm::convert_function(), graphics_event::create_function_event(), octave::tree_jit::do_execute(), gh_manager::do_execute_callback(), do_fft(), do_fft2(), do_fftn(), gh_manager::do_post_function(), do_rand(), do_rc_map(), octave::dump_function_map(), octave::profiler::tree_node::enter(), octave::profiler::enter_function(), err_disabled_feature(), err_file_open(), err_not_implemented(), err_square_matrix_required(), octave::tree_jit::execute(), octave::file_editor_tab::exit_debug_and_clear(), octave::profiler::exit_function(), octave::symbol_table::fcn_table_find(), octave_fcn_handle::fcn_val(), Ffunctions(), octave::final_index_error(), octave::symbol_scope_rep::find(), octave::load_path::find_fcn(), octave::load_path::package_info::find_fcn(), octave::load_path::find_fcn_file(), octave::symbol_table::find_method(), octave::load_path::find_mex_file(), octave::load_path::find_oct_file(), octave::fcn_info::fcn_info_rep::find_package(), octave::load_path::find_private_fcn(), octave::load_path::package_info::find_private_fcn(), octave::symbol_table::find_submethod(), mex::function_name(), octave_fcn_handle::function_value(), G__init_fltk__(), get_class_context(), octave_class::get_current_method_class(), octave::get_user_code(), gripe_data_file_in_path(), gripe_disabled_feature(), gripe_not_implemented(), gripe_not_supported(), MDiagArray2< Complex >::hermitian(), MArray< Complex >::hermitian(), DiagArray2< Complex >::hermitian(), Array< octave_value >::hermitian(), octave_class::in_class_method(), octave::fcn_info::fcn_info_rep::install_built_in_dispatch(), octave::symbol_table::install_built_in_function(), install_builtin_function(), octave::symbol_table::install_cmdline_function(), install_dld_function(), cdef_package::install_function(), octave::symbol_table::install_local_function(), install_mex_function(), octave::symbol_table::install_user_function(), is_dummy_method(), octave::jit_convert::jit_convert(), octave::jit_function_info::jit_function_info(), octave::fcn_info::fcn_info_rep::load_class_constructor(), octave::fcn_info::fcn_info_rep::load_class_method(), make_fcn_handle(), make_function_of_class(), cdef_manager::make_method(), MSparse< Complex >::map(), Cell::map(), Sparse< bool >::map(), Array< octave_value >::map(), octave::symbol_scope_rep::mark_subfunctions_in_scope_as_private(), octave::tree_evaluator::maybe_push_echo_state_cleanup(), octave::tree_evaluator::maybe_set_echo_state(), octave_set_xerbla_handler(), octave::out_of_date_check(), octave::call_stack::push(), Sparse< bool >::range_error(), octave_class::reconstruct_exemplar(), octave::jit_typeinfo::register_generic(), octave::bp_table::remove_breakpoint_1(), octave::symbol_scope_rep::set_function(), octave::symbol_scope::set_function(), cdef_method::cdef_method_rep::set_function(), cdef_method::set_function(), Sparse< bool >::test(), Array< octave_value >::test(), Sparse< bool >::test_all(), Array< octave_value >::test_all(), Sparse< bool >::test_any(), Array< octave_value >::test_any(), octave_fcn_handle::user_function_value(), verror(), octave::tree_evaluator::visit_colon_expression(), octave::tree_evaluator::visit_funcall(), octave::tree_checker::visit_function_def(), octave::tree_breakpoint::visit_function_def(), octave::tree_print_code::visit_function_def(), octave::tree_evaluator::visit_function_def(), octave::tree_evaluator::visit_identifier(), octave::tree_evaluator::visit_index_expression(), octave::tree_checker::visit_octave_user_function(), octave::tree_breakpoint::visit_octave_user_function(), octave::tree_print_code::visit_octave_user_function(), octave::tree_print_code::visit_octave_user_function_header(), octave::tree_print_code::visit_octave_user_function_trailer(), octave::tree_checker::visit_octave_user_script(), octave::tree_breakpoint::visit_octave_user_script(), octave::tree_print_code::visit_octave_user_script(), warn_data_file_in_path(), warn_disabled_feature(), octave::fcn_info::fcn_info_rep::x_builtin_find(), octave::fcn_info::fcn_info_rep::xfind(), and singleton_cleanup_list::~singleton_cleanup_list().
Additional arguments name a list of parent classes from which the new class is derived eealso nargin = args.length () |
octave_value retval |
Definition at line 1742 of file ov-class.cc.
Referenced by octave_class::byte_size(), octave_class::find_parent_class(), octave_class::get_current_method_class(), octave_class::is_instance_of(), octave_class::is_true(), octave_class::load_hdf5(), octave_class::numel(), octave_class::numeric_conv(), octave_class::reconstruct_exemplar(), octave_class::reconstruct_parents(), octave_class::size(), octave_class::string_vector_value(), octave_class::subsasgn_common(), octave_class::subsref(), and octave_class::unique_parent_class().