Navigation

Operators and Keywords

Function List:

C++ API

mxArray_struct Class Reference

Inherits mxArray_matlab.

Collaboration diagram for mxArray_struct:

List of all members.


Public Member Functions

 mxArray_struct (mwSize ndims_arg, const mwSize *dims_arg, int num_keys_arg, const char **keys)
 mxArray_struct (const dim_vector &dv, int num_keys_arg, const char **keys)
 mxArray_struct (mwSize m, mwSize n, int num_keys_arg, const char **keys)
void init (const char **keys)
mxArray_structclone (void) const
 ~mxArray_struct (void)
int add_field (const char *key)
void remove_field (int key_num)
mxArrayget_field_by_number (mwIndex index, int key_num) const
void set_field_by_number (mwIndex index, int key_num, mxArray *val)
int get_number_of_fields (void) const
const char * get_field_name_by_number (int key_num) const
int get_field_number (const char *key) const
void * get_data (void) const
void set_data (void *data_arg)

Protected Member Functions

octave_value as_octave_value (void) const

Constructor & Destructor Documentation

mxArray_struct::mxArray_struct ( mwSize  ndims_arg,
const mwSize dims_arg,
int  num_keys_arg,
const char **  keys 
) [inline]

mxArray_struct::mxArray_struct ( const dim_vector dv,
int  num_keys_arg,
const char **  keys 
) [inline]

mxArray_struct::mxArray_struct ( mwSize  m,
mwSize  n,
int  num_keys_arg,
const char **  keys 
) [inline]

mxArray_struct::~mxArray_struct ( void   )  [inline]


Member Function Documentation

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

Reimplemented from mxArray_matlab.

octave_value mxArray_struct::as_octave_value ( void   )  const [inline, protected, virtual]

Implements mxArray_base.

mxArray_struct* mxArray_struct::clone ( void   )  const [inline, virtual]

Implements mxArray_base.

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

Reimplemented from mxArray_matlab.

mxArray* mxArray_struct::get_field_by_number ( mwIndex  index,
int  key_num 
) const [inline, virtual]

Reimplemented from mxArray_matlab.

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

Reimplemented from mxArray_matlab.

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

Reimplemented from mxArray_matlab.

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

Reimplemented from mxArray_matlab.

void mxArray_struct::init ( const char **  keys  )  [inline]

void mxArray_struct::remove_field ( int  key_num  )  [inline, virtual]

Reimplemented from mxArray_matlab.

void mxArray_struct::set_data ( void *  data_arg  )  [inline, virtual]

Reimplemented from mxArray_matlab.

void mxArray_struct::set_field_by_number ( mwIndex  index,
int  key_num,
mxArray val 
) [virtual]

Reimplemented from mxArray_matlab.


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