comparison commons/pyRepetUnit/profilesDB/ProfilesDatabank.py @ 18:94ab73e8a190

Uploaded
author m-zytnicki
date Mon, 29 Apr 2013 03:20:15 -0400
parents
children
comparison
equal deleted inserted replaced
17:b0e8584489e6 18:94ab73e8a190
1 class ProfilesDatabank:
2
3 """
4 List of profiles objects.
5 """
6
7 list;
8
9 def __init__( self ):
10 self._profilesDatabank = []
11
12 def append( self, list ):
13 self._profilesDatabank.append(list)
14
15 def len (self):
16 return len(self._profilesDatabank)
17
18 def get(self, index):
19 return self._profilesDatabank[index]
20
21 def getList(self):
22 return self._profilesDatabank