diff 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
line wrap: on
line diff
--- a/src/Cell.h	Sun May 23 17:11:50 2010 -0700
+++ b/src/Cell.h	Mon May 24 12:41:43 2010 +0200
@@ -74,12 +74,18 @@
 
   Array<std::string> cellstr_value (void) const;
 
+  using Array<octave_value>::index;
+
   Cell index (const octave_value_list& idx, bool resize_ok = false) const;
 
-  Cell& delete_elements (const octave_value_list& idx);
+  using Array<octave_value>::delete_elements;
+
+  void delete_elements (const octave_value_list& idx);
 
-  Cell& assign (const octave_value_list& idx, const Cell& rhs,
-                const octave_value& fill_val = resize_fill_value ());
+  using Array<octave_value>::assign;
+
+  void assign (const octave_value_list& idx, const Cell& rhs,
+               const octave_value& fill_val = resize_fill_value ());
 
   Cell reshape (const dim_vector& new_dims) const
     { return Array<octave_value>::reshape (new_dims); }