Phoenix Logo

phoenix_title wx.lib.pubsub.core.topicdefnprovider.TopicDefnDeserialString

Deserialize a string containing Python source code defining a topic tree. The string has the same format as expected by TopicDefnDeserialModule.


class_hierarchy Class Hierarchy

Inheritance diagram for class TopicDefnDeserialString:

method_summary Methods Summary

__init__ This just saves the string into a temporary file created in
doneIter  
getDefinedTopics  
getNextTopic  
getTreeDoc  
resetIter  

api Class API



class TopicDefnDeserialString(ITopicDefnDeserializer)

Deserialize a string containing Python source code defining a topic tree. The string has the same format as expected by TopicDefnDeserialModule.


Methods



__init__(self, source)

This just saves the string into a temporary file created in os.getcwd(), and the rest is delegated to TopicDefnDeserialModule. The temporary file (module – as well as its byte-compiled version) will be deleted when the doneIter() method is called.



doneIter(self)


getDefinedTopics(self)


getNextTopic(self)


getTreeDoc(self)


resetIter(self)