24 #if ! defined (octave_ov_cell_h)
25 #define octave_ov_cell_h 1
27 #include "octave-config.h"
77 const std::list<octave_value_list>& idx)
84 const std::list<octave_value_list>& idx,
87 return subsref (type, idx, nargout, 0);
91 const std::list<octave_value_list>& idx,
93 const std::list<octave_lvalue> *lvalue_list);
96 const std::list<octave_value_list>& idx,
100 const std::list<octave_value_list>& idx,
109 size_t byte_size (
void)
const;
134 bool is_cellstr (
void)
const;
143 {
return octave_value (string_vector_value (pad), type); }
151 bool print_as_scalar (
void)
const;
153 void print (std::ostream& os,
bool pr_as_read_syntax =
false);
155 void print_raw (std::ostream& os,
bool pr_as_read_syntax =
false)
const;
157 void short_disp (std::ostream& os)
const;
159 bool save_ascii (std::ostream& os);
161 bool load_ascii (std::istream&
is);
165 bool load_binary (std::istream&
is,
bool swap,
174 mxArray *as_mxArray (
void)
const;
178 void *mex_get_data (
void)
const;
183 { cellstr_cache.reset (); }
octave_cell(const Array< std::string > &str)
bool is_true(const std::string &s)
bool is_numeric_type(void) const
octave_value_list subsref(const std::string &type, const std::list< octave_value_list > &idx, int nargout)
octave_idx_type length(void) const
Return the CPU time used by your Octave session The first output is the total time spent executing your process and is equal to the sum of second and third which are the number of CPU seconds spent executing in user mode and the number of CPU seconds spent executing in system mode
idx subsref(val, idx) esult
the sparsity preserving column transformation such that that defines the pivoting threshold can be given in which case it defines the then the first element defines the pivoting tolerance for the unsymmetric the values defined such that for full matrix
Cell cell_value(void) const
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
OCTAVE_EXPORT octave_value_list return the number of command line arguments passed to Octave If called with the optional argument the function xample nargout(@histc)
bool is_defined(void) const
void clear_cellstr_cache(void) const
builtin_type_t builtin_type(void) const
the sparsity preserving column transformation such that that defines the pivoting threshold can be given in which case it defines the c
std::unique_ptr< Array< std::string > > cellstr_cache
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
idx subsasgn(val, idx, 0) esult
bool is_matrix_type(void) const
write the output to stdout if nargout is
If this string is the system will ring the terminal sometimes it is useful to be able to print the original representation of the string
return octave_value(v1.char_array_value().concat(v2.char_array_value(), ra_idx),((a1.is_sq_string()||a2.is_sq_string())? '\'': '"'))