| Trees | Indices | Help |
|
|---|
|
|
An example showing how to convert data from one type to another
If you define your own DataType then you should define one or more converter (methods) for it, because it is likely that other DataSources, such as the ones that ship with conduit will not know how to deal with the new DataType.
|
|||
|
|||
|
|||
|
|||
|
self.conversions A dictionary mapping conversions to functions which perform the conversion |
|||
|
|||
Fills out the required
self.conversions = {
"from_type_name,to_type_name" : convert_function
}
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0beta1 on Sat Aug 2 22:18:11 2008 | http://epydoc.sourceforge.net |