diff commons/pyRepetUnit/profilesDB/ProfilesDatabank.py @ 31:0ab839023fe4

Uploaded
author m-zytnicki
date Tue, 30 Apr 2013 14:33:21 -0400
parents 94ab73e8a190
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/commons/pyRepetUnit/profilesDB/ProfilesDatabank.py	Tue Apr 30 14:33:21 2013 -0400
@@ -0,0 +1,22 @@
+class ProfilesDatabank:
+    
+    """
+    List of profiles objects.
+    """
+    
+    list;
+    
+    def __init__( self ):
+        self._profilesDatabank = []
+    
+    def append( self, list ):
+       self._profilesDatabank.append(list)
+       
+    def len (self):
+        return len(self._profilesDatabank)
+    
+    def get(self, index):
+        return self._profilesDatabank[index]
+    
+    def getList(self):
+        return self._profilesDatabank
\ No newline at end of file