Package Bio :: Package Mindy :: Module FlatDB :: Class MemoryFlatDB
[hide private]
[frames] | no frames]

Class MemoryFlatDB

source code

           BaseDB.WriteDB --+
                            |
BaseDB.DictLookup --+       |
                    |       |
        BaseDB.OpenDB --+   |
                        |   |
               BaseFlatDB --+
                            |
                           MemoryFlatDB

Instance Methods [hide private]
 
__init__(self, dbname) source code
 
add_record(self, filetag, startpos, length, table) source code
 
flush(self) source code
 
close(self) source code
 
__del__(self) source code
 
__getitem__(self, namespace)
return the database table lookup for the given namespace
source code

Inherited from BaseDB.WriteDB: add_filename, load

Inherited from BaseDB.OpenDB: keys, lookup

Inherited from BaseDB.DictLookup: get, items, values

Method Details [hide private]

__init__(self, dbname)
(Constructor)

source code 
Overrides: BaseDB.OpenDB.__init__

__getitem__(self, namespace)
(Indexing operator)

source code 

return the database table lookup for the given namespace

Overrides: BaseDB.DictLookup.__getitem__