parameters: (self, dirdoc, parent)
docstring: Load Doxygen XML directory information for a single directory.
docstring_summary: Load Doxygen XML directory information for a single directory.
docstring_tokens: Load Doxygen XML directory information for a single directory .
function: def _load_dir(self, dirdoc, parent):
          """Load Doxygen XML directory information for a single directory."""
          path = dirdoc.get_path().rstrip('/')
          if not os.path.isabs(path):
              path = os.path.join(self._source_root, path)
          relpath = self._get_rel_path(path)
          dirobj = self._dirs.get(relpath)
          if not dirobj:
              dirobj = Directory(path, relpath, parent)
              self._dirs[relpath] = dirobj
          dirobj.set_doc_xml(dirdoc, self)
          self._docmap[dirdoc] = dirobj
          for subdirdoc in dirdoc.get_subdirectories():
              self._load_dir(subdirdoc, dirobj)
function_tokens: def _load_dir ( self , dirdoc , parent ) : path = dirdoc . get_path ( ) . rstrip ( '/' ) if not os . path . isabs ( path ) : path = os . path . join ( self . _source_root , path ) relpath = self . _get_rel_path ( path ) dirobj = self . _dirs . get ( relpath ) if not dirobj : dirobj = Directory ( path , relpath , parent ) self . _dirs [ relpath ] = dirobj dirobj . set_doc_xml ( dirdoc , self ) self . _docmap [ dirdoc ] = dirobj for subdirdoc in dirdoc . get_subdirectories ( ) : self . _load_dir ( subdirdoc , dirobj )