parameters: (self, topicObj, how=DEPTH, onlyFiltered=True)
docstring: Start traversing tree at topicObj. Note that topicObj is a
          Topic object, not a topic name. The how defines if tree should
          be traversed breadth or depth first. If onlyFiltered is
          False, then all nodes are accepted (_accept(node) not called).
  
          This method can be called multiple times.
docstring_summary: Start traversing tree at topicObj. Note that topicObj is a
          Topic object, not a topic name. The how defines if tree should
          be traversed breadth or depth first. If onlyFiltered is
          False, then all nodes are accepted (_accept(node) not called).
docstring_tokens: Start traversing tree at topicObj . Note that topicObj is a Topic object not a topic name . The how defines if tree should be traversed breadth or depth first . If onlyFiltered is False then all nodes are accepted ( _accept ( node ) not called ) .
function: def traverse(self, topicObj, how=DEPTH, onlyFiltered=True):
          """Start traversing tree at topicObj. Note that topicObj is a
          Topic object, not a topic name. The how defines if tree should
          be traversed breadth or depth first. If onlyFiltered is
          False, then all nodes are accepted (_accept(node) not called).
  
          This method can be called multiple times.
          """
          if how == self.MAP:
              raise NotImplementedError('not yet available')
  
          self.__handler._startTraversal()
  
          if how == self.BREADTH:
              self.__traverseBreadth(topicObj, onlyFiltered)
          else: 
              assert how == self.DEPTH
              self.__traverseDepth(topicObj, onlyFiltered)
  
          self.__handler._doneTraversal()
function_tokens: def traverse ( self , topicObj , how = DEPTH , onlyFiltered = True ) : if how == self . MAP : raise NotImplementedError ( 'not yet available' ) self . __handler . _startTraversal ( ) if how == self . BREADTH : self . __traverseBreadth ( topicObj , onlyFiltered ) else : assert how == self . DEPTH self . __traverseDepth ( topicObj , onlyFiltered ) self . __handler . _doneTraversal ( )