GNU Octave 10.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 
Loading...
Searching...
No Matches
mxArray Class Reference

#include "mxarray.h"

Public Member Functions

 mxArray (bool interleaved, const char *str)
 
 mxArray (bool interleaved, const dim_vector &dv)
 
 mxArray (bool interleaved, const dim_vector &dv, int num_keys, const char **keys)
 
 mxArray (bool interleaved, const octave_value &ov)
 
 mxArray (bool interleaved, mwSize m, const char **str)
 
 mxArray (bool interleaved, mwSize m, mwSize n)
 
 mxArray (bool interleaved, mwSize m, mwSize n, int num_keys, const char **keys)
 
 mxArray (bool interleaved, mwSize ndims, const mwSize *dims)
 
 mxArray (bool interleaved, mwSize ndims, const mwSize *dims, int num_keys, const char **keys)
 
 mxArray (bool interleaved, mxClassID id, const dim_vector &dv, mxComplexity flag=mxREAL)
 
 mxArray (bool interleaved, mxClassID id, double val)
 
 mxArray (bool interleaved, mxClassID id, mwSize m, mwSize n, mwSize nzmax, mxComplexity flag=mxREAL)
 
 mxArray (bool interleaved, mxClassID id, mwSize m, mwSize n, mxComplexity flag=mxREAL, bool init=true)
 
 mxArray (bool interleaved, mxClassID id, mwSize ndims, const mwSize *dims, mxComplexity flag=mxREAL, bool init=true)
 
 mxArray (bool interleaved, mxClassID id, mxLogical val)
 
 ~mxArray ()
 
int add_field (const char *key)
 
char * array_to_string () const
 
octave_value as_octave_value () const
 
mwIndex calc_single_subscript (mwSize nsubs, mwIndex *subs) const
 
mxArraydup () const
 
mxArrayget_cell (mwIndex idx) const
 
mxClassID get_class_id () const
 
const char * get_class_name () const
 
mxComplexDouble * get_complex_doubles () const
 
mxComplexSingle * get_complex_singles () const
 
void * get_data () const
 
mwSize * get_dimensions () const
 
mxDouble * get_doubles () const
 
std::size_t get_element_size () const
 
mxArrayget_field_by_number (mwIndex index, int key_num) const
 
const char * get_field_name_by_number (int key_num) const
 
int get_field_number (const char *key) const
 
void * get_imag_data () const
 
mxInt16 * get_int16s () const
 
mxInt32 * get_int32s () const
 
mxInt64 * get_int64s () const
 
mxInt8 * get_int8s () const
 
mwIndex * get_ir () const
 
mwIndex * get_jc () const
 
mwSize get_m () const
 
mwSize get_n () const
 
const char * get_name () const
 
mwSize get_number_of_dimensions () const
 
mwSize get_number_of_elements () const
 
int get_number_of_fields () const
 
mwSize get_nzmax () const
 
mxArrayget_property (mwIndex idx, const char *pname) const
 
double get_scalar () const
 
mxSingle * get_singles () const
 
int get_string (char *buf, mwSize buflen) const
 
mxUint16 * get_uint16s () const
 
mxUint32 * get_uint32s () const
 
mxUint64 * get_uint64s () const
 
mxUint8 * get_uint8s () const
 
int is_char () const
 
int is_class (const char *name_arg) const
 
int is_complex () const
 
int is_double () const
 
int is_function_handle () const
 
int is_int16 () const
 
int is_int32 () const
 
int is_int64 () const
 
int is_int8 () const
 
int is_logical () const
 
int is_logical_scalar () const
 
int is_logical_scalar_true () const
 
int is_numeric () const
 
bool is_octave_value () const
 
bool is_scalar () const
 
int is_single () const
 
int is_sparse () const
 
int is_struct () const
 
int is_uint16 () const
 
int is_uint32 () const
 
int is_uint64 () const
 
int is_uint8 () const
 
int iscell () const
 
int isempty () const
 
mxArraymutate () const
 
bool mutation_needed () const
 
void remove_field (int key_num)
 
void set_cell (mwIndex idx, mxArray *val)
 
void set_class_name (const char *name_arg)
 
int set_complex_doubles (mxComplexDouble *data)
 
int set_complex_singles (mxComplexSingle *data)
 
void set_data (void *pr)
 
int set_dimensions (mwSize *dims_arg, mwSize ndims_arg)
 
