Doxygen
Loading...
Searching...
No Matches
qhp.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 1997-2022 Dimitri van Heesch.
3 *
4 * Permission to use, copy, modify, and distribute this software and its
5 * documentation under the terms of the GNU General Public License is hereby
6 * granted. No representations are made about the suitability of this software
7 * for any purpose. It is provided "as is" without express or implied warranty.
8 * See the GNU General Public License for more details.
9 *
10 * Documents produced by Doxygen are derivative works derived from the
11 * input used in their production; they are not affected by this license.
12 */
13
14#ifndef QHP_H
15#define QHP_H
16
17#include <memory>
18
19#include "qcstring.h"
20#include "construct.h"
21#include "indexlist.h"
22
23class Definition;
24class MemberDef;
25
26class Qhp : public IndexIntf
27{
28 public:
29 Qhp();
32
33 void initialize();
34 void finalize();
35 void incContentsDepth();
36 void decContentsDepth();
37 void addContentsItem(bool isDir, const QCString & name, const QCString & ref,
38 const QCString & file, const QCString & anchor,
39 bool separateIndex,bool addToNavIndex,
40 const Definition *def);
41 void addIndexItem(const Definition *context, const MemberDef *md,
42 const QCString &sectionAnchor, const QCString &title);
43 void addIndexFile(const QCString & name);
44 void addImageFile(const QCString & name);
45 void addStyleSheetFile(const QCString & name);
46
47 static inline const QCString qhpFileName = "index.qhp";
48 static QCString getQchFileName();
49
50 private:
51 void addFile(const QCString &);
52 class Private;
53 std::unique_ptr<Private> p;
54};
55
56#endif // QHP_H
57
The common base class of all entity definitions found in the sources.
Definition definition.h:76
Abstract interface for index generators.
Definition indexlist.h:33
A model of a class/file/namespace member symbol.
Definition memberdef.h:48
This is an alternative implementation of QCString.
Definition qcstring.h:101
void addImageFile(const QCString &name)
Definition qhp.cpp:418
Qhp()
Definition qhp.cpp:196
void incContentsDepth()
Definition qhp.cpp:304
void addIndexFile(const QCString &name)
Definition qhp.cpp:413
void addStyleSheetFile(const QCString &name)
Definition qhp.cpp:423
static const QCString qhpFileName
Definition qhp.h:47
void decContentsDepth()
Definition qhp.cpp:309
void initialize()
Definition qhp.cpp:199
void addFile(const QCString &)
Definition qhp.cpp:408
void finalize()
Definition qhp.cpp:272
static QCString getQchFileName()
Definition qhp.cpp:428
void addContentsItem(bool isDir, const QCString &name, const QCString &ref, const QCString &file, const QCString &anchor, bool separateIndex, bool addToNavIndex, const Definition *def)
Definition qhp.cpp:314
std::unique_ptr< Private > p
Definition qhp.h:53
~Qhp()
void addIndexItem(const Definition *context, const MemberDef *md, const QCString &sectionAnchor, const QCString &title)
Definition qhp.cpp:369
#define NON_COPYABLE(cls)
Macro to help implementing the rule of 5 for a non-copyable & movable class.
Definition construct.h:37