GNU Octave  4.2.1
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
Classes | Functions | Variables
ov-class.cc File Reference
#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.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-usr-fcn.h"
#include "pager.h"
#include "parse.h"
#include "pr-output.h"
#include "unwind-prot.h"
#include "variables.h"
Include dependency graph for ov-class.cc:

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 (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

 else
 
octave_functionfcn = octave_call_stack::caller ()
 
Additional arguments name a
list of parent classes from
which the new class is derived
eealso 
nargin = args.length ()
 
octave_value retval
 

Function Documentation

static OCTAVE_NORETURN void err_invalid_index1 ( void  )
static

Definition at line 241 of file ov-class.cc.

References error().

Referenced by octave_class::subsref().

static OCTAVE_NORETURN void err_invalid_index_for_assignment ( void  )
static

Definition at line 248 of file ov-class.cc.

References error().

Referenced by octave_class::numeric_conv(), and octave_class::subsasgn_common().

static OCTAVE_NORETURN void err_invalid_index_type ( const std::string nm,
char  t 
)
static

Definition at line 255 of file ov-class.cc.

References error(), and t.

Referenced by octave_class::subsasgn_common(), and octave_class::subsref().

OCTAVE_EXPORT octave_value_list Fclass ( const octave_value_list args,
int   
)

Definition at line 1726 of file ov-class.cc.

Referenced by install_ov_class_fcns().

if ( nargin  = =0)

Definition at line 1734 of file symtab.cc.

and name ( string  )

Definition at line 1726 of file ov-class.cc.

References nargin, and print_usage().

Referenced by octave_class::print_with_name().

Variable Documentation

else
Initial value:
{
std::string id = args(1).xstring_value ("class: ID (class name) must be a string")
JNIEnv void * args
Definition: ov-java.cc:67
If this string is the system will ring the terminal sometimes it is useful to be able to print the original representation of the string
Definition: utils.cc:854

Definition at line 1739 of file ov-class.cc.

Definition at line 1743 of file ov-class.cc.

Referenced by symbol_table::symbol_record::symbol_record_rep::active_context(), action_container::add_fcn(), symbol_table::alias_built_in_function(), octave_mex_function::atexit(), binmap(), tree_anon_fcn_handle::body(), symbol_table::built_in_function_names(), call_mex(), called_from_builtin(), cdef_method::cdef_method_rep::check_method(), symbol_table::cmdline_function_names(), symbol_table::do_builtin_find(), octave::tree_evaluator::do_decl_init_list(), gh_manager::do_execute_callback(), symbol_table::do_find(), do_rc_map(), profile_data_accumulator::tree_node::enter(), profile_data_accumulator::enter_function(), file_editor_tab::exit_debug_and_clear(), octave_fcn_handle::fcn_val(), Ffunctions(), symbol_table::fcn_info::fcn_info_rep::find_autoload(), symbol_table::find_method(), symbol_table::fcn_info::fcn_info_rep::find_package(), symbol_table::find_submethod(), symbol_table::fcn_info::fcn_info_rep::find_user_function(), octave::base_parser::frob_function(), tree_funcall::function(), tree_function_def::function(), mex::function_name(), octave_fcn_handle::function_value(), G__init_fltk__(), get_class_context(), octave_class::get_current_method_class(), get_help_from_file(), get_user_code(), MArray< Complex >::hermitian(), MDiagArray2< Complex >::hermitian(), DiagArray2< T >::hermitian(), Array< T >::hermitian(), octave_class::in_class_method(), install_builtin_function(), install_dld_function(), cdef_package::cdef_package_rep::install_function(), install_mex_function(), Java_org_octave_Octave_doInvoke(), jit_function_info::jit_function_info(), symbol_table::fcn_info::fcn_info_rep::load_class_constructor(), symbol_table::fcn_info::fcn_info_rep::load_class_method(), load_out_of_date_fcn(), symbol_table::fcn_info::fcn_info_rep::load_private_function(), make_fcn_handle(), make_function_of_class(), cdef_class::make_meta_class(), octave::base_parser::make_meta_class_query(), make_method(), octave::base_parser::make_superclass_ref(), MSparse< Complex >::map(), Cell::map(), Sparse< bool >::map(), Array< octave_value >::map(), symbol_table::fcn_info::fcn_info_rep::mark_subfunction_in_scope_as_private(), cdef_package::cdef_package_rep::meta_subsref(), octave_push_parse(), out_of_date_check(), tree_anon_fcn_handle::parameter_list(), octave_class::print_with_name(), Sparse< T >::range_error(), raw_help_from_symbol_table(), read_mat5_binary_element(), octave_class::reconstruct_exemplar(), jit_typeinfo::register_generic(), tree_anon_fcn_handle::return_list(), tree_index_expression::rvalue(), tree_identifier::rvalue(), tree_colon_expression::rvalue1(), tree_anon_fcn_handle::scope(), symbol_table::symbol_record::symbol_record_rep::set_curr_fcn(), cdef_method::cdef_method_rep::set_function(), octave::base_parser::start_function(), symbol_table::stash_dir_name_for_subfunctions(), 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(), tree_funcall::tree_funcall(), octave_fcn_handle::user_function_value(), verror(), ctor_analyzer::visit_funcall(), tree_checker::visit_function_def(), tree_breakpoint::visit_function_def(), octave::tree_evaluator::visit_function_def(), tree_print_code::visit_function_def(), symbol_table::fcn_info::fcn_info_rep::x_builtin_find(), symbol_table::fcn_info::fcn_info_rep::xfind(), singleton_cleanup_list::~singleton_cleanup_list(), and tree_anon_fcn_handle::~tree_anon_fcn_handle().

Additional arguments name a list of parent classes from which the new class is derived eealso nargin = args.length ()

Referenced by name().

octave_value retval