int set_doubles (mxDouble *data)
 
void set_field_by_number (mwIndex index, int key_num, mxArray *val)
 
void set_imag_data (void *pi)
 
int set_int16s (mxInt16 *data)
 
int set_int32s (mxInt32 *data)
 
int set_int64s (mxInt64 *data)
 
int set_int8s (mxInt8 *data)
 
void set_ir (mwIndex *ir)
 
void set_jc (mwIndex *jc)
 
void set_m (mwSize m)
 
void set_n (mwSize n)
 
void set_name (const char *name)
 
void set_nzmax (mwSize nzmax)
 
void set_property (mwIndex idx, const char *pname, const mxArray *pval)
 
int set_singles (mxSingle *data)
 
int set_uint16s (mxUint16 *data)
 
int set_uint32s (mxUint32 *data)
 
int set_uint64s (mxUint64 *data)
 
int set_uint8s (mxUint8 *data)
 

Static Public Member Functions

static void * alloc (bool init, std::size_t n, std::size_t t)
 
static octave_value as_octave_value (const mxArray *ptr, bool null_is_empty=true)
 
static void * calloc (std::size_t n, std::size_t t)
 
static void * malloc (std::size_t n)
 
static char * strsave (const char *str)
 

Detailed Description

Definition at line 327 of file mxarray.h.

Constructor & Destructor Documentation

◆ mxArray() [1/15]

mxArray::mxArray ( bool  interleaved,
const octave_value ov 
)

Definition at line 3017 of file mxarray.cc.

◆ mxArray() [2/15]

mxArray::mxArray ( bool  interleaved,
mxClassID  id,
mwSize  ndims,
const mwSize *  dims,
mxComplexity  flag = mxREAL,
bool  init = true 
)

Definition at line 3021 of file mxarray.cc.

◆ mxArray() [3/15]

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

Definition at line 3027 of file mxarray.cc.

◆ mxArray() [4/15]

mxArray::mxArray ( bool  interleaved,
mxClassID  id,
mwSize  m,
mwSize  n,
mxComplexity  flag = mxREAL,
bool  init = true 
)

Definition at line 3032 of file mxarray.cc.

◆ mxArray() [5/15]

mxArray::mxArray ( bool  interleaved,
mxClassID  id,
double  val 
)

Definition at line 3037 of file mxarray.cc.

◆ mxArray() [6/15]

mxArray::mxArray ( bool  interleaved,
mxClassID  id,
mxLogical  val 
)

Definition at line 3041 of file mxarray.cc.

◆ mxArray() [7/15]

mxArray::mxArray ( bool  interleaved,
const char *  str 
)

Definition at line 3045 of file mxarray.cc.

◆ mxArray() [8/15]

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

Definition at line 3049 of file mxarray.cc.

◆ mxArray() [9/15]

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

Definition at line 3053 of file mxarray.cc.

◆ mxArray() [10/15]

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

Definition at line 3058 of file mxarray.cc.

◆ mxArray() [11/15]

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

Definition at line 3065 of file mxarray.cc.

◆ mxArray() [12/15]

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

Definition at line 3071 of file mxarray.cc.

◆ mxArray() [13/15]

mxArray::mxArray ( bool  interleaved,
mwSize  ndims,
const mwSize *  dims 
)

Definition at line 3077 of file mxarray.cc.

◆ mxArray() [14/15]

mxArray::mxArray ( bool  interleaved,
const dim_vector dv 
)

Definition at line 3081 of file mxarray.cc.

◆ mxArray() [15/15]

mxArray::mxArray ( bool  interleaved,
mwSize  m,
mwSize  n 
)

Definition at line 3085 of file mxarray.cc.

◆ ~mxArray()

mxArray::~mxArray ( )

Definition at line 3089 of file mxarray.cc.

Member Function Documentation

◆ add_field()

int mxArray::add_field ( const char *  key)
inline

Definition at line 575 of file mxarray.h.

References add_field(), and DO_MUTABLE_METHOD.

Referenced by add_field().

◆ alloc()

void * mxArray::alloc ( bool  init,
std::size_t  n,
std::size_t  t 
)
static

Definition at line 3388 of file mxarray.cc.

References calloc(), and malloc().

◆ array_to_string()

char * mxArray::array_to_string ( ) const
inline

Definition at line 598 of file mxarray.h.

References mxArray_base::array_to_string().

