Public Member Functions | |
~mxArray_base (void) | |
int | add_field (const char *key)=0 |
char * | array_to_string (void) const =0 |
mwIndex | calc_single_subscript (mwSize nsubs, mwIndex *subs) const =0 |
mxArray * | dup (void) const =0 |
mxArray * | get_cell (mwIndex) const |
mxClassID | get_class_id (void) const =0 |
const char * | get_class_name (void) const =0 |
void * | get_data (void) const =0 |
mwSize * | get_dimensions (void) const =0 |
size_t | get_element_size (void) const =0 |
mxArray * | get_field_by_number (mwIndex index, int key_num) const =0 |
const char * | get_field_name_by_number (int key_num) const =0 |
int | get_field_number (const char *key) const =0 |
void * | get_imag_data (void) const =0 |
mwIndex * | get_ir (void) const =0 |
mwIndex * | get_jc (void) const =0 |
mwSize | get_m (void) const =0 |
mwSize | get_n (void) const =0 |
mwSize | get_number_of_dimensions (void) const =0 |
mwSize | get_number_of_elements (void) const =0 |
int | get_number_of_fields (void) const =0 |
mwSize | get_nzmax (void) const =0 |
double | get_scalar (void) const =0 |
int | get_string (char *buf, mwSize buflen) const =0 |
int | is_cell (void) const =0 |
int | is_char (void) const =0 |
int | is_class (const char *name_arg) const |
int | is_complex (void) const =0 |
int | is_double (void) const =0 |
int | is_empty (void) const =0 |
int | is_function_handle (void) const =0 |
int | is_int16 (void) const =0 |
int | is_int32 (void) const =0 |
int | is_int64 (void) const =0 |
int | is_int8 (void) const =0 |
int | is_logical (void) const =0 |
int | is_logical_scalar (void) const |
int | is_logical_scalar_true (void) const =0 |
int | is_numeric (void) const =0 |
bool | is_octave_value (void) const |
int | is_single (void) const =0 |
int | is_sparse (void) const =0 |
int | is_struct (void) const =0 |
int | is_uint16 (void) const =0 |
int | is_uint32 (void) const =0 |
int | is_uint64 (void) const =0 |
int | is_uint8 (void) const =0 |
mxArray * | mutate (void) const |
bool | mutation_needed (void) const |
void | remove_field (int key_num)=0 |
void | set_cell (mwIndex idx, mxArray *val)=0 |
void | set_class_name (const char *name_arg)=0 |
void | set_data (void *pr)=0 |
void | set_dimensions (mwSize *dims_arg, mwSize ndims_arg)=0 |
void | set_field_by_number (mwIndex index, int key_num, mxArray *val)=0 |
void | set_imag_data (void *pi)=0 |
void | set_ir (mwIndex *ir)=0 |
void | set_jc (mwIndex *jc)=0 |
void | set_m (mwSize m)=0 |
void | set_n (mwSize n)=0 |
void | set_nzmax (mwSize nzmax)=0 |
Protected Member Functions | |
mxArray_base (void) | |
mxArray_base (const mxArray_base &) | |
octave_value | as_octave_value (void) const =0 |
void | error (const char *msg) const |
void | invalid_type_error (void) const |
Definition at line 110 of file mex.cc.
mxArray_base::mxArray_base | ( | const mxArray_base & | ) | [inline, protected] |
Implemented in mxArray_octave_value, mxArray_matlab, and mxArray_struct.
char* mxArray_base::array_to_string | ( | void | ) | const [pure virtual] |
Implemented in mxArray_octave_value, mxArray_matlab, and mxArray_number.
octave_value mxArray_base::as_octave_value | ( | void | ) | const [protected, pure virtual] |
Implemented in mxArray_octave_value, mxArray_number, mxArray_sparse, mxArray_struct, and mxArray_cell.
mwIndex mxArray_base::calc_single_subscript | ( | mwSize | nsubs, | |
mwIndex * | subs | |||
) | const [pure virtual] |
Implemented in mxArray_octave_value, and mxArray_matlab.
mxArray* mxArray_base::dup | ( | void | ) | const [pure virtual] |
Implemented in mxArray_octave_value, mxArray_number, mxArray_sparse, mxArray_struct, and mxArray_cell.
void mxArray_base::error | ( | const char * | msg | ) | const [inline, protected] |
Definition at line 270 of file mex.cc.
Referenced by mxArray_sparse::as_octave_value(), mxArray_number::int_to_ov(), mxArray_matlab::invalid_type_error(), and invalid_type_error().
mxArray* mxArray_base::get_cell | ( | mwIndex | ) | const [inline] |
Reimplemented in mxArray_octave_value, mxArray_matlab, and mxArray_cell.
Definition at line 203 of file mex.cc.
References invalid_type_error().
mxClassID mxArray_base::get_class_id | ( | void | ) | const [pure virtual] |
Implemented in mxArray_octave_value, and mxArray_matlab.
const char* mxArray_base::get_class_name | ( | void | ) | const [pure virtual] |
Implemented in mxArray_octave_value, and mxArray_matlab.
Referenced by is_class().
void* mxArray_base::get_data | ( | void | ) | const [pure virtual] |
Implemented in mxArray_octave_value, mxArray_matlab, mxArray_number, mxArray_sparse, mxArray_struct, and mxArray_cell.
mwSize* mxArray_base::get_dimensions | ( | void | ) | const [pure virtual] |
Implemented in mxArray_octave_value, and mxArray_matlab.
size_t mxArray_base::get_element_size | ( | void | ) | const [pure virtual] |
Implemented in mxArray_octave_value, and mxArray_matlab.
Implemented in mxArray_octave_value, mxArray_matlab, and mxArray_struct.
Implemented in mxArray_octave_value, mxArray_matlab, and mxArray_struct.
Implemented in mxArray_octave_value, mxArray_matlab, and mxArray_struct.
void* mxArray_base::get_imag_data | ( | void | ) | const [pure virtual] |
Implemented in mxArray_octave_value, mxArray_matlab, mxArray_number, and mxArray_sparse.
mwIndex* mxArray_base::get_ir | ( | void | ) | const [pure virtual] |
Implemented in mxArray_octave_value, mxArray_matlab, and mxArray_sparse.
mwIndex* mxArray_base::get_jc | ( | void | ) | const [pure virtual] |
Implemented in mxArray_octave_value, mxArray_matlab, and mxArray_sparse.
mwSize mxArray_base::get_m | ( | void | ) | const [pure virtual] |
Implemented in mxArray_octave_value, and mxArray_matlab.
mwSize mxArray_base::get_n | ( | void | ) | const [pure virtual] |
Implemented in mxArray_octave_value, and mxArray_matlab.
mwSize mxArray_base::get_number_of_dimensions | ( | void | ) | const [pure virtual] |
Implemented in mxArray_octave_value, and mxArray_matlab.
mwSize mxArray_base::get_number_of_elements | ( | void | ) | const [pure virtual] |
Implemented in mxArray_octave_value, and mxArray_matlab.
Referenced by is_logical_scalar().
int mxArray_base::get_number_of_fields | ( | void | ) | const [pure virtual] |
Implemented in mxArray_octave_value, mxArray_matlab, and mxArray_struct.
mwSize mxArray_base::get_nzmax | ( | void | ) | const [pure virtual] |
Implemented in mxArray_octave_value, mxArray_matlab, and mxArray_sparse.
double mxArray_base::get_scalar | ( | void | ) | const [pure virtual] |
Implemented in mxArray_octave_value, mxArray_matlab, and mxArray_number.
Implemented in mxArray_octave_value, mxArray_matlab, and mxArray_number.
void mxArray_base::invalid_type_error | ( | void | ) | const [inline, protected] |
Reimplemented in mxArray_matlab.
Definition at line 265 of file mex.cc.
References error().
Referenced by get_cell().
int mxArray_base::is_cell | ( | void | ) | const [pure virtual] |
Implemented in mxArray_octave_value, and mxArray_matlab.
int mxArray_base::is_char | ( | void | ) | const [pure virtual] |
Implemented in mxArray_octave_value, and mxArray_matlab.
Definition at line 128 of file mex.cc.
References get_class_name().
int mxArray_base::is_complex | ( | void | ) | const [pure virtual] |
Implemented in mxArray_octave_value, mxArray_matlab, mxArray_number, and mxArray_sparse.
int mxArray_base::is_double | ( | void | ) | const [pure virtual] |
Implemented in mxArray_octave_value, and mxArray_matlab.
int mxArray_base::is_empty | ( | void | ) | const [pure virtual] |
Implemented in mxArray_octave_value, and mxArray_matlab.
int mxArray_base::is_function_handle | ( | void | ) | const [pure virtual] |
Implemented in mxArray_octave_value, and mxArray_matlab.
int mxArray_base::is_int16 | ( | void | ) | const [pure virtual] |
Implemented in mxArray_octave_value, and mxArray_matlab.
int mxArray_base::is_int32 | ( | void | ) | const [pure virtual] |
Implemented in mxArray_octave_value, and mxArray_matlab.
int mxArray_base::is_int64 | ( | void | ) | const [pure virtual] |
Implemented in mxArray_octave_value, and mxArray_matlab.
int mxArray_base::is_int8 | ( | void | ) | const [pure virtual] |
Implemented in mxArray_octave_value, and mxArray_matlab.
int mxArray_base::is_logical | ( | void | ) | const [pure virtual] |
Implemented in mxArray_octave_value, and mxArray_matlab.
Referenced by is_logical_scalar().
int mxArray_base::is_logical_scalar | ( | void | ) | const [inline] |
Definition at line 172 of file mex.cc.
References get_number_of_elements(), and is_logical().
Referenced by mxArray_matlab::is_logical_scalar_true(), and mxArray_octave_value::is_logical_scalar_true().
int mxArray_base::is_logical_scalar_true | ( | void | ) | const [pure virtual] |
Implemented in mxArray_octave_value, and mxArray_matlab.
int mxArray_base::is_numeric | ( | void | ) | const [pure virtual] |
Implemented in mxArray_octave_value, and mxArray_matlab.
bool mxArray_base::is_octave_value | ( | void | ) | const [inline] |
Reimplemented in mxArray_octave_value.
int mxArray_base::is_single | ( | void | ) | const [pure virtual] |
Implemented in mxArray_octave_value, and mxArray_matlab.
int mxArray_base::is_sparse | ( | void | ) | const [pure virtual] |
Implemented in mxArray_octave_value, mxArray_matlab, and mxArray_sparse.
int mxArray_base::is_struct | ( | void | ) | const [pure virtual] |
Implemented in mxArray_octave_value, and mxArray_matlab.
int mxArray_base::is_uint16 | ( | void | ) | const [pure virtual] |
Implemented in mxArray_octave_value, and mxArray_matlab.
int mxArray_base::is_uint32 | ( | void | ) | const [pure virtual] |
Implemented in mxArray_octave_value, and mxArray_matlab.
int mxArray_base::is_uint64 | ( | void | ) | const [pure virtual] |
Implemented in mxArray_octave_value, and mxArray_matlab.
int mxArray_base::is_uint8 | ( | void | ) | const [pure virtual] |
Implemented in mxArray_octave_value, and mxArray_matlab.
mxArray* mxArray_base::mutate | ( | void | ) | const [inline] |
Reimplemented in mxArray_octave_value.
bool mxArray_base::mutation_needed | ( | void | ) | const [inline] |
Reimplemented in mxArray_octave_value.
void mxArray_base::remove_field | ( | int | key_num | ) | [pure virtual] |
Implemented in mxArray_octave_value, mxArray_matlab, and mxArray_struct.
void mxArray_base::set_cell | ( | mwIndex | idx, | |
mxArray * | val | |||
) | [pure virtual] |
Implemented in mxArray_octave_value, mxArray_matlab, and mxArray_cell.
void mxArray_base::set_class_name | ( | const char * | name_arg | ) | [pure virtual] |
Implemented in mxArray_octave_value, and mxArray_matlab.
void mxArray_base::set_data | ( | void * | pr | ) | [pure virtual] |
Implemented in mxArray_octave_value, mxArray_matlab, mxArray_number, mxArray_sparse, mxArray_struct, and mxArray_cell.
void mxArray_base::set_dimensions | ( | mwSize * | dims_arg, | |
mwSize | ndims_arg | |||
) | [pure virtual] |
Implemented in mxArray_octave_value, and mxArray_matlab.
Implemented in mxArray_octave_value, mxArray_matlab, and mxArray_struct.
void mxArray_base::set_imag_data | ( | void * | pi | ) | [pure virtual] |
Implemented in mxArray_octave_value, mxArray_matlab, mxArray_number, and mxArray_sparse.
void mxArray_base::set_ir | ( | mwIndex * | ir | ) | [pure virtual] |
Implemented in mxArray_octave_value, mxArray_matlab, and mxArray_sparse.
void mxArray_base::set_jc | ( | mwIndex * | jc | ) | [pure virtual] |
Implemented in mxArray_octave_value, mxArray_matlab, and mxArray_sparse.
void mxArray_base::set_m | ( | mwSize | m | ) | [pure virtual] |
Implemented in mxArray_octave_value, and mxArray_matlab.
void mxArray_base::set_n | ( | mwSize | n | ) | [pure virtual] |
Implemented in mxArray_octave_value, and mxArray_matlab.
void mxArray_base::set_nzmax | ( | mwSize | nzmax | ) | [pure virtual] |
Implemented in mxArray_octave_value, mxArray_matlab, and mxArray_sparse.