Mercurial > hg > octave-nkf
diff src/ov-cell.h @ 3933:f9ea3dcf58ee
[project @ 2002-05-15 03:21:00 by jwe]
author | jwe |
---|---|
date | Wed, 15 May 2002 03:21:01 +0000 |
parents | e8627dc4bdf2 |
children | 6e86256e9c54 |
line wrap: on
line diff
--- a/src/ov-cell.h +++ b/src/ov-cell.h @@ -66,18 +66,34 @@ void assign (const octave_value_list& idx, const octave_value& rhs); - octave_value *clone (void) { return new octave_cell (*this); } + octave_value *clone (void) const { return new octave_cell (*this); } + octave_value *empty_clone (void) const { return new octave_cell (); } #if 0 octave_value *try_narrowing_conversion (void); #endif + octave_value subsref (const std::string type, + const SLList<octave_value_list>& idx); + + octave_value subsasgn (const std::string type, + const SLList<octave_value_list>& idx, + const octave_value& rhs); + bool is_defined (void) const { return true; } bool is_cell (void) const { return true; } Cell cell_value (void) const { return matrix; } + octave_value_list list_value (void) const; + + void print (std::ostream& os, bool pr_as_read_syntax = false) const; + + void print_raw (std::ostream& os, bool pr_as_read_syntax = false) const; + + bool print_name_tag (std::ostream& os, const std::string& name) const; + private: DECLARE_OCTAVE_ALLOCATOR