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