GNU Octave  3.8.0
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
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
mxArray Class Reference

#include "mxarray.h"

Collaboration diagram for mxArray:
Collaboration graph
[legend]

Public Member Functions

 mxArray (const octave_value &ov)
 mxArray (const octave_value &ov)
 mxArray (mxClassID id, mwSize ndims, const mwSize *dims, mxComplexity flag=mxREAL)
 mxArray (mxClassID id, mwSize ndims, const mwSize *dims, mxComplexity flag=mxREAL)
 mxArray (mxClassID id, const dim_vector &dv, mxComplexity flag=mxREAL)
 mxArray (mxClassID id, const dim_vector &dv, mxComplexity flag=mxREAL)
 mxArray (mxClassID id, mwSize m, mwSize n, mxComplexity flag=mxREAL)
 mxArray (mxClassID id, mwSize m, mwSize n, mxComplexity flag=mxREAL)
 mxArray (mxClassID id, double val)
 mxArray (mxClassID id, double val)
 mxArray (mxClassID id, mxLogical val)
 mxArray (mxClassID id, mxLogical val)
 mxArray (const char *str)
 mxArray (const char *str)
 mxArray (mwSize m, const char **str)
 mxArray (mwSize m, const char **str)
 mxArray (mxClassID id, mwSize m, mwSize n, mwSize nzmax, mxComplexity flag=mxREAL)
 mxArray (mxClassID id, mwSize m, mwSize n, mwSize nzmax, mxComplexity flag=mxREAL)
 mxArray (mwSize ndims, const mwSize *dims, int num_keys, const char **keys)
 mxArray (mwSize ndims, const mwSize *dims, int num_keys, const char **keys)
 mxArray (const dim_vector &dv, int num_keys, const char **keys)
 mxArray (const dim_vector &dv, int num_keys, const char **keys)
 mxArray (mwSize m, mwSize n, int num_keys, const char **keys)
 mxArray (mwSize m, mwSize n, int num_keys, const char **keys)
 mxArray (mwSize ndims, const mwSize *dims)
 mxArray (mwSize ndims, const mwSize *dims)
 mxArray (const dim_vector &dv)
 mxArray (const dim_vector &dv)
 mxArray (mwSize m, mwSize n)
 mxArray (mwSize m, mwSize n)
 ~mxArray (void)
 ~mxArray (void)
