Package Pootle :: Package storage :: Module api :: Class IHeader
[show private | hide private]
[frames | no frames]

Type IHeader

object --+        
         |        
 Interface --+    
             |    
      IMapping --+
                 |
                IHeader


Information about a translation store (maps to a .po header).

Behaves like an ordered dictionary: keys() should return an ordered list. New entries are added at the end. Insertion is not provided (if needed, the header can be recreated).
Method Summary
    Inherited from IMapping
  __delitem__(self, key)
Delete key from container.
  __getitem__(self, key)
Get object by key.
  __len__(self)
Return length of store.
  add(self, key)
Create a new object, add it to this container and return it.
  get(self, key, default)
Get object by key, return None if not found.
  items(self)
Return list of tuples (key, value).
  itervalues(self)
Return iterator over values.
  keys(self)
Return list of object keys.
  values(self)
Return list of object values.
    Inherited from object
  __init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
  __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
NoneType store = None                                                                  

Class Variable Details

store

Type:
NoneType
Value:
None                                                                  

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