◆ as_octave_value() [1/2]

octave_value mxArray::as_octave_value ( ) const

Definition at line 3114 of file mxarray.cc.

References mxArray_base::as_octave_value().

Referenced by call_mex(), mexPutVariable_impl(), mexSet_impl(), and mx_to_ov_args().

◆ as_octave_value() [2/2]

octave_value mxArray::as_octave_value ( const mxArray ptr,
bool  null_is_empty = true 
)
static

Definition at line 3104 of file mxarray.cc.

References as_octave_value().

Referenced by as_octave_value().

◆ calc_single_subscript()

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

Definition at line 600 of file mxarray.h.

References mxArray_base::calc_single_subscript().

◆ calloc()

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

Definition at line 3382 of file mxarray.cc.

References calloc(), mex::calloc_unmarked(), and mex_context.

Referenced by alloc(), and calloc().

◆ dup()

mxArray * mxArray::dup ( ) const
inline

Definition at line 369 of file mxarray.h.

References mxArray_base::as_mxArray(), mxArray_base::dup(), and set_name().

◆ get_cell()

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

Definition at line 474 of file mxarray.h.

References DO_MUTABLE_METHOD, and get_cell().

Referenced by get_cell().

◆ get_class_id()

mxClassID mxArray::get_class_id ( ) const
inline

Definition at line 461 of file mxarray.h.

References mxArray_base::get_class_id().

◆ get_class_name()

const char * mxArray::get_class_name ( ) const
inline

Definition at line 463 of file mxarray.h.

References mxArray_base::get_class_name().

◆ get_complex_doubles()

mxComplexDouble * mxArray::get_complex_doubles ( ) const
inline

Definition at line 514 of file mxarray.h.

References DO_MUTABLE_METHOD, and get_complex_doubles().

Referenced by octave_complex::as_mxArray(), and get_complex_doubles().

◆ get_complex_singles()

mxComplexSingle * mxArray::get_complex_singles ( ) const
inline

Definition at line 517 of file mxarray.h.

References DO_MUTABLE_METHOD, and get_complex_singles().

Referenced by get_complex_singles().

◆ get_data()

◆ get_dimensions()

mwSize * mxArray::get_dimensions ( ) const
inline

Definition at line 438 of file mxarray.h.

References mxArray_base::get_dimensions().

◆ get_doubles()

mxDouble * mxArray::get_doubles ( ) const
inline

Definition at line 484 of file mxarray.h.

References DO_MUTABLE_METHOD, and get_doubles().

Referenced by get_doubles().

◆ get_element_size()

std::size_t mxArray::get_element_size ( ) const
inline

Definition at line 603 of file mxarray.h.

References mxArray_base::get_element_size().

◆ get_field_by_number()

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

Definition at line 580 of file mxarray.h.

References DO_MUTABLE_METHOD, and get_field_by_number().

Referenced by get_field_by_number().

◆ get_field_name_by_number()

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

Definition at line 589 of file mxarray.h.

References DO_MUTABLE_METHOD, and get_field_name_by_number().

Referenced by get_field_name_by_number().

◆ get_field_number()

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

Definition at line 592 of file mxarray.h.

References DO_MUTABLE_METHOD, and get_field_number().

Referenced by get_field_number().

◆ get_imag_data()

◆ get_int16s()

mxInt16 * mxArray::get_int16s ( ) const
inline

Definition at line 493 of file mxarray.h.

References DO_MUTABLE_METHOD, and get_int16s().

Referenced by get_int16s().

◆ get_int32s()

mxInt32 * mxArray::get_int32s ( ) const
inline

Definition at line 496 of file mxarray.h.

References DO_MUTABLE_METHOD, and get_int32s().

Referenced by get_int32s().

◆ get_int64s()

mxInt64 * mxArray::get_int64s ( ) const
inline

Definition at line 499 of file mxarray.h.

References DO_MUTABLE_METHOD, and get_int64s().

Referenced by get_int64s().

◆ get_int8s()

mxInt8 * mxArray::get_int8s ( ) const
inline

Definition at line 490 of file mxarray.h.

References DO_MUTABLE_METHOD, and get_int8s().

Referenced by get_int8s().

◆ get_ir()

mwIndex * mxArray::get_ir ( ) const
inline

◆ get_jc()

mwIndex * mxArray::get_jc ( ) const
inline

◆ get_m()

