Package Pootle :: Package storage :: Module standard :: Class AnnotationFileContainer
[show private | hide private]
[frames | no frames]

Type AnnotationFileContainer

     object --+    
              |    
AbstractMapping --+
                  |
                 AnnotationFileContainer


A catalog of annotations stored in a file.

TODO: Currently the annotation dictionary is pickled into the file. A more transparent format would be better.
Method Summary
  __init__(self, path)
  __delitem__(self, key)
  __getitem__(self, key)
  _save(self)
  add(self, key, content)
  keys(self)
    Inherited from AbstractMapping
  __len__(self)
  get(self, key, default)
  items(self)
  itervalues(self)
  values(self)
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __repr__(x)
x.__repr__() <==> repr(x)
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
x.__str__() <==> str(x)

Class Variable Summary
type _interface = Pootle.storage.api.IMapping

Generated by Epydoc 2.1 on Tue Aug 22 04:29:45 2006 http://epydoc.sf.net