#include <src/sitemap.h>
|
| Sitemap () |
|
| ~Sitemap () |
|
void | initialize () |
|
void | finalize () |
|
void | incContentsDepth () |
|
void | decContentsDepth () |
|
void | addContentsItem (bool isDir, const QCString &name, const QCString &ref, const QCString &file, const QCString &anchor, bool separateIndex, bool addToNavIndex, const Definition *def) |
|
void | addIndexItem (const Definition *context, const MemberDef *md, const QCString §ionAnchor, const QCString &title) |
|
void | addIndexFile (const QCString &name) |
|
void | addImageFile (const QCString &name) |
|
void | addStyleSheetFile (const QCString &name) |
|
Definition at line 26 of file sitemap.h.
◆ Sitemap()
Definition at line 43 of file sitemap.cpp.
43:
p(std::make_unique<Private>()) {}
std::unique_ptr< Private > p
References p.
Referenced by ~Sitemap().
◆ ~Sitemap()
◆ addContentsItem()
◆ addImageFile()
void Sitemap::addImageFile |
( |
const QCString & | name | ) |
|
|
inlinevirtual |
◆ addIndexFile()
void Sitemap::addIndexFile |
( |
const QCString & | name | ) |
|
|
virtual |
◆ addIndexItem()
◆ addStyleSheetFile()
void Sitemap::addStyleSheetFile |
( |
const QCString & | name | ) |
|
|
inlinevirtual |
◆ decContentsDepth()
void Sitemap::decContentsDepth |
( |
| ) |
|
|
inlinevirtual |
◆ finalize()
void Sitemap::finalize |
( |
| ) |
|
|
virtual |
◆ incContentsDepth()
void Sitemap::incContentsDepth |
( |
| ) |
|
|
inlinevirtual |
◆ initialize()
void Sitemap::initialize |
( |
| ) |
|
|
virtual |
Implements IndexIntf.
Definition at line 46 of file sitemap.cpp.
47{
49
51 if (!
p->docFile.is_open())
52 {
53 term(
"Could not open file %s for writing\n",
qPrint(fileName));
54 }
55 p->doc.setStream(&
p->docFile);
56
57 p->doc <<
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n";
58 p->doc <<
"<urlset\n";
59 p->doc <<
" xmlns=\"http://www.sitemaps.org/schemas/sitemap/0.9\"\n";
60 p->doc <<
" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n";
61 p->doc <<
" xsi:schemaLocation=\"http://www.sitemaps.org/schemas/sitemap/0.9\n";
62 p->doc <<
" http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd\">\n";
63}
static const QCString sitemapFileName
std::ofstream openOutputStream(const QCString &name, bool append=false)
const char * qPrint(const char *s)
References Config_getString, Portable::openOutputStream(), p, qPrint(), sitemapFileName, and term.
std::unique_ptr<Private> Sitemap::p |
|
private |
◆ sitemapFileName
const QCString Sitemap::sitemapFileName = "sitemap.xml" |
|
inlinestatic |
The documentation for this class was generated from the following files: