Navigation

Operators and Keywords

Function List:

C++ API

mxArray_matlab Class Reference

Inherits mxArray_base.

Inherited by mxArray_cell, mxArray_number, mxArray_sparse, and mxArray_struct.

Collaboration diagram for mxArray_matlab:

List of all members.


Public Member Functions

 ~mxArray_matlab (void)
int is_cell (void) const
int is_char (void) const
int is_complex (void) const
int is_double (void) const
int is_int16 (void) const
int is_int32 (void) const
int is_int64 (void) const
int is_int8 (void) const
int is_logical (void) const
int is_numeric (void) const
int is_single (void) const
int is_sparse (void) const
int is_struct (void) const
int is_uint16 (void) const
int is_uint32 (void) const
int is_uint64 (void) const
int is_uint8 (void) const
int is_logical_scalar_true (void) const
mwSize get_m (void) const
mwSize get_n (void) const
mwSizeget_dimensions (void) const
mwSize get_number_of_dimensions (void) const
void set_m (mwSize m)
void set_n (mwSize n)
void set_dimensions (mwSize *dims_arg, mwSize ndims_arg)
mwSize get_number_of_elements (void) const
int is_empty (void) const
mxClassID get_class_id (void) const
const char * get_class_name (void) const
void set_class_name (const char *name_arg)
mxArrayget_cell (mwIndex) const
void set_cell (mwIndex, mxArray *)
double get_scalar (void) const
void * get_data (void) const
void * get_imag_data (void) const
void set_data (void *)
void set_imag_data (void *)
mwIndexget_ir (void) const
mwIndexget_jc (void) const
mwSize get_nzmax (void) const
void set_ir (mwIndex *)
void set_jc (mwIndex *)
void set_nzmax (mwSize)
int add_field (const char *)
void remove_field (int)
mxArrayget_field_by_number (mwIndex, int) const
void set_field_by_number (mwIndex, int, mxArray *)
int get_number_of_fields (void) const
const char * get_field_name_by_number (int) const
int get_field_number (const char *) const
int get_string (char *, mwSize) const
char * array_to_string (void) const
mwIndex calc_single_subscript (mwSize nsubs, mwIndex *subs) const
size_t get_element_size (void) const

Protected Member Functions

 mxArray_matlab (mxClassID id_arg=mxUNKNOWN_CLASS)
 mxArray_matlab (mxClassID id_arg, mwSize ndims_arg, const mwSize *dims_arg)
 mxArray_matlab (mxClassID id_arg, const dim_vector &dv)
 mxArray_matlab (mxClassID id_arg, mwSize m, mwSize n)
 mxArray_matlab (const mxArray_matlab &val)
dim_vector dims_to_dim_vector (void) const

Constructor & Destructor Documentation

mxArray_matlab::mxArray_matlab ( mxClassID  id_arg = mxUNKNOWN_CLASS  )  [inline, protected]

mxArray_matlab::mxArray_matlab ( mxClassID  id_arg,
mwSize  ndims_arg,
const mwSize dims_arg 
) [inline, protected]

mxArray_matlab::mxArray_matlab ( mxClassID  id_arg,
const dim_vector dv 
) [inline, protected]

mxArray_matlab::mxArray_matlab ( mxClassID  id_arg,
mwSize  m,
mwSize  n 
) [inline, protected]

mxArray_matlab::~mxArray_matlab ( void   )  [inline]

mxArray_matlab::mxArray_matlab ( const mxArray_matlab val  )  [inline, protected]


Member Function Documentation

int mxArray_matlab::add_field ( const char *   )  [inline, virtual]

Implements mxArray_base.

Reimplemented in mxArray_struct.

char* mxArray_matlab::array_to_string ( void   )  const [inline, virtual]

Implements mxArray_base.

Reimplemented in mxArray_number.

mwIndex mxArray_matlab::calc_single_subscript ( mwSize  nsubs,
mwIndex subs 
) const [inline, virtual]

Implements mxArray_base.

dim_vector mxArray_matlab::dims_to_dim_vector ( void   )  const [inline, protected]

mxArray* mxArray_matlab::get_cell ( mwIndex   )  const [inline, virtual]

Reimplemented from mxArray_base.

Reimplemented in mxArray_cell.

mxClassID mxArray_matlab::get_class_id ( void   )  const [inline, virtual]

Implements mxArray_base.

const char* mxArray_matlab::get_class_name ( void   )  const [inline, virtual]

Implements mxArray_base.

void* mxArray_matlab::get_data ( void   )  const [inline, virtual]

mwSize* mxArray_matlab::get_dimensions ( void   )  const [inline, virtual]

Implements mxArray_base.

size_t mxArray_matlab::get_element_size ( void   )  const [inline, virtual]

Implements mxArray_base.

mxArray* mxArray_matlab::get_field_by_number ( mwIndex  ,
int   
) const [inline, virtual]

Implements mxArray_base.

Reimplemented in mxArray_struct.

const char* mxArray_matlab::get_field_name_by_number ( int   )  const [inline, virtual]

Implements mxArray_base.

Reimplemented in mxArray_struct.

int mxArray_matlab::get_field_number ( const char *   )  const [inline, virtual]

Implements mxArray_base.

Reimplemented in mxArray_struct.

void* mxArray_matlab::get_imag_data ( void   )  const [inline, virtual]

