Mercurial > repos > yufei-luo > s_mart
annotate commons/pyRepetUnit/profilesDB/ProfilesDatabank.py @ 18:94ab73e8a190
Uploaded
author | m-zytnicki |
---|---|
date | Mon, 29 Apr 2013 03:20:15 -0400 |
parents | |
children |
rev | line source |
---|---|
18 | 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 |