Logo Search packages:      
Sourcecode: python-biopython version File versions

Bio::config::DBRegistry::DBObject Class Reference

Inheritance diagram for Bio::config::DBRegistry::DBObject:

Bio::config::Registry::RegisterableObject Bio::config::DBRegistry::BioCorbaDB Bio::config::DBRegistry::BioSQLDB Bio::config::DBRegistry::CGIDB Bio::config::DBRegistry::EUtilsDB Bio::config::DBRegistry::IndexedFileDB

List of all members.


Detailed Description

This is a base class for dictionary-like interfaces to
databases.

Methods:
get                  Lookup a key in a database, with a default value.
get_as               Lookup a key and convert to an object.
__getitem__          Lookup a key in a database.

    THE FOLLOWING SHOULD BE IMPLEMENTED IN A DERIVED CLASS.
_get                 Return the data indicated by key.
_convert_to          Convert the data to another object.
    IMPLEMENT THESE ONLY IF TIMEOUT OR CONCURRENT ACCESS IS NEEDED.
_make_pickleable     Make the object returned by _get to a pickleable.
_unmake_pickleable   Turn the pickleable object back into the original

Definition at line 40 of file DBRegistry.py.


Public Member Functions

def __getitem__
def __init__
def __init__
def get
def get_as
def set

Public Attributes

 abbrev
 name

Private Member Functions

def _convert_to
def _get
def _make_pickleable
def _set
def _unmake_pickleable

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index