GNU Octave  8.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
mxArray_separate_full Class Reference
Inheritance diagram for mxArray_separate_full:
Collaboration diagram for mxArray_separate_full:

Public Member Functions

 mxArray_separate_full (const char *str)
 
 mxArray_separate_full (mwSize m, const char **str)
 
 mxArray_separate_full (mxClassID id, const dim_vector &dv, mxComplexity flag=mxREAL)
 
 mxArray_separate_full (mxClassID id, double val)
 
 mxArray_separate_full (mxClassID id, mwSize m, mwSize n, mxComplexity flag=mxREAL, bool init=true)
 
 mxArray_separate_full (mxClassID id, mwSize ndims, const mwSize *dims, mxComplexity flag=mxREAL, bool init=true)
 
 mxArray_separate_full (mxClassID id, mxLogical val)
 
 ~mxArray_separate_full (void)
 
int add_field (const char *)
 
char * array_to_string (void) const
 
virtual mxArrayas_mxArray (void) const
 
octave_value as_octave_value (void) const
 
mwIndex calc_single_subscript (mwSize nsubs, mwIndex *subs) const
 
mxArray_basedup (void) const
 
mxArrayget_cell (mwIndex) const
 
mxClassID get_class_id (void) const
 
const char * get_class_name (void) const
 
mxComplexDouble * get_complex_doubles (void) const
 
mxComplexInt16 * get_complex_int16s (void) const
 
mxComplexInt32 * get_complex_int32s (void) const
 
mxComplexInt64 * get_complex_int64s (void) const
 
mxComplexInt8 * get_complex_int8s (void) const
 
mxComplexSingle * get_complex_singles (void) const
 
mxComplexUint16 * get_complex_uint16s (void) const
 
mxComplexUint32 * get_complex_uint32s (void) const
 
mxComplexUint64 * get_complex_uint64s (void) const
 
mxComplexUint8 * get_complex_uint8s (void) const
 
void * get_data (void) const
 
mwSize * get_dimensions (void) const
 
mxDouble * get_doubles (void) const
 
std::size_t get_element_size (void) const
 
mxArrayget_field_by_number (mwIndex, int) const
 
const char * get_field_name_by_number (int) const
 
int get_field_number (const char *) const
 
void * get_imag_data (void) const
 
mxInt16 * get_int16s (void) const
 
mxInt32 * get_int32s (void) const
 
mxInt64 * get_int64s (void) const
 
mxInt8 * get_int8s (void) const
 
mwIndex * get_ir (void) const
 
mwIndex * get_jc (void) const
 
mwSize get_m (void) const
 
mwSize get_n (void) const
 
mwSize get_number_of_dimensions (void) const
 
mwSize get_number_of_elements (void) const
 
int get_number_of_fields (void) const
 
mwSize get_nzmax (void) const
 
virtual mxArrayget_property (mwIndex, const char *) const
 
double get_scalar (void) const
 
mxSingle * get_singles (void) const
 
int get_string (char *buf, mwSize buflen) const
 
mxUint16 * get_uint16s (void) const
 
mxUint32 * get_uint32s (void) const
 
mxUint64 * get_uint64s (void) const
 
mxUint8 * get_uint8s (void) const
 
int is_char (void) const
 
virtual int is_class (const char *name_arg) const
 
int is_complex (void) const
 
int is_double (void) const
 
