Package pybaz :: Class CategoryIterable
[frames | no frames]

Type CategoryIterable

     object --+                
              |                
NamespaceObject --+            
                  |            
   RevisionIterable --+        
                      |        
        VersionIterable --+    
                          |    
             BranchIterable --+
                              |
                             CategoryIterable

Known Subclasses:
Archive

Base class for Archive.

CategoryIterable provides features for the aspect of Archive wich relates to its containing other archive objects.


Method Summary

iterable of Branch

iter_branches(self)
Iterate over archive branches.

iterable of Category

iter_categories(self)
Iterate over archive categories.

iterable of Branch

iter_library_branches(self)
Iterate over library branches.

iterable of Category

iter_library_categories(self)
Iterate over library categories.
    Inherited from BranchIterable

iterable of Version

iter_library_versions(self, reverse)
Iterate over library revisions.

iterable of Version

iter_versions(self, reverse)
Iterate over archive versions.
    Inherited from VersionIterable

iterable of Revision

iter_library_revisions(self, reverse)
Iterate over library revisions.

iterable of Revision

iter_revisions(self, reverse)
Iterate over archive revisions.
    Inherited from NamespaceObject

bool

__eq__(self, x)
Compare types and fully-qualified names.

bool

__ne__(self, x)
Compare types and fully-qualified names.

str

__repr__(self)
Fully-qualified name in angle brackets.

str

__str__(self)
Fully-qualified name.

bool

exists(self)
Does this namespace exists?

str

get_fullname(self)
Deprecated
    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
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value

Property Summary
    Inherited from NamespaceObject

str

fullname: Fully qualfied name of this namespace object.

Method Details

iter_branches(self)

Iterate over archive branches.

Returns:

all existing branches in this namespace.


           (type=

iterable of Branch

)
Overrides:
pybaz.BranchIterable.iter_branches (inherited documentation)

Precondition:

self.exists() returns True.

iter_categories(self)

Iterate over archive categories.

Returns:

all existing categories in this namespace.


           (type=

iterable of Category

)

Precondition:

self.exists() returns True.

iter_library_branches(self)

Iterate over library branches.

Returns:

branches in this namespace which are present in the revision library.


           (type=

iterable of Branch

)
Overrides:
pybaz.BranchIterable.iter_library_branches (inherited documentation)

iter_library_categories(self)

Iterate over library categories.

Returns:

categories in this namespace which are present in the revision library.


           (type=

iterable of Category

)

Generated by Epydoc 2.1 on Fri Jul 7 17:05:36 2006 http://epydoc.sf.net