int add_field (const char *key)
int add_field (const char *key)
chararray_to_string (void) const
chararray_to_string (void) const
mwIndex calc_single_subscript (mwSize nsubs, mwIndex *subs) const
mwIndex calc_single_subscript (mwSize nsubs, mwIndex *subs) const
mxArraydup (void) const
mxArraydup (void) const
mxArrayget_cell (mwIndex idx) const
mxArrayget_cell (mwIndex idx) const
mxClassID get_class_id (void) const
mxClassID get_class_id (void) const
const charget_class_name (void) const
const charget_class_name (void) const
voidget_data (void) const
voidget_data (void) const
mwSizeget_dimensions (void) const
mwSizeget_dimensions (void) const
size_t get_element_size (void) const
size_t get_element_size (void) const
mxArrayget_field_by_number (mwIndex index, int key_num) const
mxArrayget_field_by_number (mwIndex index, int key_num) const
const charget_field_name_by_number (int key_num) const
const charget_field_name_by_number (int key_num) const
int get_field_number (const char *key) const
int get_field_number (const char *key) const
voidget_imag_data (void) const
voidget_imag_data (void) const
mwIndexget_ir (void) const
mwIndexget_ir (void) const
mwIndexget_jc (void) const
mwIndexget_jc (void) const
mwSize get_m (void) const
mwSize get_m (void) const
mwSize get_n (void) const
mwSize get_n (void) const
const charget_name (void) const
const charget_name (void) const
mwSize get_number_of_dimensions (void) const
mwSize get_number_of_dimensions (void) const
mwSize get_number_of_elements (void) const
mwSize get_number_of_elements (void) const
int get_number_of_fields (void) const
int get_number_of_fields (void) const
mwSize get_nzmax (void) const
mwSize get_nzmax (void) const
double get_scalar (void) const
double get_scalar (void) const
int get_string (char *buf, mwSize buflen) const
int get_string (char *buf, mwSize buflen) const
int is_cell (void) const
int is_cell (void) const
int is_char (void) const
int is_char (void) const
int is_class (const char *name_arg) const
int is_class (const char *name_arg) const
int is_complex (void) const
int is_complex (void) const
int is_double (void) const
int is_double (void) const
int is_empty (void) const
int is_empty (void) const
int is_function_handle (void) const
int is_function_handle (void) const
int is_int16 (void) const
int is_int16 (void) const
int is_int32 (void) const
int is_int32 (void) const
int is_int64 (void) const
int is_int64 (void) const
int is_int8 (void) const
int is_int8 (void) const
int is_logical (void) const
int is_logical (void) const
int is_logical_scalar (void) const
int is_logical_scalar (void) const
int is_logical_scalar_true (void) const
int is_logical_scalar_true (void) const
int is_numeric (void) const
int is_numeric (void) const
bool is_octave_value (void) const
bool is_octave_value (void) const
int is_single (void) const
int is_single (void) const
int is_sparse (void) const
int is_sparse (void) const
int is_struct (void) const
int is_struct (void) const
int is_uint16 (void) const
int is_uint16 (void) const
int is_uint32 (void) const
int is_uint32 (void) const
int is_uint64 (void) const
int is_uint64 (void) const
int is_uint8 (void) const
int is_uint8 (void) const
mxArraymutate (void) const
mxArraymutate (void) const
bool mutation_needed (void) const
bool mutation_needed (void) const
void remove_field (int key_num)
void remove_field (int key_num)
void set_cell (mwIndex idx, mxArray *val)
void set_cell (mwIndex idx, mxArray *val)
void set_class_name (const char *name_arg)
void set_class_name (const char *name_arg)
void set_data (void *pr)
void set_data (void *pr)
void set_dimensions (mwSize *dims_arg, mwSize ndims_arg)
void set_dimensions (mwSize *dims_arg, mwSize ndims_arg)
void set_field_by_number (mwIndex index, int key_num, mxArray *val)
void set_field_by_number (mwIndex index, int key_num, mxArray *val)
void set_imag_data (void *pi)
void set_imag_data (void *pi)
void set_ir (mwIndex *ir)
void set_ir (mwIndex *ir)
void set_jc (mwIndex *jc)
void set_jc (mwIndex *jc)
void set_m (mwSize m)
void set_m (mwSize m)
void set_n (mwSize n)
void set_n (mwSize n)
void set_name (const char *name_arg)
void set_name (const char *name_arg)
void set_nzmax (mwSize nzmax)
void set_nzmax (mwSize nzmax)

Static Public Member Functions

static octave_value as_octave_value (const mxArray *ptr)
static octave_value as_octave_value (const mxArray *ptr)
static voidcalloc (size_t n, size_t t)
static voidcalloc (size_t n, size_t t)
static voidmalloc (size_t n)
static voidmalloc (size_t n)
static charstrsave (const char *str)
static charstrsave (const char *str)

Protected Member Functions

octave_value as_octave_value (void) const
octave_value as_octave_value (void) const

Private Member Functions

 mxArray (mxArray_base *r, const char *n)
 mxArray (mxArray_base *r, const char *n)
 mxArray (const mxArray &)
 mxArray (const mxArray &)
void maybe_mutate (void) const
void maybe_mutate (void) const
mxArrayoperator= (const mxArray &)
mxArrayoperator= (const mxArray &)

Private Attributes

charname
mxArray_baserep

Detailed Description

Definition at line 294 of file mxarray.h.

Constructor & Destructor Documentation

mxArray::mxArray ( const octave_value ov)

Definition at line 1905 of file mex.cc.

Referenced by dup().

mxArray::mxArray ( mxClassID  id,
mwSize  ndims,
const mwSize dims,
mxComplexity  flag = mxREAL 
)

Definition at line 1908 of file mex.cc.

mxArray::mxArray ( mxClassID  id,
const dim_vector dv,
mxComplexity  flag = mxREAL 
)

Definition at line 1912 of file mex.cc.

mxArray::mxArray ( mxClassID  id,
mwSize  m,
mwSize  n,
mxComplexity  flag = mxREAL 
)

Definition at line 1915 of file mex.cc.

mxArray::mxArray ( mxClassID  id,
double  val 
)

Definition at line 1918 of file mex.cc.

mxArray::mxArray ( mxClassID  id,
mxLogical  val 
)

Definition at line 1921 of file mex.cc.

mxArray::mxArray ( const char str)

Definition at line 1924 of file mex.cc.

mxArray::mxArray ( mwSize  m,
const char **  str 
)

Definition at line 1927 of file mex.cc.

mxArray::mxArray ( mxClassID  id,
mwSize  m,
mwSize  n,
mwSize  nzmax,
mxComplexity  flag = mxREAL 
)

