#include "mxarray.h"
Public Member Functions | |
virtual | ~mxArray_base (void)=default |
virtual int | add_field (const char *key)=0 |
virtual char * | array_to_string (void) const =0 |
virtual mxArray * | as_mxArray (void) const |
virtual octave_value | as_octave_value (void) const =0 |
virtual mwIndex | calc_single_subscript (mwSize nsubs, mwIndex *subs) const =0 |
virtual mxArray_base * | dup (void) const =0 |
virtual mxArray * | get_cell (mwIndex) const |
virtual mxClassID | get_class_id (void) const =0 |
virtual const char * | get_class_name (void) const =0 |
virtual mxComplexDouble * | get_complex_doubles (void) const =0 |
virtual mxComplexSingle * | get_complex_singles (void) const =0 |
virtual void * | get_data (void) const =0 |
virtual mwSize * | get_dimensions (void) const =0 |
virtual mxDouble * | get_doubles (void) const =0 |
virtual std::size_t | get_element_size (void) 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 int | get_field_number (const char *key) const =0 |
virtual void * | get_imag_data (void) const =0 |
virtual mxInt16 * | get_int16s (void) const =0 |
virtual mxInt32 * | get_int32s (void) const =0 |
virtual mxInt64 * | get_int64s (void) const =0 |
virtual mxInt8 * | get_int8s (void) const =0 |
virtual mwIndex * | get_ir (void) const =0 |
virtual mwIndex * | get_jc (void) const =0 |
virtual mwSize | get_m (void) const =0 |
virtual mwSize | get_n (void) const =0 |
virtual mwSize | get_number_of_dimensions (void) const =0 |
virtual mwSize | get_number_of_elements (void) const =0 |
virtual int | get_number_of_fields (void) const =0 |
virtual mwSize | get_nzmax (void) const =0 |
virtual mxArray * | get_property (mwIndex, const char *) const |
virtual double | get_scalar (void) const =0 |
virtual mxSingle * | get_singles (void) const =0 |
virtual int | get_string (char *buf, mwSize buflen) const =0 |
virtual mxUint16 * | get_uint16s (void) const =0 |
virtual mxUint32 * | get_uint32s (void) const =0 |
virtual mxUint64 * | get_uint64s (void) const =0 |
virtual mxUint8 * | get_uint8s (void) const =0 |
virtual int | is_char (void) const =0 |
virtual int | is_class (const char *name_arg) const |
virtual int | is_complex (void) const =0 |
virtual int | is_double (void) const =0 |
virtual int | is_function_handle (void) const =0 |
virtual int | is_int16 (void) const =0 |
virtual int | is_int32 (void) const =0 |
virtual int | is_int64 (void) const =0 |
virtual int | is_int8 (void) const =0 |
virtual int | is_logical (void) const =0 |
virtual int | is_logical_scalar (void) const |
virtual int | is_logical_scalar_true (void) const =0 |
virtual int | is_numeric (void) const =0 |
virtual bool | is_octave_value (void) const |
virtual bool | is_scalar (void) const =0 |
virtual int | is_single (void) const =0 |
virtual int | is_sparse (void) const =0 |
virtual int | is_struct (void) const =0 |
virtual int | is_uint16 (void) const =0 |
virtual int | is_uint32 (void) const =0 |
virtual int | is_uint64 (void) const =0 |
virtual int | is_uint8 (void) const =0 |
virtual int | iscell (void) const =0 |
virtual int | isempty (void) const =0 |
virtual mxArray * | mutate (void) const |
virtual bool | mutation_needed (void) const |
virtual void | remove_field (int key_num)=0 |
virtual void | set_cell (mwIndex idx, mxArray *val)=0 |
virtual void | set_class_name (const char *name_arg)=0 |
virtual int | set_complex_doubles (mxComplexDouble *data)=0 |
virtual int | set_complex_singles (mxComplexSingle *data)=0 |
virtual void | set_data (void *pr)=0 |
virtual int | set_dimensions (mwSize *dims_arg, mwSize ndims_arg)=0 |
virtual int | set_doubles (mxDouble *data)=0 |
virtual void | set_field_by_number (mwIndex index, int key_num, mxArray *val)=0 |
virtual void | set_imag_data (void *pi)=0 |
virtual int | set_int16s (mxInt16 *data)=0 |
virtual int | set_int32s (mxInt32 *data)=0 |
virtual int | set_int64s (mxInt64 *data)=0 |
virtual int | set_int8s (mxInt8 *data)=0 |
virtual void | set_ir (mwIndex *ir)=0 |
virtual void | set_jc (mwIndex *jc)=0 |
virtual void | set_m (mwSize m)=0 |
virtual void | set_n (mwSize n)=0 |
virtual void | set_nzmax (mwSize nzmax)=0 |
virtual void | set_property (mwIndex, const char *, const mxArray *) |
virtual int | set_singles (mxSingle *data)=0 |
virtual int | set_uint16s (mxUint16 *data)=0 |
virtual int | set_uint32s (mxUint32 *data)=0 |
virtual int | set_uint64s (mxUint64 *data)=0 |
virtual int | set_uint8s (mxUint8 *data)=0 |
Protected Member Functions | |
OCTINTERP_API | mxArray_base (bool interleaved) |
mxArray_base (const mxArray_base &)=default | |
OCTAVE_NORETURN void | err_invalid_type (const char *op) const |
std::size_t | get_numeric_element_size (std::size_t size) const |
Protected Attributes | |
bool | m_interleaved |
|
virtualdefault |
|
protecteddefault |
|
pure virtual |
Implemented in mxArray_struct, mxArray_matlab, and mxArray_octave_value.
|
pure virtual |
Implemented in mxArray_base_full, mxArray_matlab, and mxArray_octave_value.
Referenced by mxArray::array_to_string().
|
inlinevirtual |
Reimplemented in mxArray_octave_value.
Definition at line 99 of file mxarray.h.
Referenced by mxArray::dup().
|
pure virtual |
Implemented in mxArray_cell, mxArray_struct, mxArray_separate_sparse, mxArray_base_sparse, mxArray_separate_full, mxArray_base_full, 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_cell, mxArray_struct, mxArray_separate_sparse, mxArray_interleaved_sparse, mxArray_base_sparse, mxArray_separate_full, mxArray_interleaved_full, mxArray_base_full, and mxArray_octave_value.
Referenced by mxArray::dup().
|
inlineprotected |
Definition at line 322 of file mxarray.h.
References error().
Referenced by mxArray_matlab::add_field(), mxArray_matlab::array_to_string(), mxArray_matlab::get_cell(), mxArray_matlab::get_complex_doubles(), mxArray_matlab::get_complex_singles(), mxArray_matlab::get_data(), mxArray_matlab::get_doubles(), mxArray_matlab::get_field_by_number(), mxArray_matlab::get_field_name_by_number(), mxArray_matlab::get_imag_data(), mxArray_matlab::get_int16s(), mxArray_matlab::get_int32s(), mxArray_matlab::get_int64s(), mxArray_matlab::get_int8s(), mxArray_matlab::get_ir(), mxArray_matlab::get_jc(), mxArray_matlab::get_number_of_fields(), mxArray_matlab::get_nzmax(), mxArray_matlab::get_scalar(), mxArray_matlab::get_singles(), mxArray_matlab::get_string(), mxArray_matlab::get_uint16s(), mxArray_matlab::get_uint32s(), mxArray_matlab::get_uint64s(), mxArray_matlab::get_uint8s(), mxArray_matlab::remove_field(), mxArray_matlab::set_cell(), mxArray_matlab::set_complex_doubles(), mxArray_matlab::set_complex_singles(), mxArray_matlab::set_data(), mxArray_matlab::set_doubles(), mxArray_matlab::set_field_by_number(), mxArray_matlab::set_imag_data(), mxArray_matlab::set_int16s(), mxArray_matlab::set_int32s(), mxArray_matlab::set_int64s(), mxArray_matlab::set_int8s(), mxArray_matlab::set_ir(), mxArray_matlab::set_jc(), mxArray_matlab::set_nzmax(), mxArray_octave_value::set_property(), mxArray_matlab::set_singles(), mxArray_matlab::set_uint16s(), mxArray_matlab::set_uint32s(), mxArray_matlab::set_uint64s(), and mxArray_matlab::set_uint8s().
|
inlinevirtual |
Reimplemented in mxArray_matlab, mxArray_octave_value, and mxArray_cell.
|
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.
Referenced by mxArray::get_class_name().
|
pure virtual |
Implemented in mxArray_separate_sparse, mxArray_base_sparse, mxArray_separate_full, mxArray_base_full, mxArray_matlab, and mxArray_octave_value.
|
pure virtual |
Implemented in mxArray_separate_full, mxArray_base_full, mxArray_matlab, and mxArray_octave_value.
|
pure virtual |
Implemented in mxArray_cell, mxArray_struct, mxArray_base_sparse, mxArray_base_full, 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_separate_sparse, mxArray_base_sparse, mxArray_separate_full, mxArray_base_full, mxArray_matlab, and mxArray_octave_value.
|
pure virtual |
Implemented in mxArray_matlab, and mxArray_octave_value.
Referenced by mxArray::get_element_size().
|
pure virtual |
Implemented in mxArray_matlab, mxArray_octave_value, and mxArray_struct.
|
pure virtual |
Implemented in mxArray_matlab, mxArray_octave_value, and mxArray_struct.
|
pure virtual |
Implemented in mxArray_struct, mxArray_matlab, and mxArray_octave_value.
|
pure virtual |
|
pure virtual |
Implemented in mxArray_separate_full, mxArray_base_full, mxArray_matlab, and mxArray_octave_value.
|
pure virtual |
Implemented in mxArray_separate_full, mxArray_base_full, mxArray_matlab, and mxArray_octave_value.
|
pure virtual |
Implemented in mxArray_separate_full, mxArray_base_full, mxArray_matlab, and mxArray_octave_value.
|
pure virtual |
Implemented in mxArray_separate_full, mxArray_base_full, mxArray_matlab, and mxArray_octave_value.
|
pure virtual |
Implemented in mxArray_base_sparse, mxArray_matlab, and mxArray_octave_value.
|
pure virtual |
Implemented in mxArray_base_sparse, 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.
Referenced by mxArray::get_n().
|
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().
|
pure virtual |
Implemented in mxArray_struct, mxArray_matlab, and mxArray_octave_value.
Referenced by mxArray::get_number_of_fields().
|
inlineprotected |
Definition at line 315 of file mxarray.h.
Referenced by mxArray_octave_value::get_element_size(), and mxArray_matlab::get_element_size().
|
pure virtual |
Implemented in mxArray_base_sparse, mxArray_matlab, and mxArray_octave_value.
Referenced by mxArray::get_nzmax().
|
inlinevirtual |
Reimplemented in mxArray_octave_value.
Definition at line 192 of file mxarray.h.
Referenced by mxArray::get_property().
|
pure virtual |
Implemented in mxArray_base_full, mxArray_matlab, and mxArray_octave_value.
Referenced by mxArray::get_scalar().
|
pure virtual |
Implemented in mxArray_separate_full, mxArray_base_full, mxArray_matlab, and mxArray_octave_value.
|
pure virtual |
Implemented in mxArray_base_full, mxArray_octave_value, and mxArray_matlab.
Referenced by mxArray::get_string().
|
pure virtual |
Implemented in mxArray_separate_full, mxArray_base_full, mxArray_matlab, and mxArray_octave_value.
|
pure virtual |
Implemented in mxArray_separate_full, mxArray_base_full, mxArray_matlab, and mxArray_octave_value.
|
pure virtual |
Implemented in mxArray_separate_full, mxArray_base_full, mxArray_matlab, and mxArray_octave_value.
|
pure virtual |
Implemented in mxArray_separate_full, mxArray_base_full, mxArray_matlab, and mxArray_octave_value.
|
pure virtual |
Implemented in mxArray_matlab, and mxArray_octave_value.
Referenced by mxArray::is_char().
|
inlinevirtual |
|
pure virtual |
Implemented in mxArray_separate_sparse, mxArray_interleaved_sparse, mxArray_separate_full, mxArray_interleaved_full, mxArray_matlab, and mxArray_octave_value.
Referenced by mxArray::is_complex().
|
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.
Referenced by mxArray::is_function_handle().
|
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.
Referenced by mxArray::is_int32().
|
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.
Referenced by mxArray::is_int8().
|
pure virtual |
Implemented in mxArray_matlab, and mxArray_octave_value.
Referenced by mxArray::is_logical().
|
inlinevirtual |
Definition at line 153 of file mxarray.h.
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.
Referenced by mxArray::is_logical_scalar_true().
|
pure virtual |
Implemented in mxArray_matlab, and mxArray_octave_value.
Referenced by mxArray::is_numeric().
|
inlinevirtual |
Reimplemented in mxArray_octave_value.
Definition at line 103 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_scalar().
|
pure virtual |
Implemented in mxArray_matlab, and mxArray_octave_value.
Referenced by mxArray::is_single().
|
pure virtual |
Implemented in mxArray_base_sparse, mxArray_matlab, and mxArray_octave_value.
Referenced by mxArray::is_sparse().
|
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.
Referenced by mxArray::is_uint16().
|
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.
Referenced by mxArray::is_uint64().
|
pure virtual |
Implemented in mxArray_matlab, and mxArray_octave_value.
Referenced by mxArray::is_uint8().
|
pure virtual |
Implemented in mxArray_matlab, and mxArray_octave_value.
Referenced by mxArray::iscell().
|
pure virtual |
Implemented in mxArray_matlab, and mxArray_octave_value.
|
inlinevirtual |
Reimplemented in mxArray_octave_value.
Definition at line 307 of file mxarray.h.
Referenced by mxArray::maybe_mutate(), and mxArray::mutate().
|
inlinevirtual |
Reimplemented in mxArray_octave_value.
Definition at line 305 of file mxarray.h.
Referenced by mxArray::mutation_needed().
|
pure virtual |
Implemented in mxArray_matlab, mxArray_octave_value, and mxArray_struct.
|
pure virtual |
Implemented in mxArray_matlab, mxArray_octave_value, and mxArray_cell.
|
pure virtual |
Implemented in mxArray_matlab, and mxArray_octave_value.
|
pure virtual |
Implemented in mxArray_base_sparse, mxArray_base_full, mxArray_separate_sparse, mxArray_separate_full, mxArray_matlab, and mxArray_octave_value.
|
pure virtual |
Implemented in mxArray_base_full, mxArray_separate_full, mxArray_matlab, and mxArray_octave_value.
|
pure virtual |
Implemented in mxArray_base_sparse, mxArray_base_full, mxArray_cell, mxArray_struct, mxArray_matlab, and mxArray_octave_value.
|
pure virtual |
Implemented in mxArray_matlab, and mxArray_octave_value.
|
pure virtual |
Implemented in mxArray_base_sparse, mxArray_base_full, mxArray_separate_sparse, mxArray_separate_full, mxArray_matlab, and mxArray_octave_value.
|
pure virtual |
Implemented in mxArray_matlab, mxArray_octave_value, and mxArray_struct.
|
pure virtual |
|
pure virtual |
Implemented in mxArray_base_full, mxArray_separate_full, mxArray_matlab, and mxArray_octave_value.
|
pure virtual |
Implemented in mxArray_base_full, mxArray_separate_full, mxArray_matlab, and mxArray_octave_value.
|
pure virtual |
Implemented in mxArray_base_full, mxArray_separate_full, mxArray_matlab, and mxArray_octave_value.
|
pure virtual |
Implemented in mxArray_base_full, mxArray_separate_full, mxArray_matlab, and mxArray_octave_value.
|
pure virtual |
Implemented in mxArray_base_sparse, mxArray_matlab, and mxArray_octave_value.
|
pure virtual |
Implemented in mxArray_base_sparse, mxArray_matlab, and mxArray_octave_value.
|
pure virtual |
Implemented in mxArray_octave_value, and mxArray_matlab.
|
pure virtual |
Implemented in mxArray_octave_value, and mxArray_matlab.
|
pure virtual |
Implemented in mxArray_matlab, mxArray_octave_value, and mxArray_base_sparse.
|
inlinevirtual |
Reimplemented in mxArray_octave_value.
Definition at line 197 of file mxarray.h.
Referenced by mxArray::set_property().
|
pure virtual |
Implemented in mxArray_base_full, mxArray_separate_full, mxArray_matlab, and mxArray_octave_value.
|
pure virtual |
Implemented in mxArray_base_full, mxArray_separate_full, mxArray_matlab, and mxArray_octave_value.
|
pure virtual |
Implemented in mxArray_base_full, mxArray_separate_full, mxArray_matlab, and mxArray_octave_value.
|
pure virtual |
Implemented in mxArray_base_full, mxArray_separate_full, mxArray_matlab, and mxArray_octave_value.
|
pure virtual |
Implemented in mxArray_base_full, mxArray_separate_full, mxArray_matlab, and mxArray_octave_value.
|
protected |
Definition at line 330 of file mxarray.h.
Referenced by mxArray_octave_value::as_mxArray(), mxArray_octave_value::get_data(), and mxArray_octave_value::get_property().