cwvreg.py
changeset 7154 5e2f93b88d86
parent 7031 a04621040cad
child 7166 dde161937d3e
--- a/cwvreg.py	Thu Mar 31 15:23:50 2011 +0200
+++ b/cwvreg.py	Thu Mar 31 15:23:52 2011 +0200
@@ -312,6 +312,10 @@
         kwargs['clear'] = True
         super(ETypeRegistry, self).register(obj, **kwargs)
 
+    def iter_classes(self):
+        for etype in self.vreg.schema.entities():
+            yield self.etype_class(etype)
+
     @cached
     def parent_classes(self, etype):
         if etype == 'Any':