Definition at line 1930 of file mex.cc.

mxArray::mxArray ( mwSize  ndims,
const mwSize dims,
int  num_keys,
const char **  keys 
)

Definition at line 1934 of file mex.cc.

mxArray::mxArray ( const dim_vector dv,
int  num_keys,
const char **  keys 
)

Definition at line 1938 of file mex.cc.

mxArray::mxArray ( mwSize  m,
mwSize  n,
int  num_keys,
const char **  keys 
)

Definition at line 1941 of file mex.cc.

mxArray::mxArray ( mwSize  ndims,
const mwSize dims 
)

Definition at line 1944 of file mex.cc.

mxArray::mxArray ( const dim_vector dv)

Definition at line 1947 of file mex.cc.

mxArray::mxArray ( mwSize  m,
mwSize  n 
)

Definition at line 1950 of file mex.cc.

mxArray::~mxArray ( void  )

Definition at line 1953 of file mex.cc.

References mxFree(), name, and rep.

mxArray::mxArray ( mxArray_base r,
const char n 
)
inlineprivate

Definition at line 517 of file mxarray.h.

mxArray::mxArray ( const mxArray )
private
mxArray::mxArray ( const octave_value ov)
mxArray::mxArray ( mxClassID  id,
mwSize  ndims,
const mwSize dims,
mxComplexity  flag = mxREAL 
)
mxArray::mxArray ( mxClassID  id,
const dim_vector dv,
mxComplexity  flag = mxREAL 
)
mxArray::mxArray ( mxClassID  id,
mwSize  m,
mwSize  n,
mxComplexity  flag = mxREAL 
)
mxArray::mxArray ( mxClassID  id,
double  val 
)
mxArray::mxArray ( mxClassID  id,
mxLogical  val 
)
mxArray::mxArray ( const char str)
mxArray::mxArray ( mwSize  m,
const char **  str 
)
mxArray::mxArray ( mxClassID  id,
mwSize  m,
mwSize  n,
mwSize  nzmax,
mxComplexity  flag = mxREAL 
)
mxArray::mxArray ( mwSize  ndims,
const mwSize dims,
int  num_keys,
const char **  keys 
)
mxArray::mxArray ( const dim_vector dv,
int  num_keys,
const char **  keys 
)
mxArray::mxArray ( mwSize  m,
mwSize  n,
int  num_keys,
const char **  keys 
)
mxArray::mxArray ( mwSize  ndims,
const mwSize dims 
)
mxArray::mxArray ( const dim_vector dv)
mxArray::mxArray ( mwSize  m,
mwSize  n 
)
mxArray::~mxArray ( void  )
mxArray::mxArray ( mxArray_base r,
const char n 
)
inlineprivate

Definition at line 517 of file mxarray.in.h.

mxArray::mxArray ( const mxArray )
private

Member Function Documentation

int mxArray::add_field ( const char key)
inline

Definition at line 454 of file mxarray.h.

References DO_MUTABLE_METHOD.

Referenced by add_field(), and mxAddField().

int mxArray::add_field ( const char key)
inline

Definition at line 454 of file mxarray.in.h.

References add_field(), and DO_MUTABLE_METHOD.

char* mxArray::array_to_string ( void  ) const
inline

Definition at line 476 of file mxarray.in.h.

References mxArray_base::array_to_string(), and rep.

char* mxArray::array_to_string ( void  ) const
inline

Definition at line 476 of file mxarray.h.

References mxArray_base::array_to_string(), and rep.

Referenced by mxArrayToString().

octave_value mxArray::as_octave_value ( const mxArray ptr)
static

Definition at line 1968 of file mex.cc.

References as_octave_value(), and octave_value().

Referenced by as_octave_value().

static octave_value mxArray::as_octave_value ( const mxArray ptr)
static
octave_value mxArray::as_octave_value ( void  ) const
protected
octave_value mxArray::as_octave_value ( void  ) const
protected
mwIndex mxArray::calc_single_subscript ( mwSize  nsubs,
mwIndex subs 
) const
inline

Definition at line 478 of file mxarray.in.h.

References mxArray_base::calc_single_subscript(), and rep.

mwIndex mxArray::calc_single_subscript ( mwSize  nsubs,
mwIndex subs 
) const
inline

Definition at line 478 of file mxarray.h.

References mxArray_base::calc_single_subscript(), and rep.

Referenced by mxCalcSingleSubscript().

void * mxArray::calloc ( size_t  n,
size_t  t 
)
static

