Doxygen
Toggle main menu visibility
Loading...
Searching...
No Matches
docsets.h
Go to the documentation of this file.
1
/******************************************************************************
2
*
3
* Copyright (C) 1997-2021 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 DOCSETS_H
17
#define DOCSETS_H
18
19
#include <memory>
20
21
#include "
indexlist.h
"
22
#include "
qcstring.h
"
23
#include "
construct.h
"
24
25
class
TextStream
;
26
27
class
Definition
;
28
class
MemberDef
;
29
30
/** A class that generates docset files.
31
*
32
* These files can be used to create context help
33
* for use within Apple's Xcode 3.0 development environment
34
*/
35
class
DocSets
:
public
IndexIntf
36
{
37
public
:
38
DocSets
();
39
~DocSets
();
40
NON_COPYABLE
(
DocSets
)
41
42
void
initialize
();
43
void
finalize
();
44
void
incContentsDepth
();
45
void
decContentsDepth
();
46
void
addContentsItem
(
bool
isDir,
47
const
QCString
&name,
48
const
QCString
&ref,
49
const
QCString
&file,
50
const
QCString
&anchor,
51
bool
separateIndex,
52
bool
addToNavIndex,
53
const
Definition
*def,
54
const
QCString
&nameAsHtml
55
);
56
void
addIndexItem
(
const
Definition
*context,
const
MemberDef
*md,
57
const
QCString
§ionAnchor,
const
QCString
&title);
58
void
addIndexFile
(
const
QCString
&name);
59
void
addImageFile
(
const
QCString
&) {}
60
void
addStyleSheetFile
(
const
QCString
&) {}
61
62
private
:
63
void
writeToken
(
TextStream
&t,
const
Definition
*d,
64
const
QCString
&type,
const
QCString
&lang,
65
const
QCString
&scope=
QCString
(),
const
QCString
&anchor=
QCString
(),
66
const
QCString
&decl=
QCString
());
67
struct
Private;
68
std::unique_ptr<Private>
p
;
69
70
};
71
72
#endif
/* DOCSETS_H */
73
Definition
The common base class of all entity definitions found in the sources.
Definition
definition.h:77
DocSets::writeToken
void writeToken(TextStream &t, const Definition *d, const QCString &type, const QCString &lang, const QCString &scope=QCString(), const QCString &anchor=QCString(), const QCString &decl=QCString())
Definition
docsets.cpp:466
DocSets::decContentsDepth
void decContentsDepth()
Definition
docsets.cpp:214
DocSets::addContentsItem
void addContentsItem(bool isDir, const QCString &name, const QCString &ref, const QCString &file, const QCString &anchor, bool separateIndex, bool addToNavIndex, const Definition *def, const QCString &nameAsHtml)
Definition
docsets.cpp:225
DocSets::incContentsDepth
void incContentsDepth()
Definition
docsets.cpp:207
DocSets::addIndexItem
void addIndexItem(const Definition *context, const MemberDef *md, const QCString §ionAnchor, const QCString &title)
Definition
docsets.cpp:273
DocSets::p
std::unique_ptr< Private > p
Definition
docsets.h:68
DocSets::initialize
void initialize()
Definition
docsets.cpp:47
DocSets::finalize
void finalize()
Definition
docsets.cpp:181
DocSets::~DocSets
~DocSets()
DocSets::DocSets
DocSets()
Definition
docsets.cpp:44
DocSets::addIndexFile
void addIndexFile(const QCString &name)
Definition
docsets.cpp:511
DocSets::addImageFile
void addImageFile(const QCString &)
Definition
docsets.h:59
DocSets::addStyleSheetFile
void addStyleSheetFile(const QCString &)
Definition
docsets.h:60
IndexIntf
Abstract interface for index generators.
Definition
indexlist.h:33
MemberDef
A model of a class/file/namespace member symbol.
Definition
memberdef.h:48
QCString
This is an alternative implementation of QCString.
Definition
qcstring.h:101
TextStream
Text streaming class that buffers data.
Definition
textstream.h:36
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
indexlist.h
qcstring.h
src
docsets.h
Generated by
1.17.0