changeset 1811:3031937966fb

[project @ 1996-01-29 07:30:21 by jwe]
author jwe
date Mon, 29 Jan 1996 07:30:21 +0000
parents f988f753ab52
children 45397129526e
files liboctave/str-vec.h
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/liboctave/str-vec.h
+++ b/liboctave/str-vec.h
@@ -24,6 +24,8 @@
 #if !defined (octave_str_vec_h)
 #define octave_str_vec_h 1
 
+class ostream;
+
 #include <string>
 
 #include "Array.h"
@@ -52,7 +54,7 @@
 
   ~string_vector (void) { }
 
-  int empty (void) { return length () == 0; }
+  int empty (void) const { return length () == 0; }
 
   int max_length (void) const
     {
@@ -79,6 +81,8 @@
       Array<string>::qsort (str_vec_compare);
       return *this;
     }
+
+  ostream& list_in_columns (ostream&) const;
 };
 
 #endif