Index of sqlobject.classregistry module

#

# Index of the `classregistry` module

- m `sqlobject.classregistry` ... -
  classresolver.py
    2 February 2004, Ian Bicking <ianb@colorstudy.com>
  - a `__package__` ...
  - a `MasterRegistry` ...
  - C `ClassRegistry` ... - We'll be dealing with classes that reference each other, so class C1 may reference C2 (in a join), while C2 references C1 right back. Since classes are created in an order, there will be a point when C1 exists but C2 doesn't. So we deal with classes by name, and after each class is created we try to fix up any references by replacing the names with actual classes.
    - f `addClassCallback` ... - Whenever a name is substituted for the class, you can register a callback that will be called when the needed class is created. If it's already been created, the callback will be called immediately.
    - f `getClass` ...
    - f `allClasses` ...
    - f `addCallback` ... - This callback is called for all classes, not just specific ones (like addClassCallback).
    - f `__init__` ...
    - f `addClass` ... - Everytime a class is created, we add it to the registry, so that other classes can find it by name. We also call any callbacks that are waiting for the class.
  - f `registry` ...
  - f `findClass` ...