Definition at line 2342 of file mex.cc.

References mex::calloc_unmarked().

static void* mxArray::calloc ( size_t  n,
size_t  t 
)
static
mxArray* mxArray::dup ( void  ) const
inline

Definition at line 330 of file mxarray.in.h.

References mxArray_base::as_mxArray(), mxArray_base::dup(), mxArray(), name, rep, and set_name().

mxArray* mxArray::dup ( void  ) const
inline
mxArray* mxArray::get_cell ( mwIndex  idx) const
inline

Definition at line 425 of file mxarray.h.

References DO_MUTABLE_METHOD.

Referenced by get_cell(), and mxGetCell().

mxArray* mxArray::get_cell ( mwIndex  idx) const
inline

Definition at line 425 of file mxarray.in.h.

References DO_MUTABLE_METHOD, and get_cell().

mxClassID mxArray::get_class_id ( void  ) const
inline

Definition at line 418 of file mxarray.h.

References mxArray_base::get_class_id(), and rep.

Referenced by mxGetClassID().

mxClassID mxArray::get_class_id ( void  ) const
inline

Definition at line 418 of file mxarray.in.h.

References mxArray_base::get_class_id(), and rep.

const char* mxArray::get_class_name ( void  ) const
inline

Definition at line 420 of file mxarray.h.

References mxArray_base::get_class_name(), and rep.

Referenced by mxGetClassName().

const char* mxArray::get_class_name ( void  ) const
inline

Definition at line 420 of file mxarray.in.h.

References mxArray_base::get_class_name(), and rep.

void* mxArray::get_data ( void  ) const
inline
void* mxArray::get_data ( void  ) const
inline

Definition at line 433 of file mxarray.in.h.

References DO_MUTABLE_METHOD, and get_data().

mwSize* mxArray::get_dimensions ( void  ) const
inline

Definition at line 397 of file mxarray.in.h.

References mxArray_base::get_dimensions(), and rep.

mwSize* mxArray::get_dimensions ( void  ) const
inline

Definition at line 397 of file mxarray.h.

References mxArray_base::get_dimensions(), and rep.

Referenced by mxArray_octave_value::as_mxArray(), and mxGetDimensions().

size_t mxArray::get_element_size ( void  ) const
inline

Definition at line 481 of file mxarray.in.h.

References mxArray_base::get_element_size(), and rep.

size_t mxArray::get_element_size ( void  ) const
inline

Definition at line 481 of file mxarray.h.

References mxArray_base::get_element_size(), and rep.

Referenced by mxGetElementSize().

mxArray* mxArray::get_field_by_number ( mwIndex  index,
int  key_num 
) const
inline

Definition at line 459 of file mxarray.h.

References DO_MUTABLE_METHOD.

Referenced by get_field_by_number(), and mxGetFieldByNumber().

mxArray* mxArray::get_field_by_number ( mwIndex  index,
int  key_num 
) const
inline

Definition at line 459 of file mxarray.in.h.

References DO_MUTABLE_METHOD, and get_field_by_number().

const char* mxArray::get_field_name_by_number ( int  key_num) const
inline

Definition at line 467 of file mxarray.h.

References DO_MUTABLE_METHOD.

Referenced by get_field_name_by_number(), and mxGetFieldNameByNumber().

const char* mxArray::get_field_name_by_number ( int  key_num) const
inline

Definition at line 467 of file mxarray.in.h.

References DO_MUTABLE_METHOD, and get_field_name_by_number().

int mxArray::get_field_number ( const char key) const
inline

Definition at line 470 of file mxarray.h.

References DO_MUTABLE_METHOD.

Referenced by get_field_number(), and mxGetFieldNumber().

int mxArray::get_field_number ( const char key) const
inline

Definition at line 470 of file mxarray.in.h.

References DO_MUTABLE_METHOD, and get_field_number().

void* mxArray::get_imag_data ( void  ) const
inline
void* mxArray::get_imag_data ( void  ) const
inline

Definition at line 435 of file mxarray.in.h.

References DO_MUTABLE_METHOD, and get_imag_data().

mwIndex* mxArray::get_ir ( void  ) const
inline
mwIndex* mxArray::get_ir ( void  ) const
inline

Definition at line 442 of file mxarray.in.h.

References DO_MUTABLE_METHOD, and get_ir().

mwIndex* mxArray::get_jc ( void  ) const
inline
mwIndex* mxArray::get_jc ( void  ) const
inline

Definition at line 444 of file mxarray.in.h.

References DO_MUTABLE_METHOD, and get_jc().