mwSize mxArray::get_m ( ) const
inline

Definition at line 434 of file mxarray.h.

References mxArray_base::get_m().

◆ get_n()

mwSize mxArray::get_n ( ) const
inline

Definition at line 436 of file mxarray.h.

References mxArray_base::get_n().

◆ get_name()

const char * mxArray::get_name ( ) const
inline

Definition at line 457 of file mxarray.h.

Referenced by mexPutVariable_impl().

◆ get_number_of_dimensions()

mwSize mxArray::get_number_of_dimensions ( ) const
inline

Definition at line 440 of file mxarray.h.

References mxArray_base::get_number_of_dimensions().

◆ get_number_of_elements()

mwSize mxArray::get_number_of_elements ( ) const
inline

Definition at line 450 of file mxarray.h.

References mxArray_base::get_number_of_elements().

Referenced by isempty().

◆ get_number_of_fields()

int mxArray::get_number_of_fields ( ) const
inline

Definition at line 586 of file mxarray.h.

References mxArray_base::get_number_of_fields().

◆ get_nzmax()

mwSize mxArray::get_nzmax ( ) const
inline

Definition at line 567 of file mxarray.h.

References mxArray_base::get_nzmax().

◆ get_property()

mxArray * mxArray::get_property ( mwIndex  idx,
const char *  pname 
) const
inline

Definition at line 465 of file mxarray.h.

References mxArray_base::get_property().

◆ get_scalar()

double mxArray::get_scalar ( ) const
inline

Definition at line 480 of file mxarray.h.

References mxArray_base::get_scalar().

◆ get_singles()

mxSingle * mxArray::get_singles ( ) const
inline

Definition at line 487 of file mxarray.h.

References DO_MUTABLE_METHOD, and get_singles().

Referenced by get_singles().

◆ get_string()

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

Definition at line 595 of file mxarray.h.

References mxArray_base::get_string().

◆ get_uint16s()

mxUint16 * mxArray::get_uint16s ( ) const
inline

Definition at line 505 of file mxarray.h.

References DO_MUTABLE_METHOD, and get_uint16s().

Referenced by get_uint16s().

◆ get_uint32s()

mxUint32 * mxArray::get_uint32s ( ) const
inline

Definition at line 508 of file mxarray.h.

References DO_MUTABLE_METHOD, and get_uint32s().

Referenced by get_uint32s().

◆ get_uint64s()

mxUint64 * mxArray::get_uint64s ( ) const
inline

Definition at line 511 of file mxarray.h.

References DO_MUTABLE_METHOD, and get_uint64s().

Referenced by get_uint64s().

◆ get_uint8s()

mxUint8 * mxArray::get_uint8s ( ) const
inline

Definition at line 502 of file mxarray.h.

References DO_MUTABLE_METHOD, and get_uint8s().

Referenced by get_uint8s().

◆ is_char()

int mxArray::is_char ( ) const
inline

Definition at line 393 of file mxarray.h.

References mxArray_base::is_char().

◆ is_class()

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

Definition at line 395 of file mxarray.h.

References mxArray_base::is_class().

◆ is_complex()

int mxArray::is_complex ( ) const
inline

Definition at line 397 of file mxarray.h.

References mxArray_base::is_complex().

◆ is_double()

int mxArray::is_double ( ) const
inline

Definition at line 399 of file mxarray.h.

References mxArray_base::is_double().

◆ is_function_handle()

int mxArray::is_function_handle ( ) const
inline

Definition at line 401 of file mxarray.h.

References mxArray_base::is_function_handle().

◆ is_int16()

int mxArray::is_int16 ( ) const
inline

Definition at line 403 of file mxarray.h.

References mxArray_base::is_int16().

◆ is_int32()

int mxArray::is_int32 ( ) const
inline

Definition at line 405 of file mxarray.h.

References mxArray_base::is_int32().

◆ is_int64()

int mxArray::is_int64 ( ) const
inline

Definition at line 407 of file mxarray.h.

References mxArray_base::is_int64().

◆ is_int8()

int mxArray::is_int8 ( ) const
inline

Definition at line 409 of file mxarray.h.

References mxArray_base::is_int8().

◆ is_logical()

int mxArray::is_logical ( ) const
inline

Definition at line 411 of file mxarray.h.

References mxArray_base::is_logical().

◆ is_logical_scalar()

int mxArray::is_logical_scalar ( ) const
inline

