Mercurial > repos > yufei-luo > s_mart
diff commons/pyRepetUnit/profilesDB/ProfilesDatabank.py @ 18:94ab73e8a190
Uploaded
author | m-zytnicki |
---|---|
date | Mon, 29 Apr 2013 03:20:15 -0400 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/commons/pyRepetUnit/profilesDB/ProfilesDatabank.py Mon Apr 29 03:20:15 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