int is_function_handle (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
 
virtual int is_logical_scalar (void) const
 
int is_logical_scalar_true (void) const
 
int is_numeric (void) const
 
virtual bool is_octave_value (void) const
 
bool is_scalar (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 iscell (void) const
 
int isempty (void) const
 
virtual mxArraymutate (void) const
 
virtual bool mutation_needed (void) const
 
mxArray_separate_fulloperator= (const mxArray_separate_full &)
 
void remove_field (int)
 
void set_cell (mwIndex, mxArray *)
 
void set_class_name (const char *name)
 
int set_complex_doubles (mxComplexDouble *)
 
int set_complex_int16s (mxComplexInt16 *)
 
int set_complex_int32s (mxComplexInt32 *)
 
int set_complex_int64s (mxComplexInt64 *)
 
int set_complex_int8s (mxComplexInt8 *)
 
int set_complex_singles (mxComplexSingle *)
 
int set_complex_uint16s (mxComplexUint16 *)
 
int set_complex_uint32s (mxComplexUint32 *)
 
int set_complex_uint64s (mxComplexUint64 *)
 
int set_complex_uint8s (mxComplexUint8 *)
 
void set_data (void *pr)
 
int set_dimensions (mwSize *dims, mwSize ndims)
 
int set_doubles (mxDouble *)
 
void set_field_by_number (mwIndex, int, mxArray *)
 
void set_imag_data (void *pi)
 
int set_int16s (mxInt16 *)
 
int set_int32s (mxInt32 *)
 
int set_int64s (mxInt64 *)
 
int set_int8s (mxInt8 *)
 
void set_ir (mwIndex *)
 
void set_jc (mwIndex *)
 
void set_m (mwSize m)
 
void set_n (mwSize n)
 
void set_nzmax (mwSize)
 
virtual void set_property (mwIndex, const char *, const mxArray *)
 
int set_singles (mxSingle *)
 
int set_uint16s (mxUint16 *)
 
int set_uint32s (mxUint32 *)
 
int set_uint64s (mxUint64 *)
 
int set_uint8s (mxUint8 *)
 

Protected Member Functions

 mxArray_separate_full (const mxArray_separate_full &val)
 
dim_vector dims_to_dim_vector (void) const
 
OCTAVE_NORETURN void err_invalid_type (const char *op) const
 
template<typename ELT_T >
octave_value fp_to_ov (const dim_vector &dv) const
 
std::size_t get_numeric_element_size (std::size_t size) const
 
template<typename ELT_T , typename ARRAY_T , typename ARRAY_ELT_T >
octave_value int_to_ov (const dim_vector &dv) const
 

Protected Attributes

bool m_interleaved
 
void * m_pr
 

Private Member Functions

template<typename T >
octave_value to_ov (const dim_vector &dv) const
 

Private Attributes

char * m_class_name
 
mwSize * m_dims
 
mxClassID m_id
 
mwSize m_ndims
 
void * m_pi
 

Detailed Description

Definition at line 2317 of file mex.cc.

Constructor & Destructor Documentation

◆ mxArray_separate_full() [1/8]

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

Definition at line 2321 of file mex.cc.

Referenced by dup().

◆ mxArray_separate_full() [2/8]

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

Definition at line 2329 of file mex.cc.

◆ mxArray_separate_full() [3/8]

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

Definition at line 2337 of file mex.cc.

◆ mxArray_separate_full() [4/8]

mxArray_separate_full::mxArray_separate_full ( mxClassID  id,
double  val 
)
inline

Definition at line 2345 of file mex.cc.

◆ mxArray_separate_full() [5/8]

mxArray_separate_full::mxArray_separate_full ( mxClassID  id,
mxLogical  val 
)
inline

Definition at line 2349 of file mex.cc.

◆ mxArray_separate_full() [6/8]

mxArray_separate_full::mxArray_separate_full ( const char *  str)
inline

Definition at line 2353 of file mex.cc.

◆ mxArray_separate_full() [7/8]

mxArray_separate_full::mxArray_separate_full ( mwSize  m,
const char **  str 
)
inline

Definition at line 2358 of file mex.cc.

◆ ~mxArray_separate_full()

mxArray_separate_full::~mxArray_separate_full ( void  )
inline

Definition at line 2372 of file mex.cc.

References m_pi, and mxFree().

◆ mxArray_separate_full() [8/8]

mxArray_separate_full::mxArray_separate_full ( const mxArray_separate_full val)
inlineprotected

Member Function Documentation

◆ add_field()

int mxArray_matlab::add_field ( const char *  )
inlinevirtualinherited

Implements mxArray_base.

Reimplemented in mxArray_struct.

Definition at line 1484 of file mex.cc.

References mxArray_base::err_invalid_type().

◆ array_to_string()

char* mxArray_base_full::array_to_string ( void  ) const
inlinevirtualinherited

Reimplemented from mxArray_matlab.

Definition at line 2083 of file mex.cc.

References mxArray_matlab::get_number_of_elements(), mxArray_base_full::m_pr, and mxArray::malloc().

◆ as_mxArray()

virtual mxArray* mxArray_base::as_mxArray ( void  ) const
inlinevirtualinherited

Reimplemented in mxArray_octave_value.

Definition at line 99 of file mxarray.h.

Referenced by mxArray::dup().

◆ as_octave_value()

octave_value mxArray_separate_full::as_octave_value ( void  ) const
inlinevirtual

◆ calc_single_subscript()

mwIndex mxArray_matlab::calc_single_subscript ( mwSize  nsubs,
mwIndex *  subs 
) const
inlinevirtualinherited

◆ dims_to_dim_vector()

◆ dup()

mxArray_base* mxArray_separate_full::dup ( void  ) const
inlinevirtual

Reimplemented from mxArray_base_full.

Definition at line 2367 of file mex.cc.

References mxArray_separate_full().

◆ err_invalid_type()

OCTAVE_NORETURN void mxArray_base::err_invalid_type ( const char *  op) const
inlineprotectedinherited

Definition at line 322 of file mxarray.h.

References error().

Referenced by mxArray_matlab::add_field(), mxArray_matlab::array_to_string(), mxArray_matlab::get_cell(), mxArray_matlab::get_complex_doubles(), mxArray_matlab::get_complex_singles(), mxArray_matlab::get_data(), mxArray_matlab::get_doubles(), mxArray_matlab::get_field_by_number(), mxArray_matlab::get_field_name_by_number(), mxArray_matlab::get_imag_data(), mxArray_matlab::get_int16s(), mxArray_matlab::get_int32s(), mxArray_matlab::get_int64s(), mxArray_matlab::get_int8s(), mxArray_matlab::get_ir(), mxArray_matlab::get_jc(), mxArray_matlab::get_number_of_fields(), mxArray_matlab::get_nzmax(), mxArray_matlab::get_scalar(), mxArray_matlab::get_singles(), mxArray_matlab::get_string(), mxArray_matlab::get_uint16s(), mxArray_matlab::get_uint32s(), mxArray_matlab::get_uint64s(), mxArray_matlab::get_uint8s(), mxArray_matlab::remove_field(), mxArray_matlab::set_cell(), mxArray_matlab::set_complex_doubles(), mxArray_matlab::set_complex_singles(), mxArray_matlab::set_data(), mxArray_matlab::set_doubles(), mxArray_matlab::set_field_by_number(), mxArray_matlab::set_imag_data(), mxArray_matlab::set_int16s(), mxArray_matlab::set_int32s(), mxArray_matlab::set_int64s(), mxArray_matlab::set_int8s(), mxArray_matlab::set_ir(), mxArray_matlab::set_jc(), mxArray_matlab::set_nzmax(), mxArray_octave_value::set_property(), mxArray_matlab::set_singles(), mxArray_matlab::set_uint16s(), mxArray_matlab::set_uint32s(), mxArray_matlab::set_uint64s(), and mxArray_matlab::set_uint8s().

◆ fp_to_ov()

template<typename ELT_T >
octave_value mxArray_base_full::fp_to_ov ( const dim_vector dv) const
inlineprotectedinherited

◆ get_cell()

mxArray* mxArray_matlab::get_cell ( mwIndex  ) const
inlinevirtualinherited

Reimplemented from mxArray_base.

Reimplemented in mxArray_cell.

Definition at line 1213 of file mex.cc.

References mxArray_base::err_invalid_type().

◆ get_class_id()

mxClassID mxArray_matlab::get_class_id ( void  ) const
inlinevirtualinherited

◆ get_class_name()

const char* mxArray_matlab::get_class_name ( void  ) const
inlinevirtualinherited

Implements mxArray_base.

Definition at line 1181 of file mex.cc.

References mxArray_matlab::m_id.

◆ get_complex_doubles()

mxComplexDouble* mxArray_separate_full::get_complex_doubles ( void  ) const
inlinevirtual

Reimplemented from mxArray_base_full.

Definition at line 2394 of file mex.cc.

References panic_impossible.

◆ get_complex_int16s()

mxComplexInt16* mxArray_separate_full::get_complex_int16s ( void  ) const
inline

Definition at line 2400 of file mex.cc.

References panic_impossible.

◆ get_complex_int32s()

mxComplexInt32* mxArray_separate_full::get_complex_int32s ( void  ) const
inline

Definition at line 2401 of file mex.cc.

References panic_impossible.

◆ get_complex_int64s()

mxComplexInt64* mxArray_separate_full::get_complex_int64s ( void  ) const
inline

Definition at line 2402 of file mex.cc.

References panic_impossible.

◆ get_complex_int8s()

mxComplexInt8* mxArray_separate_full::get_complex_int8s ( void  ) const
inline

Definition at line 2399 of file mex.cc.

References panic_impossible.

◆ get_complex_singles()

mxComplexSingle* mxArray_separate_full::get_complex_singles ( void  ) const
inlinevirtual

Reimplemented from mxArray_base_full.

Definition at line 2395 of file mex.cc.

References panic_impossible.

◆ get_complex_uint16s()

mxComplexUint16* mxArray_separate_full::get_complex_uint16s ( void  ) const
inline

Definition at line 2404 of file mex.cc.

References panic_impossible.

◆ get_complex_uint32s()

mxComplexUint32* mxArray_separate_full::get_complex_uint32s ( void  ) const
inline

Definition at line 2405 of file mex.cc.

References panic_impossible.

◆ get_complex_uint64s()

mxComplexUint64* mxArray_separate_full::get_complex_uint64s ( void  ) const
inline

Definition at line 2406 of file mex.cc.

References panic_impossible.

◆ get_complex_uint8s()

mxComplexUint8* mxArray_separate_full::get_complex_uint8s ( void  ) const
inline

Definition at line 2403 of file mex.cc.

References panic_impossible.

◆ get_data()

void* mxArray_base_full::get_data ( void  ) const
inlinevirtualinherited

Reimplemented from mxArray_matlab.

Definition at line 1812 of file mex.cc.

References mxArray_base_full::m_pr.

◆ get_dimensions()

mwSize* mxArray_matlab::get_dimensions ( void  ) const
inlinevirtualinherited

Implements mxArray_base.

Definition at line 1128 of file mex.cc.

References mxArray_matlab::m_dims.

Referenced by mxArray_base_full::mxArray_base_full(), and mxArray_matlab::dims_to_dim_vector().

◆ get_doubles()

mxDouble* mxArray_separate_full::get_doubles ( void  ) const
inlinevirtual

Reimplemented from mxArray_base_full.

Definition at line 2383 of file mex.cc.

References panic_impossible.

◆ get_element_size()

std::size_t mxArray_matlab::get_element_size ( void  ) const
inlinevirtualinherited

◆ get_field_by_number()

mxArray* mxArray_matlab::get_field_by_number ( mwIndex  ,
int   
) const
inlinevirtualinherited

Implements mxArray_base.

Reimplemented in mxArray_struct.

Definition at line 1494 of file mex.cc.

References mxArray_base::err_invalid_type().

◆ get_field_name_by_number()

const char* mxArray_matlab::get_field_name_by_number ( int  ) const
inlinevirtualinherited

Implements mxArray_base.

Reimplemented in mxArray_struct.

Definition at line 1510 of file mex.cc.

References mxArray_base::err_invalid_type().

◆ get_field_number()

int mxArray_matlab::get_field_number ( const char *  ) const
inlinevirtualinherited

Implements mxArray_base.

Reimplemented in mxArray_struct.

Definition at line 1515 of file mex.cc.

◆ get_imag_data()

void* mxArray_separate_full::get_imag_data ( void  ) const
inlinevirtual

Reimplemented from mxArray_matlab.

Definition at line 2379 of file mex.cc.

References m_pi.

◆ get_int16s()

mxInt16* mxArray_separate_full::get_int16s ( void  ) const
inlinevirtual

Reimplemented from mxArray_base_full.

Definition at line 2386 of file mex.cc.

References panic_impossible.

◆ get_int32s()

mxInt32* mxArray_separate_full::get_int32s ( void  ) const
inlinevirtual

Reimplemented from mxArray_base_full.

Definition at line 2387 of file mex.cc.

References panic_impossible.

◆ get_int64s()

mxInt64* mxArray_separate_full::get_int64s ( void  ) const
inlinevirtual

Reimplemented from mxArray_base_full.

Definition at line 2388 of file mex.cc.

References panic_impossible.

◆ get_int8s()

mxInt8* mxArray_separate_full::get_int8s ( void  ) const
inlinevirtual

Reimplemented from mxArray_base_full.

Definition at line 2385 of file mex.cc.

References panic_impossible.

◆ get_ir()

mwIndex* mxArray_matlab::get_ir ( void  ) const
inlinevirtualinherited

Implements mxArray_base.

Reimplemented in mxArray_base_sparse.

Definition at line 1454 of file mex.cc.

References mxArray_base::err_invalid_type().

◆ get_jc()

mwIndex* mxArray_matlab::get_jc ( void  ) const
inlinevirtualinherited

Implements mxArray_base.

Reimplemented in mxArray_base_sparse.

Definition at line 1459 of file mex.cc.

References mxArray_base::err_invalid_type().

◆ get_m()

mwSize mxArray_matlab::get_m ( void  ) const
inlinevirtualinherited

Implements mxArray_base.

Definition at line 1116 of file mex.cc.

References mxArray_matlab::m_dims.

Referenced by mxArray_separate_sparse::as_octave_value().

◆ get_n()

mwSize mxArray_matlab::get_n ( void  ) const
inlinevirtualinherited

◆ get_number_of_dimensions()

mwSize mxArray_matlab::get_number_of_dimensions ( void  ) const
inlinevirtualinherited

Implements mxArray_base.

Definition at line 1130 of file mex.cc.

References mxArray_matlab::m_ndims.

Referenced by mxArray_matlab::dims_to_dim_vector().

◆ get_number_of_elements()

◆ get_number_of_fields()

int mxArray_matlab::get_number_of_fields ( void  ) const
inlinevirtualinherited

Implements mxArray_base.

Reimplemented in mxArray_struct.

Definition at line 1505 of file mex.cc.

References mxArray_base::err_invalid_type().

◆ get_numeric_element_size()

std::size_t mxArray_base::get_numeric_element_size ( std::size_t  size) const
inlineprotectedinherited

◆ get_nzmax()

mwSize mxArray_matlab::get_nzmax ( void  ) const
inlinevirtualinherited

Implements mxArray_base.

Reimplemented in mxArray_base_sparse.

Definition at line 1464 of file mex.cc.

References mxArray_base::err_invalid_type().

◆ get_property()

virtual mxArray* mxArray_base::get_property ( mwIndex  ,
const char *   
) const
inlinevirtualinherited

Reimplemented in mxArray_octave_value.

Definition at line 192 of file mxarray.h.

Referenced by mxArray::get_property().

◆ get_scalar()

double mxArray_base_full::get_scalar ( void  ) const
inlinevirtualinherited

Reimplemented from mxArray_matlab.

Definition at line 1749 of file mex.cc.

References mxArray_matlab::get_class_id(), mxArray_base_full::m_pr, and panic_impossible.

◆ get_singles()

mxSingle* mxArray_separate_full::get_singles ( void  ) const
inlinevirtual

Reimplemented from mxArray_base_full.

Definition at line 2384 of file mex.cc.

References panic_impossible.

◆ get_string()

int mxArray_base_full::get_string ( char *  buf,
mwSize  buflen 
) const
inlinevirtualinherited

Reimplemented from mxArray_matlab.

Definition at line 2057 of file mex.cc.

References mxArray_matlab::get_number_of_elements(), and mxArray_base_full::m_pr.

◆ get_uint16s()

mxUint16* mxArray_separate_full::get_uint16s ( void  ) const
inlinevirtual

Reimplemented from mxArray_base_full.

Definition at line 2390 of file mex.cc.

References panic_impossible.

◆ get_uint32s()

mxUint32* mxArray_separate_full::get_uint32s ( void  ) const
inlinevirtual

Reimplemented from mxArray_base_full.

Definition at line 2391 of file mex.cc.

References panic_impossible.

◆ get_uint64s()

mxUint64* mxArray_separate_full::get_uint64s ( void  ) const
inlinevirtual

Reimplemented from mxArray_base_full.

Definition at line 2392 of file mex.cc.

References panic_impossible.

◆ get_uint8s()

mxUint8* mxArray_separate_full::get_uint8s ( void  ) const
inlinevirtual

Reimplemented from mxArray_base_full.

Definition at line 2389 of file mex.cc.

References panic_impossible.

◆ int_to_ov()

template<typename ELT_T , typename ARRAY_T , typename ARRAY_ELT_T >
octave_value mxArray_base_full::int_to_ov ( const dim_vector dv) const
inlineprotectedinherited

◆ is_char()

int mxArray_matlab::is_char ( void  ) const
inlinevirtualinherited

Implements mxArray_base.

Definition at line 1069 of file mex.cc.

References mxArray_matlab::m_id.

◆ is_class()

virtual int mxArray_base::is_class ( const char *  name_arg) const
inlinevirtualinherited

Definition at line 109 of file mxarray.h.

References strcmp().

Referenced by mxArray::is_class().

◆ is_complex()

int mxArray_separate_full::is_complex ( void  ) const
inlinevirtual

Reimplemented from mxArray_matlab.

Definition at line 2377 of file mex.cc.

References m_pi.

Referenced by as_octave_value().

◆ is_double()

int mxArray_matlab::is_double ( void  ) const
inlinevirtualinherited

Implements mxArray_base.

Definition at line 1073 of file mex.cc.

References mxArray_matlab::m_id.

◆ is_function_handle()

int mxArray_matlab::is_function_handle ( void  ) const
inlinevirtualinherited

Implements mxArray_base.

Definition at line 1075 of file mex.cc.

References mxArray_matlab::m_id.

◆ is_int16()

int mxArray_matlab::is_int16 ( void  ) const
inlinevirtualinherited

Implements mxArray_base.

Definition at line 1077 of file mex.cc.

References mxArray_matlab::m_id.

◆ is_int32()

int mxArray_matlab::is_int32 ( void  ) const
inlinevirtualinherited

Implements mxArray_base.

Definition at line 1079 of file mex.cc.

References mxArray_matlab::m_id.

◆ is_int64()

int mxArray_matlab::is_int64 ( void  ) const
inlinevirtualinherited

Implements mxArray_base.

Definition at line 1081 of file mex.cc.

References mxArray_matlab::m_id.

◆ is_int8()

int mxArray_matlab::is_int8 ( void  ) const
inlinevirtualinherited

Implements mxArray_base.

Definition at line 1083 of file mex.cc.

References mxArray_matlab::m_id.

◆ is_logical()

int mxArray_matlab::is_logical ( void  ) const
inlinevirtualinherited

Implements mxArray_base.

Definition at line 1085 of file mex.cc.

References mxArray_matlab::m_id.

◆ is_logical_scalar()

virtual int mxArray_base::is_logical_scalar ( void  ) const
inlinevirtualinherited

◆ is_logical_scalar_true()

int mxArray_matlab::is_logical_scalar_true ( void  ) const
inlinevirtualinherited

Implements mxArray_base.

Definition at line 1110 of file mex.cc.

References mxArray_matlab::get_data(), and mxArray_base::is_logical_scalar().

◆ is_numeric()

int mxArray_matlab::is_numeric ( void  ) const
inlinevirtualinherited

Implements mxArray_base.

Definition at line 1087 of file mex.cc.

References mxArray_matlab::m_id.

◆ is_octave_value()

virtual bool mxArray_base::is_octave_value ( void  ) const
inlinevirtualinherited

Reimplemented in mxArray_octave_value.

Definition at line 103 of file mxarray.h.

Referenced by mxArray::is_octave_value(), and mxArray::maybe_mutate().

◆ is_scalar()

bool mxArray_matlab::is_scalar ( void  ) const
inlinevirtualinherited

Implements mxArray_base.

Definition at line 1174 of file mex.cc.

References mxArray_matlab::m_dims, and mxArray_matlab::m_ndims.

◆ is_single()

int mxArray_matlab::is_single ( void  ) const
inlinevirtualinherited

Implements mxArray_base.

Definition at line 1096 of file mex.cc.

References mxArray_matlab::m_id.

◆ is_sparse()

int mxArray_matlab::is_sparse ( void  ) const
inlinevirtualinherited

Implements mxArray_base.

Reimplemented in mxArray_base_sparse.

Definition at line 1098 of file mex.cc.

◆ is_struct()

int mxArray_matlab::is_struct ( void  ) const
inlinevirtualinherited

Implements mxArray_base.

Definition at line 1100 of file mex.cc.

References mxArray_matlab::m_id.

◆ is_uint16()

int mxArray_matlab::is_uint16 ( void  ) const
inlinevirtualinherited

Implements mxArray_base.

Definition at line 1102 of file mex.cc.

References mxArray_matlab::m_id.

◆ is_uint32()

int mxArray_matlab::is_uint32 ( void  ) const
inlinevirtualinherited

Implements mxArray_base.

Definition at line 1104 of file mex.cc.

References mxArray_matlab::m_id.

◆ is_uint64()

int mxArray_matlab::is_uint64 ( void  ) const
inlinevirtualinherited

Implements mxArray_base.

Definition at line 1106 of file mex.cc.

References mxArray_matlab::m_id.

◆ is_uint8()

int mxArray_matlab::is_uint8 ( void  ) const
inlinevirtualinherited

Implements mxArray_base.

Definition at line 1108 of file mex.cc.

References mxArray_matlab::m_id.

◆ iscell()

int mxArray_matlab::iscell ( void  ) const
inlinevirtualinherited

Implements mxArray_base.

Definition at line 1067 of file mex.cc.

References mxArray_matlab::m_id.

◆ isempty()

int mxArray_matlab::isempty ( void  ) const
inlinevirtualinherited

Implements mxArray_base.

Definition at line 1172 of file mex.cc.

References mxArray_matlab::get_number_of_elements().

◆ mutate()

virtual mxArray* mxArray_base::mutate ( void  ) const
inlinevirtualinherited

Reimplemented in mxArray_octave_value.

Definition at line 307 of file mxarray.h.

Referenced by mxArray::maybe_mutate(), and mxArray::mutate().

◆ mutation_needed()

virtual bool mxArray_base::mutation_needed ( void  ) const
inlinevirtualinherited

Reimplemented in mxArray_octave_value.

Definition at line 305 of file mxarray.h.

Referenced by mxArray::mutation_needed().

◆ operator=()

mxArray_separate_full& mxArray_separate_full::operator= ( const mxArray_separate_full )

◆ remove_field()

void mxArray_matlab::remove_field ( int  )
inlinevirtualinherited

Implements mxArray_base.

Reimplemented in mxArray_struct.

Definition at line 1489 of file mex.cc.

References mxArray_base::err_invalid_type().

◆ set_cell()

void mxArray_matlab::set_cell ( mwIndex  ,
mxArray  
)
inlinevirtualinherited

Implements mxArray_base.

Reimplemented in mxArray_cell.

Definition at line 1218 of file mex.cc.

References mxArray_base::err_invalid_type().

◆ set_class_name()

void mxArray_matlab::set_class_name ( const char *  name)
inlinevirtualinherited

Implements mxArray_base.

Definition at line 1206 of file mex.cc.

References mxArray_matlab::m_class_name, mxArray::malloc(), mxFree(), and strlen().

◆ set_complex_doubles()

int mxArray_separate_full::set_complex_doubles ( mxComplexDouble *  )
inlinevirtual

Reimplemented from mxArray_base_full.

Definition at line 2419 of file mex.cc.

References panic_impossible.

◆ set_complex_int16s()

int mxArray_separate_full::set_complex_int16s ( mxComplexInt16 *  )
inline

Definition at line 2425 of file mex.cc.

References panic_impossible.

◆ set_complex_int32s()

int mxArray_separate_full::set_complex_int32s ( mxComplexInt32 *  )
inline

Definition at line 2426 of file mex.cc.

References panic_impossible.

◆ set_complex_int64s()

int mxArray_separate_full::set_complex_int64s ( mxComplexInt64 *  )
inline

Definition at line 2427 of file mex.cc.

References panic_impossible.

◆ set_complex_int8s()

int mxArray_separate_full::set_complex_int8s ( mxComplexInt8 *  )
inline

Definition at line 2424 of file mex.cc.

References panic_impossible.

◆ set_complex_singles()

int mxArray_separate_full::set_complex_singles ( mxComplexSingle *  )
inlinevirtual

Reimplemented from mxArray_base_full.

Definition at line 2420 of file mex.cc.

References panic_impossible.

◆ set_complex_uint16s()

int mxArray_separate_full::set_complex_uint16s ( mxComplexUint16 *  )
inline

Definition at line 2429 of file mex.cc.

References panic_impossible.

◆ set_complex_uint32s()

int mxArray_separate_full::set_complex_uint32s ( mxComplexUint32 *  )
inline

Definition at line 2430 of file mex.cc.

References panic_impossible.

◆ set_complex_uint64s()

int mxArray_separate_full::set_complex_uint64s ( mxComplexUint64 *  )
inline

Definition at line 2431 of file mex.cc.

References panic_impossible.

◆ set_complex_uint8s()

int mxArray_separate_full::set_complex_uint8s ( mxComplexUint8 *  )
inline

Definition at line 2428 of file mex.cc.

References panic_impossible.

◆ set_data()

void mxArray_base_full::set_data ( void *  pr)
inlinevirtualinherited

Reimplemented from mxArray_matlab.

Definition at line 1814 of file mex.cc.

References mxArray_base_full::m_pr.

◆ set_dimensions()

int mxArray_matlab::set_dimensions ( mwSize *  dims,
mwSize  ndims 
)
inlinevirtualinherited

Implements mxArray_base.

Definition at line 1136 of file mex.cc.

References mxArray_matlab::m_dims, mxArray_matlab::m_ndims, mxArray::malloc(), and mxFree().

◆ set_doubles()

int mxArray_separate_full::set_doubles ( mxDouble *  )
inlinevirtual

Reimplemented from mxArray_base_full.

Definition at line 2408 of file mex.cc.

References panic_impossible.

◆ set_field_by_number()

void mxArray_matlab::set_field_by_number ( mwIndex  ,
int  ,
mxArray  
)
inlinevirtualinherited

Implements mxArray_base.

Reimplemented in mxArray_struct.

Definition at line 1499 of file mex.cc.

References mxArray_base::err_invalid_type().

◆ set_imag_data()

void mxArray_separate_full::set_imag_data ( void *  pi)
inlinevirtual

Reimplemented from mxArray_matlab.

Definition at line 2381 of file mex.cc.

References m_pi, and pi.

◆ set_int16s()

int mxArray_separate_full::set_int16s ( mxInt16 *  )
inlinevirtual

Reimplemented from mxArray_base_full.

Definition at line 2411 of file mex.cc.

References panic_impossible.

◆ set_int32s()

int mxArray_separate_full::set_int32s ( mxInt32 *  )
inlinevirtual

Reimplemented from mxArray_base_full.

Definition at line 2412 of file mex.cc.

References panic_impossible.

◆ set_int64s()

int mxArray_separate_full::set_int64s ( mxInt64 *  )
inlinevirtual

Reimplemented from mxArray_base_full.

Definition at line 2413 of file mex.cc.

References panic_impossible.

◆ set_int8s()

int mxArray_separate_full::set_int8s ( mxInt8 *  )
inlinevirtual

Reimplemented from mxArray_base_full.

Definition at line 2410 of file mex.cc.

References panic_impossible.

◆ set_ir()

void mxArray_matlab::set_ir ( mwIndex *  )
inlinevirtualinherited

Implements mxArray_base.

Reimplemented in mxArray_base_sparse.

Definition at line 1469 of file mex.cc.

References mxArray_base::err_invalid_type().

◆ set_jc()

void mxArray_matlab::set_jc ( mwIndex *  )
inlinevirtualinherited

Implements mxArray_base.

Reimplemented in mxArray_base_sparse.

Definition at line 1474 of file mex.cc.

References mxArray_base::err_invalid_type().

◆ set_m()

void mxArray_matlab::set_m ( mwSize  m)
inlinevirtualinherited

Implements mxArray_base.

Definition at line 1132 of file mex.cc.

References m, and mxArray_matlab::m_dims.

◆ set_n()

void mxArray_matlab::set_n ( mwSize  n)
inlinevirtualinherited

Implements mxArray_base.

Definition at line 1134 of file mex.cc.

References mxArray_matlab::m_dims, and n.

◆ set_nzmax()

void mxArray_matlab::set_nzmax ( mwSize  )
inlinevirtualinherited

Implements mxArray_base.

Reimplemented in mxArray_base_sparse.

Definition at line 1479 of file mex.cc.

References mxArray_base::err_invalid_type().

◆ set_property()

virtual void mxArray_base::set_property ( mwIndex  ,
const char *  ,
const mxArray  
)
inlinevirtualinherited

Reimplemented in mxArray_octave_value.

Definition at line 197 of file mxarray.h.

Referenced by mxArray::set_property().

◆ set_singles()

int mxArray_separate_full::set_singles ( mxSingle *  )
inlinevirtual

Reimplemented from mxArray_base_full.

Definition at line 2409 of file mex.cc.

References panic_impossible.

◆ set_uint16s()

int mxArray_separate_full::set_uint16s ( mxUint16 *  )
inlinevirtual

Reimplemented from mxArray_base_full.

Definition at line 2415 of file mex.cc.

References panic_impossible.

◆ set_uint32s()

int mxArray_separate_full::set_uint32s ( mxUint32 *  )
inlinevirtual

Reimplemented from mxArray_base_full.

Definition at line 2416 of file mex.cc.

References panic_impossible.

◆ set_uint64s()

int mxArray_separate_full::set_uint64s ( mxUint64 *  )
inlinevirtual

Reimplemented from mxArray_base_full.

Definition at line 2417 of file mex.cc.

References panic_impossible.

◆ set_uint8s()

int mxArray_separate_full::set_uint8s ( mxUint8 *  )
inlinevirtual

Reimplemented from mxArray_base_full.

Definition at line 2414 of file mex.cc.

References panic_impossible.

◆ to_ov()

template<typename T >
octave_value mxArray_separate_full::to_ov ( const dim_vector dv) const
inlineprivate

Member Data Documentation

◆ m_class_name

char* mxArray_matlab::m_class_name
privateinherited

Definition at line 1649 of file mex.cc.

Referenced by mxArray_matlab::~mxArray_matlab(), and mxArray_matlab::set_class_name().

◆ m_dims

◆ m_id

◆ m_interleaved

bool mxArray_base::m_interleaved
protectedinherited

◆ m_ndims

◆ m_pi

void* mxArray_separate_full::m_pi
private

◆ m_pr


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