Definition at line 429 of file mxarray.h.

References mxArray_base::is_logical_scalar().

◆ is_logical_scalar_true()

int mxArray::is_logical_scalar_true ( ) const
inline

Definition at line 431 of file mxarray.h.

References mxArray_base::is_logical_scalar_true().

◆ is_numeric()

int mxArray::is_numeric ( ) const
inline

Definition at line 413 of file mxarray.h.

References mxArray_base::is_numeric().

◆ is_octave_value()

bool mxArray::is_octave_value ( ) const
inline

Definition at line 389 of file mxarray.h.

References mxArray_base::is_octave_value().

◆ is_scalar()

bool mxArray::is_scalar ( ) const
inline

Definition at line 455 of file mxarray.h.

References mxArray_base::is_scalar().

◆ is_single()

int mxArray::is_single ( ) const
inline

Definition at line 415 of file mxarray.h.

References mxArray_base::is_single().

◆ is_sparse()

int mxArray::is_sparse ( ) const
inline

Definition at line 417 of file mxarray.h.

References mxArray_base::is_sparse().

◆ is_struct()

int mxArray::is_struct ( ) const
inline

Definition at line 419 of file mxarray.h.

References mxArray_base::is_struct().

◆ is_uint16()

int mxArray::is_uint16 ( ) const
inline

Definition at line 421 of file mxarray.h.

References mxArray_base::is_uint16().

◆ is_uint32()

int mxArray::is_uint32 ( ) const
inline

Definition at line 423 of file mxarray.h.

References mxArray_base::is_uint32().

◆ is_uint64()

int mxArray::is_uint64 ( ) const
inline

Definition at line 425 of file mxarray.h.

References mxArray_base::is_uint64().

◆ is_uint8()

int mxArray::is_uint8 ( ) const
inline

Definition at line 427 of file mxarray.h.

References mxArray_base::is_uint8().

◆ iscell()

int mxArray::iscell ( ) const
inline

Definition at line 391 of file mxarray.h.

References mxArray_base::iscell().

◆ isempty()

int mxArray::isempty ( ) const
inline

Definition at line 453 of file mxarray.h.

References get_number_of_elements().

◆ malloc()

void * mxArray::malloc ( std::size_t  n)
static

Definition at line 3376 of file mxarray.cc.

References mex::malloc_unmarked(), and mex_context.

Referenced by alloc(), and strsave().

◆ mutate()

mxArray * mxArray::mutate ( ) const
inline

Definition at line 608 of file mxarray.h.

References mxArray_base::mutate().

◆ mutation_needed()

bool mxArray::mutation_needed ( ) const
inline

Definition at line 606 of file mxarray.h.

References mxArray_base::mutation_needed().

◆ remove_field()

void mxArray::remove_field ( int  key_num)
inline

Definition at line 577 of file mxarray.h.

References DO_VOID_MUTABLE_METHOD, and remove_field().

Referenced by remove_field().

◆ set_cell()

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

Definition at line 477 of file mxarray.h.

References DO_VOID_MUTABLE_METHOD, and set_cell().

Referenced by set_cell().

◆ set_class_name()

void mxArray::set_class_name ( const char *  name_arg)
inline

Definition at line 471 of file mxarray.h.

References DO_VOID_MUTABLE_METHOD, and set_class_name().

Referenced by set_class_name().

◆ set_complex_doubles()

int mxArray::set_complex_doubles ( mxComplexDouble *  data)
inline

Definition at line 555 of file mxarray.h.

References DO_MUTABLE_METHOD, and set_complex_doubles().

Referenced by set_complex_doubles().

◆ set_complex_singles()

int mxArray::set_complex_singles ( mxComplexSingle *  data)
inline

Definition at line 558 of file mxarray.h.

References DO_MUTABLE_METHOD, and set_complex_singles().

Referenced by set_complex_singles().

◆ set_data()

void mxArray::set_data ( void *  pr)
inline

Definition at line 523 of file mxarray.h.

References DO_VOID_MUTABLE_METHOD, and set_data().

Referenced by set_data().

◆ set_dimensions()

int mxArray::set_dimensions ( mwSize *  dims_arg,
mwSize  ndims_arg 
)
inline

Definition at line 447 of file mxarray.h.

References DO_MUTABLE_METHOD, and set_dimensions().

Referenced by set_dimensions().

◆ set_doubles()

