| Trees | Indices | Help |
|
|---|
|
|
Maintains a dictionary of dictionaries, indexed by the type converted FROM which maps to a list of types that can be converted TO
An example statically constructed conversion dictionary is:
self.convertables = {
"from1" :
{
"to1":from1_to_to1_converter,
"to2":from1_to_to2_converter
},
"from2" :
{
"to3":from2_to_to3_converter,
"to1":from2_to_to1_converter
},
"from3" :
{
"to5":from3_to_to5_converter
}
}
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
dict of dicts, see description in conduit.TypeConverter.TypeConverter
|
convertables The name of the contained module |
||
|
|||
|
|
Returns the conversions required fromtype -> totype. Considers if fromtype and/or totype are super/subclasses of each other. The args string is always taken from the destination, i.e. the totype. Does not check if the conversion actually exists.
|
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0beta1 on Sat Aug 2 22:18:16 2008 | http://epydoc.sourceforge.net |