Manages a database of persistent Crash objects, trying to avoid
duplicates.
|
|
__init__(self,
filename=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
|
|
|
|
|
|
bool
|
__contains__(self,
crash)
Returns:
True if the Crash object is in the container. |
|
|
|
iterator
|
|
|
int
|
__len__(self)
Returns:
Count of Crash elements in the container. |
|
|
|
bool
|
__bool__(self)
Returns:
False if the container is empty. |
|
|
|
bool
|
has_key(self,
key)
Returns:
True if a matching Crash object
is in the container. |
|
|
|
iterator
|
iterkeys(self)
Returns:
Iterator of the contained Crash object keys. |
|
|
|
iterator
|
|
|
|
add(self,
crash)
Adds a new crash to the container. |
|
|
|
|
remove(self,
crash)
Removes a crash from the container. |
|
|
|
Crash
object.
|
get(self,
key)
Retrieves a crash from the container. |
|
|
|
str
|
__marshall_key(self,
key)
Marshalls a Crash key to be used in the database. |
|
|
|
(opaque object)
|
|
|
str
|
__marshall_value(self,
value)
Marshalls a Crash object to be used in the database. |
|
|
|
Crash
|
|
|
Inherited from object:
__delattr__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__str__
|