GNU Octave
4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include "mxarray.h"
Public Member Functions | |
virtual | ~mxArray_base (void) |
virtual | ~mxArray_base (void) |
virtual int | add_field (const char *key)=0 |
virtual int | add_field (const char *key)=0 |
virtual char * | array_to_string (void) const =0 |
virtual char * | array_to_string (void) const =0 |
virtual mxArray * | as_mxArray (void) const |
virtual mxArray * | as_mxArray (void) const |
virtual octave_value | as_octave_value (void) const =0 |
virtual octave_value | as_octave_value (void) const =0 |
virtual mwIndex | calc_single_subscript (mwSize nsubs, mwIndex *subs) const =0 |
virtual mwIndex | calc_single_subscript (mwSize nsubs, mwIndex *subs) const =0 |
virtual mxArray_base * | dup (void) const =0 |
virtual mxArray_base * | dup (void) const =0 |
virtual mxArray * | get_cell (mwIndex) const |
virtual mxArray * | get_cell (mwIndex) const |
virtual mxClassID | get_class_id (void) const =0 |
virtual mxClassID | get_class_id (void) const =0 |
virtual const char * | get_class_name (void) const =0 |
virtual const char * | get_class_name (void) const =0 |
virtual void * | get_data (void) const =0 |
virtual void * | get_data (void) const =0 |
virtual mwSize * | get_dimensions (void) const =0 |
virtual mwSize * | get_dimensions (void) const =0 |
virtual size_t | get_element_size (void) const =0 |
virtual size_t | get_element_size (void) const =0 |
virtual mxArray * | get_field_by_number (mwIndex index, int key_num) const =0 |
virtual mxArray * | get_field_by_number (mwIndex index, int key_num) const =0 |
virtual const char * | get_field_name_by_number (int key_num) const =0 |
virtual const char * | get_field_name_by_number (int key_num) const =0 |
virtual int | get_field_number (const char *key) const =0 |
virtual int | get_field_number (const char *key) const =0 |
virtual void * | get_imag_data (void) const =0 |
virtual void * | get_imag_data (void) const =0 |
virtual mwIndex * | get_ir (void) const =0 |
virtual mwIndex * | get_ir (void) const =0 |
virtual mwIndex * | get_jc (void) const =0 |
virtual mwIndex * | get_jc (void) const =0 |
virtual mwSize | get_m (void) const =0 |
virtual mwSize | get_m (void) const =0 |
virtual mwSize | get_n (void) const =0 |
virtual mwSize | get_n (void) const =0 |
virtual mwSize | get_number_of_dimensions (void) const =0 |
virtual mwSize | get_number_of_dimensions (void) const =0 |
virtual mwSize | get_number_of_elements (void) const =0 |
virtual mwSize | get_number_of_elements (void) const =0 |
virtual int | get_number_of_fields (void) const =0 |
virtual int | get_number_of_fields (void) const =0 |
virtual mwSize | get_nzmax (void) const =0 |
virtual mwSize | get_nzmax (void) const =0 |
virtual double | get_scalar (void) const =0 |
virtual double | get_scalar (void) const =0 |
virtual int | get_string (char *buf, mwSize buflen) const =0 |
virtual int | get_string (char *buf, mwSize buflen) const =0 |
virtual int | is_cell (void) const =0 |
virtual int | is_cell (void) const =0 |
virtual int | is_char (void) const =0 |
virtual int | is_char (void) const =0 |
virtual int | is_class (const char *name_arg) const |
virtual int | is_class (const char *name_arg) const |
virtual int | is_complex (void) const =0 |
virtual int | is_complex (void) const =0 |
virtual int | is_double (void) const =0 |
virtual int | is_double (void) const =0 |
virtual int | is_empty (void) const =0 |
virtual int | is_empty (void) const =0 |
virtual int | is_function_handle (void) const =0 |
virtual int | is_function_handle (void) const =0 |
virtual int | is_int16 (void) const =0 |
virtual int | is_int16 (void) const =0 |
virtual int | is_int32 (void) const =0 |
virtual int | is_int32 (void) const =0 |
virtual int | is_int64 (void) const =0 |
virtual int | is_int64 (void) const =0 |
virtual int | is_int8 (void) const =0 |
virtual int | is_int8 (void) const =0 |
virtual int | is_logical (void) const =0 |
virtual int | is_logical (void) const =0 |
virtual int | is_logical_scalar (void) const |
virtual int | is_logical_scalar (void) const |
virtual int | is_logical_scalar_true (void) const =0 |
virtual int | is_logical_scalar_true (void) const =0 |
virtual int | is_numeric (void) const =0 |
virtual int | is_numeric (void) const =0 |
virtual bool | is_octave_value (void) const |
virtual bool | is_octave_value (void) const |
virtual int | is_single (void) const =0 |
virtual int | is_single (void) const =0 |
virtual int | is_sparse (void) const =0 |
virtual int | is_sparse (void) const =0 |
virtual int | is_struct (void) const =0 |
virtual int | is_struct (void) const =0 |
virtual int | is_uint16 (void) const =0 |
virtual int | is_uint16 (void) const =0 |
virtual int | is_uint32 (void) const =0 |
virtual int | is_uint32 (void) const =0 |
virtual int | is_uint64 (void) const =0 |
virtual int | is_uint64 (void) const =0 |
virtual int | is_uint8 (void) const =0 |
virtual int | is_uint8 (void) const =0 |
virtual mxArray * | mutate (void) const |
virtual mxArray * | mutate (void) const |
virtual bool | mutation_needed (void) const |
virtual bool | mutation_needed (void) const |
virtual void | remove_field (int key_num)=0 |
virtual void | remove_field (int key_num)=0 |
virtual void | set_cell (mwIndex idx, mxArray *val)=0 |
virtual void | set_cell (mwIndex idx, mxArray *val)=0 |
virtual void | set_class_name (const char *name_arg)=0 |
virtual void | set_class_name (const char *name_arg)=0 |
virtual void | set_data (void *pr)=0 |
virtual void | set_data (void *pr)=0 |
virtual void | set_dimensions (mwSize *dims_arg, mwSize ndims_arg)=0 |
virtual void | set_dimensions (mwSize *dims_arg, mwSize ndims_arg)=0 |
virtual void | set_field_by_number (mwIndex index, int key_num, mxArray *val)=0 |
virtual void | set_field_by_number (mwIndex index, int key_num, mxArray *val)=0 |
virtual void | set_imag_data (void *pi)=0 |
virtual void | set_imag_data (void *pi)=0 |
virtual void | set_ir (mwIndex *ir)=0 |
virtual void | set_ir (mwIndex *ir)=0 |
virtual void | set_jc (mwIndex *jc)=0 |
virtual void | set_jc (mwIndex *jc)=0 |
virtual void | set_m (mwSize m)=0 |
virtual void | set_m (mwSize m)=0 |
virtual void | set_n (mwSize n)=0 |
virtual void | set_n (mwSize n)=0 |
virtual void | set_nzmax (mwSize nzmax)=0 |
virtual void | set_nzmax (mwSize nzmax)=0 |
Protected Member Functions | |
mxArray_base (void) | |
mxArray_base (void) | |
mxArray_base (const mxArray_base &) | |
mxArray_base (const mxArray_base &) | |
void | error (const char *msg) const |
void | error (const char *msg) const |
void | invalid_type_error (void) const |
void | invalid_type_error (void) const |
|
inlinevirtual |
|
inlineprotected |
|
inlineprotected |
Definition at line 128 of file mxarray.in.h.
|
inlinevirtual |
Definition at line 136 of file mxarray.in.h.
|
inlineprotected |
Definition at line 280 of file mxarray.in.h.
Implemented in mxArray_struct, mxArray_matlab, and mxArray_octave_value.
Implemented in mxArray_struct, mxArray_matlab, and mxArray_octave_value.
|
pure virtual |
Implemented in mxArray_number, mxArray_matlab, and mxArray_octave_value.
Referenced by mxArray::array_to_string().
|
pure virtual |
Implemented in mxArray_number, mxArray_matlab, and mxArray_octave_value.
|
inlinevirtual |
Reimplemented in mxArray_octave_value.
Definition at line 134 of file mxarray.in.h.
|
inlinevirtual |
Reimplemented in mxArray_octave_value.
Definition at line 134 of file mxarray.h.
Referenced by mxArray::dup().
|
pure virtual |
Implemented in mxArray_cell, mxArray_struct, mxArray_sparse, mxArray_number, and mxArray_octave_value.
|
pure virtual |
Implemented in mxArray_cell, mxArray_struct, mxArray_sparse, mxArray_number, and mxArray_octave_value.
Referenced by mxArray::as_octave_value().
|
pure virtual |
Implemented in mxArray_matlab, and mxArray_octave_value.
Referenced by mxArray::calc_single_subscript().
|
pure virtual |
Implemented in mxArray_matlab, and mxArray_octave_value.
|
pure virtual |
Implemented in mxArray_cell, mxArray_struct, mxArray_sparse, mxArray_number, and mxArray_octave_value.
Referenced by mxArray::dup().
|
pure virtual |
Implemented in mxArray_cell, mxArray_struct, mxArray_sparse, mxArray_number, and mxArray_octave_value.
|
protected |
Definition at line 108 of file mex.cc.
Referenced by mxArray_sparse::as_octave_value(), mxArray_number::int_to_ov(), invalid_type_error(), and mxArray_matlab::invalid_type_error().
|
protected |
Reimplemented in mxArray_cell, mxArray_matlab, and mxArray_octave_value.
Definition at line 219 of file mxarray.h.
References invalid_type_error().
Reimplemented in mxArray_cell, mxArray_matlab, and mxArray_octave_value.
Definition at line 219 of file mxarray.in.h.
References invalid_type_error().
|
pure virtual |
Implemented in mxArray_matlab, and mxArray_octave_value.
Referenced by mxArray::get_class_id().
|
pure virtual |
Implemented in mxArray_matlab, and mxArray_octave_value.
|
pure virtual |
Implemented in mxArray_matlab, and mxArray_octave_value.
Referenced by mxArray::get_class_name(), and is_class().
|
pure virtual |
Implemented in mxArray_matlab, and mxArray_octave_value.
|
pure virtual |
Implemented in mxArray_cell, mxArray_struct, mxArray_sparse, mxArray_number, mxArray_matlab, and mxArray_octave_value.
|
pure virtual |
Implemented in mxArray_cell, mxArray_struct, mxArray_sparse, mxArray_number, mxArray_matlab, and mxArray_octave_value.
|
pure virtual |
Implemented in mxArray_matlab, and mxArray_octave_value.
|
pure virtual |
Implemented in mxArray_matlab, and mxArray_octave_value.
Referenced by mxArray::get_dimensions().
|
pure virtual |
Implemented in mxArray_matlab, and mxArray_octave_value.
Referenced by mxArray::get_element_size().
|
pure virtual |
Implemented in mxArray_matlab, and mxArray_octave_value.
|
pure virtual |
Implemented in mxArray_struct, mxArray_matlab, and mxArray_octave_value.
|
pure virtual |
Implemented in mxArray_struct, mxArray_matlab, and mxArray_octave_value.
Implemented in mxArray_struct, mxArray_matlab, and mxArray_octave_value.
Implemented in mxArray_struct, mxArray_matlab, and mxArray_octave_value.
Implemented in mxArray_struct, mxArray_matlab, and mxArray_octave_value.
Implemented in mxArray_struct, mxArray_matlab, and mxArray_octave_value.
|
pure virtual |
Implemented in mxArray_sparse, mxArray_number, mxArray_matlab, and mxArray_octave_value.
|
pure virtual |
Implemented in mxArray_sparse, mxArray_number, mxArray_matlab, and mxArray_octave_value.
|
pure virtual |
Implemented in mxArray_sparse, mxArray_matlab, and mxArray_octave_value.
|
pure virtual |
Implemented in mxArray_sparse, mxArray_matlab, and mxArray_octave_value.
|
pure virtual |
Implemented in mxArray_sparse, mxArray_matlab, and mxArray_octave_value.
|
pure virtual |
Implemented in mxArray_sparse, mxArray_matlab, and mxArray_octave_value.
|
pure virtual |
Implemented in mxArray_matlab, and mxArray_octave_value.
|
pure virtual |
Implemented in mxArray_matlab, and mxArray_octave_value.
Referenced by mxArray::get_m().
|
pure virtual |
Implemented in mxArray_matlab, and mxArray_octave_value.
|
pure virtual |
Implemented in mxArray_matlab, and mxArray_octave_value.
Referenced by mxArray::get_n().
|
pure virtual |
Implemented in mxArray_matlab, and mxArray_octave_value.
|
pure virtual |
Implemented in mxArray_matlab, and mxArray_octave_value.
Referenced by mxArray::get_number_of_dimensions().
|
pure virtual |
Implemented in mxArray_matlab, and mxArray_octave_value.
Referenced by mxArray::get_number_of_elements(), and is_logical_scalar().
|
pure virtual |
Implemented in mxArray_matlab, and mxArray_octave_value.
|
pure virtual |
Implemented in mxArray_struct, mxArray_matlab, and mxArray_octave_value.
|
pure virtual |
Implemented in mxArray_struct, mxArray_matlab, and mxArray_octave_value.
Referenced by mxArray::get_number_of_fields().
|
pure virtual |
Implemented in mxArray_sparse, mxArray_matlab, and mxArray_octave_value.
|
pure virtual |
Implemented in mxArray_sparse, mxArray_matlab, and mxArray_octave_value.
Referenced by mxArray::get_nzmax().
|
pure virtual |
Implemented in mxArray_number, mxArray_matlab, and mxArray_octave_value.
Referenced by mxArray::get_scalar().
|
pure virtual |
Implemented in mxArray_number, mxArray_matlab, and mxArray_octave_value.
Implemented in mxArray_number, mxArray_matlab, and mxArray_octave_value.
Referenced by mxArray::get_string().
Implemented in mxArray_number, mxArray_matlab, and mxArray_octave_value.
|
inlineprotected |
|
inlineprotected |
Definition at line 282 of file mxarray.in.h.
References error().
|
pure virtual |
Implemented in mxArray_matlab, and mxArray_octave_value.
|
pure virtual |
Implemented in mxArray_matlab, and mxArray_octave_value.
Referenced by mxArray::is_cell().
|
pure virtual |
Implemented in mxArray_matlab, and mxArray_octave_value.
|
pure virtual |
Implemented in mxArray_matlab, and mxArray_octave_value.
Referenced by mxArray::is_char().
Definition at line 144 of file mxarray.in.h.
References get_class_name().
Definition at line 144 of file mxarray.h.
References get_class_name().
Referenced by mxArray::is_class().
|
pure virtual |
Implemented in mxArray_sparse, mxArray_number, mxArray_matlab, and mxArray_octave_value.
Referenced by mxArray::is_complex().
|
pure virtual |
Implemented in mxArray_sparse, mxArray_number, mxArray_matlab, and mxArray_octave_value.
|
pure virtual |
Implemented in mxArray_matlab, and mxArray_octave_value.
|
pure virtual |
Implemented in mxArray_matlab, and mxArray_octave_value.
Referenced by mxArray::is_double().
|
pure virtual |
Implemented in mxArray_matlab, and mxArray_octave_value.
|
pure virtual |
Implemented in mxArray_matlab, and mxArray_octave_value.
|
pure virtual |
Implemented in mxArray_matlab, and mxArray_octave_value.
Referenced by mxArray::is_function_handle().
|
pure virtual |
Implemented in mxArray_matlab, and mxArray_octave_value.
|
pure virtual |
Implemented in mxArray_matlab, and mxArray_octave_value.
|
pure virtual |
Implemented in mxArray_matlab, and mxArray_octave_value.
Referenced by mxArray::is_int16().
|
pure virtual |
Implemented in mxArray_matlab, and mxArray_octave_value.
|
pure virtual |
Implemented in mxArray_matlab, and mxArray_octave_value.
Referenced by mxArray::is_int32().
|
pure virtual |
Implemented in mxArray_matlab, and mxArray_octave_value.
|
pure virtual |
Implemented in mxArray_matlab, and mxArray_octave_value.
Referenced by mxArray::is_int64().
|
pure virtual |
Implemented in mxArray_matlab, and mxArray_octave_value.
|
pure virtual |
Implemented in mxArray_matlab, and mxArray_octave_value.
Referenced by mxArray::is_int8().
|
pure virtual |
Implemented in mxArray_matlab, and mxArray_octave_value.
|
pure virtual |
Implemented in mxArray_matlab, and mxArray_octave_value.
Referenced by mxArray::is_logical(), and is_logical_scalar().
|
inlinevirtual |
Definition at line 188 of file mxarray.in.h.
References get_number_of_elements(), and is_logical().
|
inlinevirtual |
Definition at line 188 of file mxarray.h.
References get_number_of_elements(), and is_logical().
Referenced by mxArray::is_logical_scalar(), mxArray_octave_value::is_logical_scalar_true(), and mxArray_matlab::is_logical_scalar_true().
|
pure virtual |
Implemented in mxArray_matlab, and mxArray_octave_value.
|
pure virtual |
Implemented in mxArray_matlab, and mxArray_octave_value.
Referenced by mxArray::is_logical_scalar_true().
|
pure virtual |
Implemented in mxArray_matlab, and mxArray_octave_value.
Referenced by mxArray::is_numeric().
|
pure virtual |
Implemented in mxArray_matlab, and mxArray_octave_value.
|
inlinevirtual |
Reimplemented in mxArray_octave_value.
Definition at line 138 of file mxarray.in.h.
|
inlinevirtual |
Reimplemented in mxArray_octave_value.
Definition at line 138 of file mxarray.h.
Referenced by mxArray::is_octave_value(), and mxArray::maybe_mutate().
|
pure virtual |
Implemented in mxArray_matlab, and mxArray_octave_value.
Referenced by mxArray::is_single().
|
pure virtual |
Implemented in mxArray_matlab, and mxArray_octave_value.
|
pure virtual |
Implemented in mxArray_sparse, mxArray_matlab, and mxArray_octave_value.
Referenced by mxArray::is_sparse().
|
pure virtual |
Implemented in mxArray_sparse, mxArray_matlab, and mxArray_octave_value.
|
pure virtual |
Implemented in mxArray_matlab, and mxArray_octave_value.
|
pure virtual |
Implemented in mxArray_matlab, and mxArray_octave_value.
Referenced by mxArray::is_struct().
|
pure virtual |
Implemented in mxArray_matlab, and mxArray_octave_value.
|
pure virtual |
Implemented in mxArray_matlab, and mxArray_octave_value.
Referenced by mxArray::is_uint16().
|
pure virtual |
Implemented in mxArray_matlab, and mxArray_octave_value.
|
pure virtual |
Implemented in mxArray_matlab, and mxArray_octave_value.
Referenced by mxArray::is_uint32().
|
pure virtual |
Implemented in mxArray_matlab, and mxArray_octave_value.
|
pure virtual |
Implemented in mxArray_matlab, and mxArray_octave_value.
Referenced by mxArray::is_uint64().
|
pure virtual |
Implemented in mxArray_matlab, and mxArray_octave_value.
|
pure virtual |
Implemented in mxArray_matlab, and mxArray_octave_value.
Referenced by mxArray::is_uint8().
|
inlinevirtual |
Reimplemented in mxArray_octave_value.
Definition at line 274 of file mxarray.h.
Referenced by mxArray::maybe_mutate(), and mxArray::mutate().
|
inlinevirtual |
Reimplemented in mxArray_octave_value.
Definition at line 274 of file mxarray.in.h.
|
inlinevirtual |
Reimplemented in mxArray_octave_value.
Definition at line 272 of file mxarray.h.
Referenced by mxArray::mutation_needed().
|
inlinevirtual |
Reimplemented in mxArray_octave_value.
Definition at line 272 of file mxarray.in.h.
|
pure virtual |
Implemented in mxArray_struct, mxArray_matlab, and mxArray_octave_value.
|
pure virtual |
Implemented in mxArray_struct, mxArray_matlab, and mxArray_octave_value.
Implemented in mxArray_cell, mxArray_matlab, and mxArray_octave_value.
Implemented in mxArray_cell, mxArray_matlab, and mxArray_octave_value.
|
pure virtual |
Implemented in mxArray_matlab, and mxArray_octave_value.
|
pure virtual |
Implemented in mxArray_matlab, and mxArray_octave_value.
|
pure virtual |
Implemented in mxArray_cell, mxArray_struct, mxArray_sparse, mxArray_number, mxArray_matlab, and mxArray_octave_value.
|
pure virtual |
Implemented in mxArray_cell, mxArray_struct, mxArray_sparse, mxArray_number, mxArray_matlab, and mxArray_octave_value.
Implemented in mxArray_matlab, and mxArray_octave_value.
Implemented in mxArray_matlab, and mxArray_octave_value.
|
pure virtual |
Implemented in mxArray_struct, mxArray_matlab, and mxArray_octave_value.
|
pure virtual |
Implemented in mxArray_struct, mxArray_matlab, and mxArray_octave_value.
|
pure virtual |
Implemented in mxArray_sparse, mxArray_number, mxArray_matlab, and mxArray_octave_value.
|
pure virtual |
Implemented in mxArray_sparse, mxArray_number, mxArray_matlab, and mxArray_octave_value.
|
pure virtual |
Implemented in mxArray_sparse, mxArray_matlab, and mxArray_octave_value.
|
pure virtual |
Implemented in mxArray_sparse, mxArray_matlab, and mxArray_octave_value.
|
pure virtual |
Implemented in mxArray_sparse, mxArray_matlab, and mxArray_octave_value.
|
pure virtual |
Implemented in mxArray_sparse, mxArray_matlab, and mxArray_octave_value.
|
pure virtual |
Implemented in mxArray_matlab, and mxArray_octave_value.
|
pure virtual |
Implemented in mxArray_matlab, and mxArray_octave_value.
|
pure virtual |
Implemented in mxArray_matlab, and mxArray_octave_value.
|
pure virtual |
Implemented in mxArray_matlab, and mxArray_octave_value.
|
pure virtual |
Implemented in mxArray_sparse, mxArray_matlab, and mxArray_octave_value.
|
pure virtual |
Implemented in mxArray_sparse, mxArray_matlab, and mxArray_octave_value.