Classes | Functions
filedef.h File Reference
#include "index.h"
#include <qlist.h>
#include <qintdict.h>
#include <qdict.h>
#include "definition.h"
#include "sortdict.h"
#include "memberlist.h"

Go to the source code of this file.

Classes

struct  IncludeInfo
 
class  FileDef
 
class  FileList
 
class  OutputNameList
 
class  OutputNameDict
 
class  DirEntry
 
class  Directory
 

Functions

void generateFileTree ()
 

Function Documentation

void generateFileTree ( )

Definition at line 1664 of file filedef.cpp.

1665 {
1666  Directory *root=new Directory(0,"root");
1667  root->setLast(TRUE);
1669  FileName *fn;
1670  for (fnli.toFirst();(fn=fnli.current());++fnli)
1671  {
1672  FileNameIterator fni(*fn);
1673  FileDef *fd;
1674  for (;(fd=fni.current());++fni)
1675  {
1676  mergeFileDef(root,fd);
1677  }
1678  }
1679  //t << "<div class=\"directory\">\n";
1680  //writeDirTreeNode(t,root,0);
1681  //t << "</div>\n";
1682  addDirsAsGroups(root,0,0);
1683  delete root;
1684 }
static FileNameList * inputNameList
Definition: doxygen.h:109
QAsciiDict< Entry > fn
void setLast(bool b)
Definition: filedef.h:290
static void addDirsAsGroups(Directory *root, GroupDef *parent, int level)
Definition: filedef.cpp:1633
static void mergeFileDef(Directory *root, FileDef *fd)
Definition: filedef.cpp:1542
const bool TRUE
Definition: qglobal.h:371