The Python Dictionary Class

The Dictionary class represents the database dictionary created from the schema definition. Instances of this class are not created directly but rather using the load_dictionary() method. The class has no methods but the following three properties that can be used to access the internal type information:

classes

Show the classes defined in this database. For example:

 
    >>>print dict.classes.keys()
     
structs

Show the structs defined in this database. For example:

 
    >>>print dict.structs.keys()

 
indexes

Show the indexes defined in this database. For example:

 
    >>>print dict.indexes.keys()