Doxygen
Toggle main menu visibility
Loading...
Searching...
No Matches
qhp.h
Go to the documentation of this file.
1
/******************************************************************************
2
*
3
* Copyright (C) 1997-2026 by Dimitri van Heesch.
4
*
5
* Permission to use, copy, modify, and distribute this software and its
6
* documentation under the terms of the GNU General Public License is hereby
7
* granted. No representations are made about the suitability of this software
8
* for any purpose. It is provided "as is" without express or implied warranty.
9
* See the GNU General Public License for more details.
10
*
11
* Documents produced by Doxygen are derivative works derived from the
12
* input used in their production; they are not affected by this license.
13
*
14
*/
15
16
#ifndef QHP_H
17
#define QHP_H
18
19
#include <memory>
20
21
#include "
construct.h
"
22
#include "
dstring.h
"
23
#include "
indexlist.h
"
24
25
class
Definition
;
26
class
MemberDef
;
27
28
class
Qhp
final :
public
IndexIntf
29
{
30
public
:
31
Qhp
();
32
~Qhp
();
33
NON_COPYABLE
(
Qhp
)
34
35
void
initialize
();
36
void
finalize
();
37
void
incContentsDepth
();
38
void
decContentsDepth
();
39
void
addContentsItem
(
bool
isDir,
const
DString
& name,
const
DString
& ref,
40
const
DString
& file,
const
DString
& anchor,
41
bool
separateIndex,
bool
addToNavIndex,
42
const
Definition
*def,
const
DString
&);
43
void
addIndexItem
(
const
Definition
*context,
const
MemberDef
*md,
44
const
DString
§ionAnchor,
const
DString
&title);
45
void
addIndexFile
(
const
DString
& name);
46
void
addImageFile
(
const
DString
& name);
47
void
addStyleSheetFile
(
const
DString
& name);
48
49
static
inline
const
DString
qhpFileName
=
"index.qhp"
;
50
static
DString
getQchFileName
();
51
52
private
:
53
void
addFile
(
const
DString
&);
54
class
Private
;
55
std::unique_ptr<Private>
p
;
56
};
57
58
#endif
// QHP_H
59
DString
A String class for use with Doxygen wrapping std::string and adding some additional functionality off...
Definition
dstring.h:88
Definition
The common base class of all entity definitions found in the sources.
Definition
definition.h:77
IndexIntf
Abstract interface for index generators.
Definition
indexlist.h:34
MemberDef
A model of a class/file/namespace member symbol.
Definition
memberdef.h:45
Qhp::Private
Definition
qhp.cpp:153
Qhp::Qhp
Qhp()
Definition
qhp.cpp:197
Qhp::addIndexFile
void addIndexFile(const DString &name)
Definition
qhp.cpp:412
Qhp::incContentsDepth
void incContentsDepth()
Definition
qhp.cpp:305
Qhp::decContentsDepth
void decContentsDepth()
Definition
qhp.cpp:310
Qhp::initialize
void initialize()
Definition
qhp.cpp:200
Qhp::finalize
void finalize()
Definition
qhp.cpp:273
Qhp::p
std::unique_ptr< Private > p
Definition
qhp.h:55
Qhp::~Qhp
~Qhp()
Qhp::getQchFileName
static DString getQchFileName()
Definition
qhp.cpp:427
Qhp::addContentsItem
void addContentsItem(bool isDir, const DString &name, const DString &ref, const DString &file, const DString &anchor, bool separateIndex, bool addToNavIndex, const Definition *def, const DString &)
Definition
qhp.cpp:315
Qhp::addIndexItem
void addIndexItem(const Definition *context, const MemberDef *md, const DString §ionAnchor, const DString &title)
Definition
qhp.cpp:368
Qhp::addStyleSheetFile
void addStyleSheetFile(const DString &name)
Definition
qhp.cpp:422
Qhp::addFile
void addFile(const DString &)
Definition
qhp.cpp:407
Qhp::qhpFileName
static const DString qhpFileName
Definition
qhp.h:49
Qhp::addImageFile
void addImageFile(const DString &name)
Definition
qhp.cpp:417
construct.h
NON_COPYABLE
#define NON_COPYABLE(cls)
Macro to help implementing the rule of 5 for a non-copyable & movable class.
Definition
construct.h:37
dstring.h
indexlist.h
src
qhp.h
Generated by
1.19.0