1849 QDir xmlDir(outputDirectory);
1858 err(
"Cannot open file %s for writing!\n",fileName.
data());
1864 const char *startLine = compound_xsd.
data();
1868 const char *endLine = startLine+1;
1869 while (*endLine && *(endLine-1)!=
'\n') endLine++;
1870 int len=endLine-startLine;
1876 if (s.find(
"<!-- Automatically insert here the HTML entities -->")!=-1)
1883 f.writeBlock(startLine,len);
1890 fileName=outputDirectory+
"/index.xml";
1891 f.setName(fileName);
1894 err(
"Cannot open file %s for writing!\n",fileName.
data());
1901 t <<
"<?xml version='1.0' encoding='UTF-8' standalone='no'?>" <<
endl;;
1902 t <<
"<doxygenindex xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" ";
1903 t <<
"xsi:noNamespaceSchemaLocation=\"index.xsd\" ";
1909 for (
cli.toFirst();(cd=
cli.current());++
cli)
1925 for (nli.toFirst();(nd=nli.current());++nli)
1927 msg(
"Generating XML output for namespace %s\n",nd->
name().
data());
1932 for (;(fn=fnli.current());++fnli)
1936 for (;(fd=fni.current());++fni)
1938 msg(
"Generating XML output for file %s\n",fd->
name().
data());
1944 for (;(gd=gli.current());++gli)
1946 msg(
"Generating XML output for group %s\n",gd->
name().
data());
1952 for (pdi.toFirst();(pd=pdi.current());++pdi)
1954 msg(
"Generating XML output for page %s\n",pd->
name().
data());
1961 for (sdi.toFirst();(dir=sdi.current());++sdi)
1963 msg(
"Generate XML output for dir %s\n",dir->
name().
data());
1970 for (pdi.toFirst();(pd=pdi.current());++pdi)
1972 msg(
"Generating XML output for example %s\n",pd->
name().
data());
1978 msg(
"Generating XML output for the main page\n");
1983 t <<
"</doxygenindex>" <<
endl;
Traverses directory structures and contents in a platform-independent way.
static GroupSDict * groupSDict
QCString getAsString(const char *name) const
char * qstrncpy(char *dst, const char *src, uint len)
void writeXMLSchema(FTextStream &t)
static PageSDict * exampleSDict
void msg(const char *fmt,...)
static FileNameList * inputNameList
bool copyResource(const char *name, const char *targetDir) const
static ResourceMgr & instance()
static HtmlEntityMapper * instance()
Simplified and optimized version of QTextStream.
static void generateXMLForGroup(GroupDef *gd, FTextStream &ti)
static void generateXMLForDir(DirDef *dd, FTextStream &ti)
static NamespaceSDict * namespaceSDict
const QCString & name() const
static DirSDict * directories
static PageSDict * pageSDict
const char * data() const
#define Config_getString(val)
void err(const char *fmt,...)
static void generateXMLForNamespace(NamespaceDef *nd, FTextStream &ti)
static void generateXMLForClass(ClassDef *cd, FTextStream &ti)
The QFile class is an I/O device that operates on files.
static void generateXMLForPage(PageDef *pd, FTextStream &ti, bool isExample)
static void generateXMLForFile(FileDef *fd, FTextStream &ti)
A model of a page symbol.
void createSubDirs(QDir &d)
static ClassSDict * classSDict
static PageDef * mainPage
static void writeCombineScript()
QTextStream & endl(QTextStream &s)