24 #if !defined (octave_ov_cell_h)
25 #define octave_ov_cell_h 1
60 cellstr_cache (new
Array<
std::string> (str)) { }
75 const std::list<octave_value_list>& idx)
82 const std::list<octave_value_list>& idx,
85 return subsref (type, idx, nargout, 0);
89 const std::list<octave_value_list>& idx,
91 const std::list<octave_lvalue> *lvalue_list);
94 const std::list<octave_value_list>& idx,
98 const std::list<octave_value_list>& idx,
107 size_t byte_size (
void)
const;
132 bool is_cellstr (
void)
const;
147 bool print_as_scalar (
void)
const;
149 void print (std::ostream& os,
bool pr_as_read_syntax =
false);
151 void print_raw (std::ostream& os,
bool pr_as_read_syntax =
false)
const;
153 void short_disp (std::ostream& os)
const;
155 bool save_ascii (std::ostream& os);
157 bool load_ascii (std::istream& is);
159 bool save_binary (std::ostream& os,
bool& save_as_floats);
161 bool load_binary (std::istream& is,
bool swap,
164 bool save_hdf5 (
octave_hdf5_id loc_id,
const char *name,
bool save_as_floats);
170 mxArray *as_mxArray (
void)
const;
174 void *mex_get_data (
void)
const;
179 { cellstr_cache.reset (); }
octave_value_list subsref(const std::string &type, const std::list< octave_value_list > &idx, int nargout)
octave_cell(const Array< std::string > &str)
bool is_true(const std::string &s)
bool is_numeric_type(void) const
octave_idx_type length(void) const
Cell cell_value(void) const
std::auto_ptr< Array< std::string > > cellstr_cache
octave_cell(const Cell &c)
octave_cell(const octave_cell &c)
bool is_constant(void) const
octave_value convert_to_str_internal(bool pad, bool, char type) const
#define DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA
bool is_defined(void) const
void clear_cellstr_cache(void) const
builtin_type_t builtin_type(void) const
octave_value subsref(const std::string &type, const std::list< octave_value_list > &idx)
octave_base_value * empty_clone(void) const
octave_base_value * clone(void) const
bool is_matrix_type(void) const
return octave_value(v1.char_array_value().concat(v2.char_array_value(), ra_idx),((a1.is_sq_string()||a2.is_sq_string())? '\'': '"'))