mwSize mxArray::get_m ( void  ) const
inline

Definition at line 393 of file mxarray.in.h.

References mxArray_base::get_m(), and rep.

mwSize mxArray::get_m ( void  ) const
inline

Definition at line 393 of file mxarray.h.

References mxArray_base::get_m(), and rep.

Referenced by mxGetM().

mwSize mxArray::get_n ( void  ) const
inline

Definition at line 395 of file mxarray.in.h.

References mxArray_base::get_n(), and rep.

mwSize mxArray::get_n ( void  ) const
inline

Definition at line 395 of file mxarray.h.

References mxArray_base::get_n(), and rep.

Referenced by mxGetN().

const char* mxArray::get_name ( void  ) const
inline

Definition at line 414 of file mxarray.h.

References name.

Referenced by mexPutVariable().

const char* mxArray::get_name ( void  ) const
inline

Definition at line 414 of file mxarray.in.h.

References name.

mwSize mxArray::get_number_of_dimensions ( void  ) const
inline

Definition at line 399 of file mxarray.in.h.

References mxArray_base::get_number_of_dimensions(), and rep.

mwSize mxArray::get_number_of_dimensions ( void  ) const
inline

Definition at line 399 of file mxarray.h.

References mxArray_base::get_number_of_dimensions(), and rep.

Referenced by mxGetNumberOfDimensions().

mwSize mxArray::get_number_of_elements ( void  ) const
inline

Definition at line 409 of file mxarray.in.h.

References mxArray_base::get_number_of_elements(), and rep.

mwSize mxArray::get_number_of_elements ( void  ) const
inline

Definition at line 409 of file mxarray.h.

References mxArray_base::get_number_of_elements(), and rep.

Referenced by is_empty(), and mxGetNumberOfElements().

int mxArray::get_number_of_fields ( void  ) const
inline

Definition at line 465 of file mxarray.in.h.

References mxArray_base::get_number_of_fields(), and rep.

int mxArray::get_number_of_fields ( void  ) const
inline

Definition at line 465 of file mxarray.h.

References mxArray_base::get_number_of_fields(), and rep.

Referenced by mxGetNumberOfFields().

mwSize mxArray::get_nzmax ( void  ) const
inline

Definition at line 446 of file mxarray.h.

References mxArray_base::get_nzmax(), and rep.

Referenced by mxGetNzmax().

mwSize mxArray::get_nzmax ( void  ) const
inline

Definition at line 446 of file mxarray.in.h.

References mxArray_base::get_nzmax(), and rep.

double mxArray::get_scalar ( void  ) const
inline

Definition at line 431 of file mxarray.h.

References mxArray_base::get_scalar(), and rep.

Referenced by mxGetScalar().

double mxArray::get_scalar ( void  ) const
inline

Definition at line 431 of file mxarray.in.h.

References mxArray_base::get_scalar(), and rep.

int mxArray::get_string ( char buf,
mwSize  buflen 
) const
inline

Definition at line 473 of file mxarray.in.h.

References mxArray_base::get_string(), and rep.

int mxArray::get_string ( char buf,
mwSize  buflen 
) const
inline

Definition at line 473 of file mxarray.h.

References mxArray_base::get_string(), and rep.

Referenced by mxGetString().

int mxArray::is_cell ( void  ) const
inline

Definition at line 350 of file mxarray.in.h.

References mxArray_base::is_cell(), and rep.

int mxArray::is_cell ( void  ) const
inline

Definition at line 350 of file mxarray.h.

References mxArray_base::is_cell(), and rep.

Referenced by mxIsCell().

int mxArray::is_char ( void  ) const
inline

Definition at line 352 of file mxarray.h.

References mxArray_base::is_char(), and rep.

Referenced by mxIsChar().

int mxArray::is_char ( void  ) const
inline

Definition at line 352 of file mxarray.in.h.

References mxArray_base::is_char(), and rep.

int mxArray::is_class ( const char name_arg) const
inline

Definition at line 354 of file mxarray.in.h.

References mxArray_base::is_class(), and rep.

int mxArray::is_class ( const char name_arg) const
inline

Definition at line 354 of file mxarray.h.

References mxArray_base::is_class(), and rep.

Referenced by mxIsClass().

int mxArray::is_complex ( void  ) const
inline

Definition at line 356 of file mxarray.in.h.

References mxArray_base::is_complex(), and rep.

int mxArray::is_complex ( void  ) const
inline

Definition at line 356 of file mxarray.h.

