]> git.donarmstrong.com Git - lilypond.git/blobdiff - flower/include/parray.hh
Run `make grand-replace'.
[lilypond.git] / flower / include / parray.hh
index ed120740558fa0cd1ceda63bb8ecfa24cabae87e..619532bbed690abc16190bf9a05987f7c2c08f8a 100644 (file)
@@ -3,32 +3,21 @@
 
   source file of the Flower Library
 
-  (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
+  (c) 1997--2008 Han-Wen Nienhuys <hanwen@xs4all.nl>
 */
 
-
 #ifndef PARRAY_HH
 #define PARRAY_HH
 
-#include "varray.hh"
+#include "std-vector.hh"
+
+using namespace std;
 
 template<class T>
-class Pointer_array : public Array<T>
+class Link_array : public vector<T *>
 {
-public:
-    int find_i (T t) const{
-       for (int i=0; i < size(); i++)
-           if (elem(i) == t)
-               return i;
-       return -1;
-    }
-    T find_l(T t)const
-    {
-       int i = find_i(t);
-       if (i >= 0)
-           return elem(i);
-       else
-           return 0;
-    }
+  
 };
+
 #endif // PARRAY_HH
+