comparison src/Cell.h @ 10649:64472dd48517

cosmetic changes in Cell interface
author Jaroslav Hajek <highegg@gmail.com>
date Mon, 24 May 2010 12:41:43 +0200
parents 4d1fc073fbb7
children 1cc44f3ec814
comparison
equal deleted inserted replaced
10648:bc4eb29e0cb4 10649:64472dd48517
72 72
73 bool is_cellstr (void) const; 73 bool is_cellstr (void) const;
74 74
75 Array<std::string> cellstr_value (void) const; 75 Array<std::string> cellstr_value (void) const;
76 76
77 using Array<octave_value>::index;
78
77 Cell index (const octave_value_list& idx, bool resize_ok = false) const; 79 Cell index (const octave_value_list& idx, bool resize_ok = false) const;
78 80
79 Cell& delete_elements (const octave_value_list& idx); 81 using Array<octave_value>::delete_elements;
80 82
81 Cell& assign (const octave_value_list& idx, const Cell& rhs, 83 void delete_elements (const octave_value_list& idx);
82 const octave_value& fill_val = resize_fill_value ()); 84
85 using Array<octave_value>::assign;
86
87 void assign (const octave_value_list& idx, const Cell& rhs,
88 const octave_value& fill_val = resize_fill_value ());
83 89
84 Cell reshape (const dim_vector& new_dims) const 90 Cell reshape (const dim_vector& new_dims) const
85 { return Array<octave_value>::reshape (new_dims); } 91 { return Array<octave_value>::reshape (new_dims); }
86 92
87 octave_idx_type nnz (void) const; 93 octave_idx_type nnz (void) const;