References mxArray_base::is_complex(), and rep.

Referenced by mxIsComplex().

int mxArray::is_double ( void  ) const
inline

Definition at line 358 of file mxarray.in.h.

References mxArray_base::is_double(), and rep.

int mxArray::is_double ( void  ) const
inline

Definition at line 358 of file mxarray.h.

References mxArray_base::is_double(), and rep.

Referenced by mxIsDouble().

int mxArray::is_empty ( void  ) const
inline

Definition at line 412 of file mxarray.h.

References get_number_of_elements().

Referenced by mxIsEmpty().

int mxArray::is_empty ( void  ) const
inline

Definition at line 412 of file mxarray.in.h.

References get_number_of_elements().

int mxArray::is_function_handle ( void  ) const
inline

Definition at line 360 of file mxarray.h.

References mxArray_base::is_function_handle(), and rep.

Referenced by mxIsFunctionHandle().

int mxArray::is_function_handle ( void  ) const
inline

Definition at line 360 of file mxarray.in.h.

References mxArray_base::is_function_handle(), and rep.

int mxArray::is_int16 ( void  ) const
inline

Definition at line 362 of file mxarray.h.

References mxArray_base::is_int16(), and rep.

Referenced by mxIsInt16().

int mxArray::is_int16 ( void  ) const
inline

Definition at line 362 of file mxarray.in.h.

References mxArray_base::is_int16(), and rep.

int mxArray::is_int32 ( void  ) const
inline

Definition at line 364 of file mxarray.in.h.

References mxArray_base::is_int32(), and rep.

int mxArray::is_int32 ( void  ) const
inline

Definition at line 364 of file mxarray.h.

References mxArray_base::is_int32(), and rep.

Referenced by mxIsInt32().

int mxArray::is_int64 ( void  ) const
inline

Definition at line 366 of file mxarray.in.h.

References mxArray_base::is_int64(), and rep.

int mxArray::is_int64 ( void  ) const
inline

Definition at line 366 of file mxarray.h.

References mxArray_base::is_int64(), and rep.

Referenced by mxIsInt64().

int mxArray::is_int8 ( void  ) const
inline

Definition at line 368 of file mxarray.in.h.

References mxArray_base::is_int8(), and rep.

int mxArray::is_int8 ( void  ) const
inline

Definition at line 368 of file mxarray.h.

References mxArray_base::is_int8(), and rep.

Referenced by mxIsInt8().

int mxArray::is_logical ( void  ) const
inline

Definition at line 370 of file mxarray.in.h.

References mxArray_base::is_logical(), and rep.

int mxArray::is_logical ( void  ) const
inline

Definition at line 370 of file mxarray.h.

References mxArray_base::is_logical(), and rep.

Referenced by mxIsLogical().

int mxArray::is_logical_scalar ( void  ) const
inline

Definition at line 388 of file mxarray.h.

References mxArray_base::is_logical_scalar(), and rep.

Referenced by mxIsLogicalScalar().

int mxArray::is_logical_scalar ( void  ) const
inline

Definition at line 388 of file mxarray.in.h.

References mxArray_base::is_logical_scalar(), and rep.

int mxArray::is_logical_scalar_true ( void  ) const
inline

Definition at line 390 of file mxarray.in.h.

References mxArray_base::is_logical_scalar_true(), and rep.

int mxArray::is_logical_scalar_true ( void  ) const
inline

Definition at line 390 of file mxarray.h.

References mxArray_base::is_logical_scalar_true(), and rep.

Referenced by mxIsLogicalScalarTrue().

int mxArray::is_numeric ( void  ) const
inline

Definition at line 372 of file mxarray.in.h.

References mxArray_base::is_numeric(), and rep.

int mxArray::is_numeric ( void  ) const
inline

Definition at line 372 of file mxarray.h.

References mxArray_base::is_numeric(), and rep.

Referenced by mxIsNumeric().

bool mxArray::is_octave_value ( void  ) const
inline

Definition at line 348 of file mxarray.h.

References mxArray_base::is_octave_value(), and rep.

bool mxArray::is_octave_value ( void  ) const
inline

Definition at line 348 of file mxarray.in.h.

References mxArray_base::is_octave_value(), and rep.

int mxArray::is_single ( void  ) const
inline

Definition at line 374 of file mxarray.in.h.

References mxArray_base::is_single(), and rep.

int mxArray::is_single ( void  ) const
inline

Definition at line 374 of file mxarray.h.

References mxArray_base::is_single(), and rep.

Referenced by mxIsSingle().