int mxArray::set_doubles ( mxDouble *  data)
inline

Definition at line 525 of file mxarray.h.

References DO_MUTABLE_METHOD, and set_doubles().

Referenced by set_doubles().

◆ set_field_by_number()

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

Definition at line 583 of file mxarray.h.

References DO_VOID_MUTABLE_METHOD, and set_field_by_number().

Referenced by set_field_by_number().

◆ set_imag_data()

void mxArray::set_imag_data ( void *  pi)
inline

Definition at line 561 of file mxarray.h.

References DO_VOID_MUTABLE_METHOD, and set_imag_data().

Referenced by set_imag_data().

◆ set_int16s()

int mxArray::set_int16s ( mxInt16 *  data)
inline

Definition at line 534 of file mxarray.h.

References DO_MUTABLE_METHOD, and set_int16s().

Referenced by set_int16s().

◆ set_int32s()

int mxArray::set_int32s ( mxInt32 *  data)
inline

Definition at line 537 of file mxarray.h.

References DO_MUTABLE_METHOD, and set_int32s().

Referenced by set_int32s().

◆ set_int64s()

int mxArray::set_int64s ( mxInt64 *  data)
inline

Definition at line 540 of file mxarray.h.

References DO_MUTABLE_METHOD, and set_int64s().

Referenced by set_int64s().

◆ set_int8s()

int mxArray::set_int8s ( mxInt8 *  data)
inline

Definition at line 531 of file mxarray.h.

References DO_MUTABLE_METHOD, and set_int8s().

Referenced by set_int8s().

◆ set_ir()

void mxArray::set_ir ( mwIndex *  ir)
inline

Definition at line 569 of file mxarray.h.

References DO_VOID_MUTABLE_METHOD, and set_ir().

Referenced by set_ir().

◆ set_jc()

void mxArray::set_jc ( mwIndex *  jc)
inline

Definition at line 571 of file mxarray.h.

References DO_VOID_MUTABLE_METHOD, and set_jc().

Referenced by set_jc().

◆ set_m()

void mxArray::set_m ( mwSize  m)
inline

Definition at line 443 of file mxarray.h.

References DO_VOID_MUTABLE_METHOD, and set_m().

Referenced by set_m().

◆ set_n()

void mxArray::set_n ( mwSize  n)
inline

Definition at line 445 of file mxarray.h.

References DO_VOID_MUTABLE_METHOD, and set_n().

Referenced by set_n().

◆ set_name()

void mxArray::set_name ( const char *  name)

Definition at line 3097 of file mxarray.cc.

References strsave().

Referenced by dup().

◆ set_nzmax()

void mxArray::set_nzmax ( mwSize  nzmax)
inline

Definition at line 573 of file mxarray.h.

References DO_VOID_MUTABLE_METHOD, and set_nzmax().

Referenced by set_nzmax().

◆ set_property()

void mxArray::set_property ( mwIndex  idx,
const char *  pname,
const mxArray pval 
)
inline

Definition at line 468 of file mxarray.h.

References mxArray_base::set_property().

◆ set_singles()

int mxArray::set_singles ( mxSingle *  data)
inline

Definition at line 528 of file mxarray.h.

References DO_MUTABLE_METHOD, and set_singles().

Referenced by set_singles().

◆ set_uint16s()

int mxArray::set_uint16s ( mxUint16 *  data)
inline

Definition at line 546 of file mxarray.h.

References DO_MUTABLE_METHOD, and set_uint16s().

Referenced by set_uint16s().

◆ set_uint32s()

int mxArray::set_uint32s ( mxUint32 *  data)
inline

Definition at line 549 of file mxarray.h.

References DO_MUTABLE_METHOD, and set_uint32s().

Referenced by set_uint32s().

◆ set_uint64s()

int mxArray::set_uint64s ( mxUint64 *  data)
inline

Definition at line 552 of file mxarray.h.

References DO_MUTABLE_METHOD, and set_uint64s().

Referenced by set_uint64s().

◆ set_uint8s()

int mxArray::set_uint8s ( mxUint8 *  data)
inline

Definition at line 543 of file mxarray.h.

References DO_MUTABLE_METHOD, and set_uint8s().

Referenced by set_uint8s().

◆ strsave()

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

Definition at line 616 of file mxarray.h.

References malloc(), and strlen().

Referenced by mex::function_name(), and set_name().


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