Class s.i.IDriverConstants(Interface):

Part of stoqdrivers.interfaces View In Hierarchy

This interface determines the methods to be implemented by all objects that wants didacte constant values for stoqdrivers devices drivers.
Method get_items Returns all the constant identifiers which this object has
Method get_value Given one of the constants defined on stoqdrivers.constants,
def get_items():
Returns all the constant identifiers which this object has values assigned to.
def get_value(constant):
Given one of the constants defined on stoqdrivers.constants, returns its value.
API Documentation for Stoqdrivers, generated by pydoctor at 2009-04-30 17:14:35.