int mxArray::is_sparse ( void  ) const
inline

Definition at line 376 of file mxarray.h.

References mxArray_base::is_sparse(), and rep.

Referenced by mxIsSparse().

int mxArray::is_sparse ( void  ) const
inline

Definition at line 376 of file mxarray.in.h.

References mxArray_base::is_sparse(), and rep.

int mxArray::is_struct ( void  ) const
inline

Definition at line 378 of file mxarray.in.h.

References mxArray_base::is_struct(), and rep.

int mxArray::is_struct ( void  ) const
inline

Definition at line 378 of file mxarray.h.

References mxArray_base::is_struct(), and rep.

Referenced by mxIsStruct().

int mxArray::is_uint16 ( void  ) const
inline

Definition at line 380 of file mxarray.h.

References mxArray_base::is_uint16(), and rep.

Referenced by mxIsUint16().

int mxArray::is_uint16 ( void  ) const
inline

Definition at line 380 of file mxarray.in.h.

References mxArray_base::is_uint16(), and rep.

int mxArray::is_uint32 ( void  ) const
inline

Definition at line 382 of file mxarray.in.h.

References mxArray_base::is_uint32(), and rep.

int mxArray::is_uint32 ( void  ) const
inline

Definition at line 382 of file mxarray.h.

References mxArray_base::is_uint32(), and rep.

Referenced by mxIsUint32().

int mxArray::is_uint64 ( void  ) const
inline

Definition at line 384 of file mxarray.in.h.

References mxArray_base::is_uint64(), and rep.

int mxArray::is_uint64 ( void  ) const
inline

Definition at line 384 of file mxarray.h.

References mxArray_base::is_uint64(), and rep.

Referenced by mxIsUint64().

int mxArray::is_uint8 ( void  ) const
inline

Definition at line 386 of file mxarray.in.h.

References mxArray_base::is_uint8(), and rep.

int mxArray::is_uint8 ( void  ) const
inline

Definition at line 386 of file mxarray.h.

References mxArray_base::is_uint8(), and rep.

Referenced by mxIsUint8().

static void* mxArray::malloc ( size_t  n)
static
void * mxArray::malloc ( size_t  n)
static
void mxArray::maybe_mutate ( void  ) const
private
void mxArray::maybe_mutate ( void  ) const
private

Definition at line 1980 of file mex.cc.

References mxArray_base::is_octave_value(), mxArray_base::mutate(), and rep.

mxArray* mxArray::mutate ( void  ) const
inline

Definition at line 485 of file mxarray.in.h.

References mxArray_base::mutate(), and rep.

mxArray* mxArray::mutate ( void  ) const
inline

Definition at line 485 of file mxarray.h.

References mxArray_base::mutate(), and rep.

bool mxArray::mutation_needed ( void  ) const
inline

Definition at line 483 of file mxarray.in.h.

References mxArray_base::mutation_needed(), and rep.

bool mxArray::mutation_needed ( void  ) const
inline

Definition at line 483 of file mxarray.h.

References mxArray_base::mutation_needed(), and rep.

mxArray& mxArray::operator= ( const mxArray )
private
mxArray& mxArray::operator= ( const mxArray )
private
void mxArray::remove_field ( int  key_num)
inline

Definition at line 456 of file mxarray.in.h.

References DO_VOID_MUTABLE_METHOD, and remove_field().

void mxArray::remove_field ( int  key_num)
inline

Definition at line 456 of file mxarray.h.

References DO_VOID_MUTABLE_METHOD.

Referenced by mxRemoveField(), and remove_field().

void mxArray::set_cell ( mwIndex  idx,
mxArray val 
)
inline

Definition at line 428 of file mxarray.in.h.

References DO_VOID_MUTABLE_METHOD, and set_cell().

void mxArray::set_cell ( mwIndex  idx,
mxArray val 
)
inline

Definition at line 428 of file mxarray.h.

References DO_VOID_MUTABLE_METHOD.

Referenced by mxSetCell(), and set_cell().

void mxArray::set_class_name ( const char name_arg)
inline

Definition at line 422 of file mxarray.in.h.

References DO_VOID_MUTABLE_METHOD, and set_class_name().

void mxArray::set_class_name ( const char name_arg)
inline

Definition at line 422 of file mxarray.h.

References DO_VOID_MUTABLE_METHOD.

Referenced by mxArray_octave_value::as_mxArray(), mxSetClassName(), and set_class_name().

void mxArray::set_data ( void pr)
inline

Definition at line 438 of file mxarray.in.h.

