Package Pyblio :: Module Store :: Class TxoGroup
[show private | hide private]
[frames | no frames]

Type TxoGroup

object --+
         |
        TxoGroup

Known Subclasses:
TxoGroup, TxoGroup

Definition of a group of Txo items. Items in such a group can be accessed with a numeric key as a dictionnary, but also with logical names.

DERIVED BY ALL STORES
Method Summary
  __delitem__(self, k)
  __getitem__(self, k)
  __iter__(self, k)
  __setitem__(self, k)
  add(self, item, key)
  byname(self, name)
Return the TxoItem whose name in the 'C' language is passed as parameter.
  expand(self, k)
Return a txo and all its children
  keys(self)
  values(self)
  xmlwrite(self, fd)
  _reverse(self)
Create the reversed taxonomy tree
    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)

Method Details

byname(self, name)

Return the TxoItem whose name in the 'C' language is passed as parameter. This 'C' language is meant to be the name used by programs, rather than people.

expand(self, k)

Return a txo and all its children

_reverse(self)

Create the reversed taxonomy tree

Generated by Epydoc 2.1 on Wed Feb 15 23:19:37 2006 http://epydoc.sf.net