23 #if ! defined (octave_ov_struct_h) 24 #define octave_ov_struct_h 1 26 #include "octave-config.h" 69 const std::list<octave_value_list>& idx)
76 const std::list<octave_value_list>&,
int);
79 const std::list<octave_value_list>& idx,
86 const std::list<octave_value_list>& idx,
95 bool resize_ok =
false);
99 size_t byte_size (
void)
const;
128 void print (std::ostream&
os,
bool pr_as_read_syntax =
false);
130 void print_raw (std::ostream&
os,
bool pr_as_read_syntax =
false)
const;
137 bool save_ascii (std::ostream&
os);
139 bool load_ascii (std::istream&
is);
143 bool load_binary (std::istream&
is,
bool swap,
150 mxArray * as_mxArray (
void)
const;
195 const std::list<octave_value_list>& idx);
198 const std::list<octave_value_list>& idx,
int);
201 const std::list<octave_value_list>& idx,
208 const std::list<octave_value_list>& idx,
217 bool resize_ok =
false);
221 size_t byte_size (
void)
const;
252 void print (std::ostream&
os,
bool pr_as_read_syntax =
false);
254 void print_raw (std::ostream&
os,
bool pr_as_read_syntax =
false)
const;
261 bool save_ascii (std::ostream&
os);
263 bool load_ascii (std::istream&
is);
267 bool load_binary (std::istream&
is,
bool swap,
274 mxArray * as_mxArray (
void)
const;
276 bool fast_elem_insert_self (
void *where,
builtin_type_t btyp)
const;
octave_base_value * empty_clone(void) const
octave_value permute(const Array< int > &vec, bool inv=false) const
octave_map squeeze(void) const
octave_scalar_struct(const octave_scalar_map &m)
bool is_constant(void) const
octave_idx_type nfields(void) const
string_vector fieldnames(void) const
dim_vector dims(void) const
identity matrix If supplied two scalar respectively For allows like xample val
octave_value reshape(const dim_vector &new_dims) const
idx subsref(val, idx) esult
octave_map map_value(void) const
octave_value squeeze(void) const
octave_value permute(const Array< int > &vec, bool inv=false) const
octave_scalar_struct(void)
octave_value reshape(const dim_vector &new_dims) const
bool isstruct(void) const
octave_base_value * empty_clone(void) const
octave_idx_type numel(void) const
octave_scalar_struct(const octave_scalar_struct &s)
octave_map permute(const Array< int > &vec, bool inv=false) const
#define DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA
nd deftypefn *std::string name
string_vector map_keys(void) const
octave_map reshape(const dim_vector &dv) const
octave_idx_type numel(void) const
octave_value squeeze(void) const
octave_value resize(const dim_vector &dv, bool fill=false) const
octave_idx_type numel(void) const
dim_vector dims(void) const
bool isstruct(void) const
octave_map map_value(void) const
builtin_type_t builtin_type(void) const
octave_value subsref(const std::string &type, const std::list< octave_value_list > &idx)
octave_idx_type nfields(void) const
octave_base_value * clone(void) const
return octave_value(v1.char_array_value() . concat(v2.char_array_value(), ra_idx),((a1.is_sq_string()||a2.is_sq_string()) ? '\'' :'"'))
octave_value resize(const dim_vector &dv, bool fill=false) const
octave_idx_type nfields(void) const
idx subsasgn(val, idx, 0) esult
octave_scalar_map scalar_map_value(void) const
octave_struct(const octave_map &m)
bool is_defined(void) const
void resize(const dim_vector &dv, bool fill=false)
dim_vector dims(void) const
octave_struct(const octave_struct &s)
write the output to stdout if nargout is
octave_base_value * clone(void) const
Vector representing the dimensions (size) of an Array.
builtin_type_t builtin_type(void) const
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
bool is_defined(void) const
F77_RET_T const F77_REAL const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE F77_DBLE &F77_RET_T const F77_DBLE F77_DBLE &F77_RET_T const F77_REAL F77_REAL &F77_RET_T const F77_DBLE * x
bool is_constant(void) const
octave_scalar_struct(const std::map< std::string, octave_value > &m)
string_vector map_keys(void) const