Module CrossReference: simple support for cross-references

simple support for cross-references

class APSpy.cross_ref.CrossReference(name='CrossReferenceList')[source]

maintain a dictionary of cross-references

add(key, value)[source]

add key = value to the cross-reference dictionary

get(key)[source]

return the value of a specific key

get_keys()[source]

return the list of keys

get_keys_dict()[source]

return the xref dict

get_keys_enum()[source]

return a typesafe enum of the keys and values

This is equivalent to defining a class named with the value of self.name.

See :http://docs.python.org/2/library/functions.html#type
get_values()[source]

return the list of values

Previous topic

Module GE: GE Image processing

Next topic

Module motor: (internal) motor support classes

This Page