24 #if !defined (octave_ov_cell_h)
25 #define octave_ov_cell_h 1
61 cellstr_cache (new
Array<std::string> (str)) { }
76 const std::list<octave_value_list>& idx)
83 const std::list<octave_value_list>& idx,
86 return subsref (type, idx, nargout, 0);
90 const std::list<octave_value_list>& idx,
92 const std::list<octave_lvalue> *lvalue_list);
95 const std::list<octave_value_list>& idx,
99 const std::list<octave_value_list>& idx,
108 size_t byte_size (
void)
const;
133 bool is_cellstr (
void)
const;
148 bool print_as_scalar (
void)
const;
150 void print (std::ostream& os,
bool pr_as_read_syntax =
false)
const;
152 void print_raw (std::ostream& os,
bool pr_as_read_syntax =
false)
const;
154 void short_disp (std::ostream& os)
const;
156 bool save_ascii (std::ostream& os);
158 bool load_ascii (std::istream& is);
160 bool save_binary (std::ostream& os,
bool& save_as_floats);
162 bool load_binary (std::istream& is,
bool swap,
165 #if defined (HAVE_HDF5)
166 bool save_hdf5 (hid_t loc_id,
const char *name,
bool save_as_floats);
168 bool load_hdf5 (hid_t loc_id,
const char *name);
173 mxArray *as_mxArray (
void)
const;
177 void *mex_get_data (
void)
const;
181 void clear_cellstr_cache (
void)
const
182 { cellstr_cache.reset (); }