view 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 source

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