LASP 1.0
Library for Acoustic Signal Processing
Loading...
Searching...
No Matches
lasp.lasp_common.Shelve Class Reference
Inheritance diagram for lasp.lasp_common.Shelve:

Public Member Functions

 load (self, key, default_value)
 Load data from a given key, if key is not found, returns the default value if key is not found.
 
 __enter__ (self)
 
 store (self, key, val)
 
 deleteIfPresent (self, key)
 
 printAllKeys (self)
 
 incref (self)
 
 decref (self)
 
 __exit__ (self, type, value, traceback)
 

Public Attributes

 refcount
 
 shelve
 

Detailed Description

Definition at line 201 of file lasp_common.py.

Member Function Documentation

◆ __enter__()

lasp.lasp_common.Shelve.__enter__ (   self)

Definition at line 212 of file lasp_common.py.

◆ __exit__()

lasp.lasp_common.Shelve.__exit__ (   self,
  type,
  value,
  traceback 
)

Definition at line 240 of file lasp_common.py.

◆ decref()

lasp.lasp_common.Shelve.decref (   self)

Definition at line 234 of file lasp_common.py.

◆ deleteIfPresent()

lasp.lasp_common.Shelve.deleteIfPresent (   self,
  key 
)

Definition at line 219 of file lasp_common.py.

◆ incref()

lasp.lasp_common.Shelve.incref (   self)

Definition at line 228 of file lasp_common.py.

◆ load()

lasp.lasp_common.Shelve.load (   self,
  key,
  default_value 
)

Load data from a given key, if key is not found, returns the default value if key is not found.

Definition at line 202 of file lasp_common.py.

◆ printAllKeys()

lasp.lasp_common.Shelve.printAllKeys (   self)

Definition at line 225 of file lasp_common.py.

◆ store()

lasp.lasp_common.Shelve.store (   self,
  key,
  val 
)

Definition at line 216 of file lasp_common.py.

Member Data Documentation

◆ refcount

lasp.lasp_common.Shelve.refcount

◆ shelve


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