References DO_VOID_MUTABLE_METHOD, and set_data().

void mxArray::set_data ( void pr)
inline

Definition at line 438 of file mxarray.h.

References DO_VOID_MUTABLE_METHOD.

Referenced by mxSetData(), mxSetPr(), and set_data().

void mxArray::set_dimensions ( mwSize dims_arg,
mwSize  ndims_arg 
)
inline

Definition at line 406 of file mxarray.in.h.

References DO_VOID_MUTABLE_METHOD, and set_dimensions().

void mxArray::set_dimensions ( mwSize dims_arg,
mwSize  ndims_arg 
)
inline

Definition at line 406 of file mxarray.h.

References DO_VOID_MUTABLE_METHOD.

Referenced by mxArray_octave_value::as_mxArray(), mxSetDimensions(), and set_dimensions().

void mxArray::set_field_by_number ( mwIndex  index,
int  key_num,
mxArray val 
)
inline

Definition at line 462 of file mxarray.in.h.

References DO_VOID_MUTABLE_METHOD, and set_field_by_number().

void mxArray::set_field_by_number ( mwIndex  index,
int  key_num,
mxArray val 
)
inline

Definition at line 462 of file mxarray.h.

References DO_VOID_MUTABLE_METHOD.

Referenced by mxSetFieldByNumber(), and set_field_by_number().

void mxArray::set_imag_data ( void pi)
inline

Definition at line 440 of file mxarray.in.h.

References DO_VOID_MUTABLE_METHOD, and set_imag_data().

void mxArray::set_imag_data ( void pi)
inline

Definition at line 440 of file mxarray.h.

References DO_VOID_MUTABLE_METHOD.

Referenced by mxSetImagData(), mxSetPi(), and set_imag_data().

void mxArray::set_ir ( mwIndex ir)
inline

Definition at line 448 of file mxarray.h.

References DO_VOID_MUTABLE_METHOD.

Referenced by mxSetIr(), and set_ir().

void mxArray::set_ir ( mwIndex ir)
inline

Definition at line 448 of file mxarray.in.h.

References DO_VOID_MUTABLE_METHOD, and set_ir().

void mxArray::set_jc ( mwIndex jc)
inline

Definition at line 450 of file mxarray.in.h.

References DO_VOID_MUTABLE_METHOD, and set_jc().

void mxArray::set_jc ( mwIndex jc)
inline

Definition at line 450 of file mxarray.h.

References DO_VOID_MUTABLE_METHOD.

Referenced by mxSetJc(), and set_jc().

void mxArray::set_m ( mwSize  m)
inline

Definition at line 402 of file mxarray.in.h.

References DO_VOID_MUTABLE_METHOD, and set_m().

void mxArray::set_m ( mwSize  m)
inline

Definition at line 402 of file mxarray.h.

References DO_VOID_MUTABLE_METHOD.

Referenced by mxSetM(), and set_m().

void mxArray::set_n ( mwSize  n)
inline

Definition at line 404 of file mxarray.in.h.

References DO_VOID_MUTABLE_METHOD, and set_n().

void mxArray::set_n ( mwSize  n)
inline

Definition at line 404 of file mxarray.h.

References DO_VOID_MUTABLE_METHOD.

Referenced by mxSetN(), and set_n().

void mxArray::set_name ( const char name_arg)

Definition at line 1961 of file mex.cc.

References mxFree(), name, and strsave().

Referenced by dup(), and mexGetVariable().

void mxArray::set_name ( const char name_arg)
void mxArray::set_nzmax ( mwSize  nzmax)
inline

Definition at line 452 of file mxarray.in.h.

References DO_VOID_MUTABLE_METHOD, and set_nzmax().

void mxArray::set_nzmax ( mwSize  nzmax)
inline

Definition at line 452 of file mxarray.h.

References DO_VOID_MUTABLE_METHOD.

Referenced by mxSetNzmax(), and set_nzmax().

static char* mxArray::strsave ( const char str)
inlinestatic

Definition at line 491 of file mxarray.in.h.

References malloc().

static char* mxArray::strsave ( const char str)
inlinestatic

Definition at line 491 of file mxarray.h.

References malloc().

Referenced by mxArray_struct::init(), mxArray_struct::mxArray_struct(), and set_name().

Member Data Documentation

char * mxArray::name
private

Definition at line 515 of file mxarray.h.

Referenced by dup(), get_name(), set_name(), and ~mxArray().

mxArray_base * mxArray::rep
mutableprivate

The documentation for this class was generated from the following files: