comparison src/ov-base.h @ 5900:c20eb7330d13

[project @ 2006-07-22 08:31:16 by jwe]
author jwe
date Sat, 22 Jul 2006 08:31:17 +0000
parents b9c45e0cf685
children c038c2947ee1
comparison
equal deleted inserted replaced
5899:82c38ce145a7 5900:c20eb7330d13
34 #include <hdf5.h> 34 #include <hdf5.h>
35 #endif 35 #endif
36 36
37 #include "Range.h" 37 #include "Range.h"
38 #include "data-conv.h" 38 #include "data-conv.h"
39 #include "mxarray.h"
39 #include "mx-base.h" 40 #include "mx-base.h"
40 #include "str-vec.h" 41 #include "str-vec.h"
41 42
42 #include "error.h" 43 #include "error.h"
43 44
173 174
174 virtual octave_idx_type nnz (void) const; 175 virtual octave_idx_type nnz (void) const;
175 176
176 virtual octave_idx_type nzmax (void) const; 177 virtual octave_idx_type nzmax (void) const;
177 178
179 virtual octave_idx_type nfields (void) const;
180
178 virtual octave_value reshape (const dim_vector&) const; 181 virtual octave_value reshape (const dim_vector&) const;
179 182
180 virtual octave_value permute (const Array<int>& vec, bool = false) const; 183 virtual octave_value permute (const Array<int>& vec, bool = false) const;
181 184
182 virtual octave_value resize (const dim_vector&, bool fill = false) const; 185 virtual octave_value resize (const dim_vector&, bool fill = false) const;
431 434
432 virtual int 435 virtual int
433 write (octave_stream& os, int block_size, 436 write (octave_stream& os, int block_size,
434 oct_data_conv::data_type output_type, int skip, 437 oct_data_conv::data_type output_type, int skip,
435 oct_mach_info::float_format flt_fmt) const; 438 oct_mach_info::float_format flt_fmt) const;
439
440 virtual void *mex_get_data (void) const { return 0; }
441
442 virtual octave_idx_type *mex_get_ir (void) const { return 0; }
443
444 virtual octave_idx_type *mex_get_jc (void) const { return 0; }
445
446 virtual mxArray *as_mxArray (void) const;
436 447
437 protected: 448 protected:
438 449
439 // This should only be called for derived types. 450 // This should only be called for derived types.
440 451