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
Classes | Macros | Typedefs | Enumerations
mxarray.h File Reference
#include <cstring>
Include dependency graph for mxarray.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  mxArray
class  mxArray_base

Macros

#define DO_MUTABLE_METHOD(RET_T, METHOD_CALL)
#define DO_VOID_MUTABLE_METHOD(METHOD_CALL)

Typedefs

typedef int mwIndex
typedef int mwSignedIndex
typedef int mwSize
typedef char mxChar
typedef unsigned char mxLogical

Enumerations

enum  mxClassID {
  mxUNKNOWN_CLASS = 0, mxCELL_CLASS, mxSTRUCT_CLASS, mxLOGICAL_CLASS,
  mxCHAR_CLASS, mxUNUSED_CLASS, mxDOUBLE_CLASS, mxSINGLE_CLASS,
  mxINT8_CLASS, mxUINT8_CLASS, mxINT16_CLASS, mxUINT16_CLASS,
  mxINT32_CLASS, mxUINT32_CLASS, mxINT64_CLASS, mxUINT64_CLASS,
  mxFUNCTION_CLASS, mxUNKNOWN_CLASS = 0, mxCELL_CLASS, mxSTRUCT_CLASS,
  mxLOGICAL_CLASS, mxCHAR_CLASS, mxUNUSED_CLASS, mxDOUBLE_CLASS,
  mxSINGLE_CLASS, mxINT8_CLASS, mxUINT8_CLASS, mxINT16_CLASS,
  mxUINT16_CLASS, mxINT32_CLASS, mxUINT32_CLASS, mxINT64_CLASS,
  mxUINT64_CLASS, mxFUNCTION_CLASS
}
enum  mxComplexity { mxREAL = 0, mxCOMPLEX = 1, mxREAL = 0, mxCOMPLEX = 1 }

Macro Definition Documentation

#define DO_MUTABLE_METHOD (   RET_T,
  METHOD_CALL 
)
Value:
RET_T retval = rep->METHOD_CALL; \
if (rep->mutation_needed ()) \
{ \
maybe_mutate (); \
retval = rep->METHOD_CALL; \
} \
\
return retval

Definition at line 99 of file mxarray.h.

Referenced by mxArray::add_field(), mxArray::get_cell(), mxArray::get_data(), mxArray::get_field_by_number(), mxArray::get_field_name_by_number(), mxArray::get_field_number(), mxArray::get_imag_data(), mxArray::get_ir(), and mxArray::get_jc().

#define DO_VOID_MUTABLE_METHOD (   METHOD_CALL)

Typedef Documentation

typedef int mwIndex

Definition at line 90 of file mxarray.h.

typedef int mwSignedIndex

Definition at line 91 of file mxarray.h.

typedef int mwSize

Definition at line 89 of file mxarray.h.

typedef char mxChar

Definition at line 82 of file mxarray.h.

typedef unsigned char mxLogical

Definition at line 79 of file mxarray.h.

Enumeration Type Documentation

enum mxClassID
Enumerator:
mxUNKNOWN_CLASS 
mxCELL_CLASS 
mxSTRUCT_CLASS 
mxLOGICAL_CLASS 
mxCHAR_CLASS 
mxUNUSED_CLASS 
mxDOUBLE_CLASS 
mxSINGLE_CLASS 
mxINT8_CLASS 
mxUINT8_CLASS 
mxINT16_CLASS 
mxUINT16_CLASS 
mxINT32_CLASS 
mxUINT32_CLASS 
mxINT64_CLASS 
mxUINT64_CLASS 
mxFUNCTION_CLASS 
mxUNKNOWN_CLASS 
mxCELL_CLASS 
mxSTRUCT_CLASS 
mxLOGICAL_CLASS 
mxCHAR_CLASS 
mxUNUSED_CLASS 
mxDOUBLE_CLASS 
mxSINGLE_CLASS 
mxINT8_CLASS 
mxUINT8_CLASS 
mxINT16_CLASS 
mxUINT16_CLASS 
mxINT32_CLASS 
mxUINT32_CLASS 
mxINT64_CLASS 
mxUINT64_CLASS 
mxFUNCTION_CLASS 

Definition at line 57 of file mxarray.h.

Enumerator:
mxREAL 
mxCOMPLEX 
mxREAL 
mxCOMPLEX 

Definition at line 50 of file mxarray.h.