Implements mxArray_base.

Reimplemented in mxArray_number, and mxArray_sparse.

mwIndex* mxArray_matlab::get_ir ( void   )  const [inline, virtual]

Implements mxArray_base.

Reimplemented in mxArray_sparse.

mwIndex* mxArray_matlab::get_jc ( void   )  const [inline, virtual]

Implements mxArray_base.

Reimplemented in mxArray_sparse.

mwSize mxArray_matlab::get_m ( void   )  const [inline, virtual]

Implements mxArray_base.

mwSize mxArray_matlab::get_n ( void   )  const [inline, virtual]

Implements mxArray_base.

mwSize mxArray_matlab::get_number_of_dimensions ( void   )  const [inline, virtual]

Implements mxArray_base.

mwSize mxArray_matlab::get_number_of_elements ( void   )  const [inline, virtual]

Implements mxArray_base.

int mxArray_matlab::get_number_of_fields ( void   )  const [inline, virtual]

Implements mxArray_base.

Reimplemented in mxArray_struct.

mwSize mxArray_matlab::get_nzmax ( void   )  const [inline, virtual]

Implements mxArray_base.

Reimplemented in mxArray_sparse.

double mxArray_matlab::get_scalar ( void   )  const [inline, virtual]

Implements mxArray_base.

Reimplemented in mxArray_number.

int mxArray_matlab::get_string ( char *  ,
mwSize   
) const [inline, virtual]

Implements mxArray_base.

Reimplemented in mxArray_number.

int mxArray_matlab::is_cell ( void   )  const [inline, virtual]

Implements mxArray_base.

int mxArray_matlab::is_char ( void   )  const [inline, virtual]

Implements mxArray_base.

int mxArray_matlab::is_complex ( void   )  const [inline, virtual]

Implements mxArray_base.

Reimplemented in mxArray_number, and mxArray_sparse.

int mxArray_matlab::is_double ( void   )  const [inline, virtual]

Implements mxArray_base.

int mxArray_matlab::is_empty ( void   )  const [inline, virtual]

Implements mxArray_base.

int mxArray_matlab::is_int16 ( void   )  const [inline, virtual]

Implements mxArray_base.

int mxArray_matlab::is_int32 ( void   )  const [inline, virtual]

Implements mxArray_base.

int mxArray_matlab::is_int64 ( void   )  const [inline, virtual]

Implements mxArray_base.

int mxArray_matlab::is_int8 ( void   )  const [inline, virtual]

Implements mxArray_base.

int mxArray_matlab::is_logical ( void   )  const [inline, virtual]

Implements mxArray_base.

int mxArray_matlab::is_logical_scalar_true ( void   )  const [inline, virtual]

Implements mxArray_base.

int mxArray_matlab::is_numeric ( void   )  const [inline, virtual]

Implements mxArray_base.

int mxArray_matlab::is_single ( void   )  const [inline, virtual]

Implements mxArray_base.

int mxArray_matlab::is_sparse ( void   )  const [inline, virtual]

Implements mxArray_base.

Reimplemented in mxArray_sparse.

int mxArray_matlab::is_struct ( void   )  const [inline, virtual]

Implements mxArray_base.

int mxArray_matlab::is_uint16 ( void   )  const [inline, virtual]

Implements mxArray_base.

int mxArray_matlab::is_uint32 ( void   )  const [inline, virtual]

Implements mxArray_base.

int mxArray_matlab::is_uint64 ( void   )  const [inline, virtual]

Implements mxArray_base.

int mxArray_matlab::is_uint8 ( void   )  const [inline, virtual]

Implements mxArray_base.

void mxArray_matlab::remove_field ( int   )  [inline, virtual]

Implements mxArray_base.

Reimplemented in mxArray_struct.

void mxArray_matlab::set_cell ( mwIndex  ,
mxArray  
) [inline, virtual]

Implements mxArray_base.

Reimplemented in mxArray_cell.

void mxArray_matlab::set_class_name ( const char *  name_arg  )  [inline, virtual]

Implements mxArray_base.

void mxArray_matlab::set_data ( void *   )  [inline, virtual]

void mxArray_matlab::set_dimensions ( mwSize dims_arg,
mwSize  ndims_arg 
) [inline, virtual]

Implements mxArray_base.

void mxArray_matlab::set_field_by_number ( mwIndex  ,
int  ,
mxArray  
) [inline, virtual]

Implements mxArray_base.

Reimplemented in mxArray_struct.

void mxArray_matlab::set_imag_data ( void *   )  [inline, virtual]

Implements mxArray_base.

Reimplemented in mxArray_number, and mxArray_sparse.

void mxArray_matlab::set_ir ( mwIndex  )  [inline, virtual]

Implements mxArray_base.

Reimplemented in mxArray_sparse.

void mxArray_matlab::set_jc ( mwIndex  )  [inline, virtual]

Implements mxArray_base.

Reimplemented in mxArray_sparse.

void mxArray_matlab::set_m ( mwSize  m  )  [inline, virtual]

Implements mxArray_base.

void mxArray_matlab::set_n ( mwSize  n  )  [inline, virtual]

Implements mxArray_base.

void mxArray_matlab::set_nzmax ( mwSize   )  [inline, virtual]

Implements mxArray_base.

Reimplemented in mxArray_sparse.


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