[PD-cvs] externals/PDContainer/include ContainerBase.h,1.1.1.1,1.2 GlobalStuff.h,1.2,1.3 HDeque.h,1.1.1.1,1.2 HSet.h,1.1.1.1,1.2 HVector.h,1.1.1.1,1.2 QueueStack.h,1.1.1.1,1.2 SequBase.h,1.1.1.1,1.2

Georg Holzmann grholzi at users.sourceforge.net
Fri Oct 29 13:56:16 CEST 2004


Update of /cvsroot/pure-data/externals/PDContainer/include
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21883/include

Modified Files:
	ContainerBase.h GlobalStuff.h HDeque.h HSet.h HVector.h 
	QueueStack.h SequBase.h 
Log Message:
some minor changes


Index: SequBase.h
===================================================================
RCS file: /cvsroot/pure-data/externals/PDContainer/include/SequBase.h,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** SequBase.h	25 Oct 2004 19:02:30 -0000	1.1.1.1
--- SequBase.h	29 Oct 2004 11:56:13 -0000	1.2
***************
*** 65,73 ****
      {  data_[h_namespace_].resize(size);  }
  
-   /* get the size of the sequence
-    */
-   virtual int getSize() const
-     {  return data_[h_namespace_].size();  }
- 
    /* inserts an element at the end of 
     * the container (so then the size
--- 65,68 ----

Index: GlobalStuff.h
===================================================================
RCS file: /cvsroot/pure-data/externals/PDContainer/include/GlobalStuff.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** GlobalStuff.h	26 Oct 2004 16:29:12 -0000	1.2
--- GlobalStuff.h	29 Oct 2004 11:56:13 -0000	1.3
***************
*** 31,37 ****
  using std::endl;
  
- #ifdef NT
- using namespace std; // DEBUG
- #endif
  
  // current version
--- 31,34 ----

Index: QueueStack.h
===================================================================
RCS file: /cvsroot/pure-data/externals/PDContainer/include/QueueStack.h,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** QueueStack.h	25 Oct 2004 19:02:30 -0000	1.1.1.1
--- QueueStack.h	29 Oct 2004 11:56:13 -0000	1.2
***************
*** 55,77 ****
    virtual void pop()
      {  data_[h_namespace_].pop();  }
- 
-   /* get the size of the sequence
-    */
-   virtual int getSize() const
-     {  return data_[h_namespace_].size();  }
- 
-   /* not possible
-    */
-   virtual void printAll() { }
- 
-   /* not possible
-    */
-   virtual bool saveToFile(string filename)
-     { return true; } 
- 
-   /* not possible
-    */
-   virtual bool readFromFile(string filename)
-     { return true; } 
  };
  
--- 55,58 ----

Index: HVector.h
===================================================================
RCS file: /cvsroot/pure-data/externals/PDContainer/include/HVector.h,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** HVector.h	25 Oct 2004 19:02:30 -0000	1.1.1.1
--- HVector.h	29 Oct 2004 11:56:13 -0000	1.2
***************
*** 57,67 ****
      }
  
-   HVector(string h_namespace, int size)
-     {
-       dataname_ = "h_vector";
-       setNamespace(h_namespace);
-       resize(size);
-     }
- 
    /* Destructor
     */
--- 57,60 ----

Index: ContainerBase.h
===================================================================
RCS file: /cvsroot/pure-data/externals/PDContainer/include/ContainerBase.h,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** ContainerBase.h	25 Oct 2004 19:02:30 -0000	1.1.1.1
--- ContainerBase.h	29 Oct 2004 11:56:13 -0000	1.2
***************
*** 102,118 ****
      { data_.clear(); }
  
!   /* prints all the data of the current namespace to the console
!    */
!   virtual void printAll() = 0;
! 
!   /* saves all the data of the current namespace to a file
!    * returns true on success
!    */
!   virtual bool saveToFile(string filename) = 0;
! 
!   /* adds the data of the file to the current namespace
!    * returns true on success
     */
!   virtual bool readFromFile(string filename) = 0;
  };
  
--- 102,109 ----
      { data_.clear(); }
  
!   /* get the size of the container
     */
!   virtual int getSize() const
!     {  return data_[h_namespace_].size();  }
  };
  

Index: HSet.h
===================================================================
RCS file: /cvsroot/pure-data/externals/PDContainer/include/HSet.h,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** HSet.h	25 Oct 2004 19:02:30 -0000	1.1.1.1
--- HSet.h	29 Oct 2004 11:56:13 -0000	1.2
***************
*** 76,80 ****
     */
    virtual void remove(const Element &key) const
!       {  data_[h_namespace_].erase(key);  }
  };
  
--- 76,80 ----
     */
    virtual void remove(const Element &key) const
!     {  data_[h_namespace_].erase(key);  }
  };
  

Index: HDeque.h
===================================================================
RCS file: /cvsroot/pure-data/externals/PDContainer/include/HDeque.h,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** HDeque.h	25 Oct 2004 19:02:30 -0000	1.1.1.1
--- HDeque.h	29 Oct 2004 11:56:13 -0000	1.2
***************
*** 57,67 ****
      }
  
-   HDeque(string h_namespace, int size)
-     {
-       dataname_ = "h_deque";
-       setNamespace(h_namespace);
-       resize(size);
-     }
- 
    /* Destructor
     */
--- 57,60 ----





More information about the Pd-cvs mailing list