Doxygen
Toggle main menu visibility
Loading...
Searching...
No Matches
eclipsehelp.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
* eclipsehelp.h
17
*
18
* Created on: 7.11.2009
19
* Author: ondrej
20
*/
21
22
#ifndef ECLIPSEHELP_H
23
#define ECLIPSEHELP_H
24
25
#include <memory>
26
27
#include "
construct.h
"
28
#include "
indexlist.h
"
29
30
/* -- forward declarations */
31
class
DString
;
32
class
Definition
;
33
class
MemberDef
;
34
35
/** Generator for Eclipse help files.
36
*
37
* This class generates the Eclipse specific help files.
38
* These files can be used to generate a help plugin readable
39
* by the Eclipse IDE.
40
*/
41
class
EclipseHelp
final :
public
IndexIntf
42
{
43
public
:
44
EclipseHelp
();
45
virtual
~EclipseHelp
();
46
NON_COPYABLE
(
EclipseHelp
)
47
48
/* -- index interface */
49
virtual
void
initialize
();
50
virtual
void
finalize
();
51
virtual
void
incContentsDepth
();
52
virtual
void
decContentsDepth
();
53
virtual
void
addContentsItem
(
bool
isDir,
const
DString
&name,
const
DString
&ref,
54
const
DString
&file,
const
DString
&anchor,
bool
separateIndex,
bool
addToNavIndex,
55
const
Definition
*def,
const
DString
&nameAsHtml);
56
virtual
void
addIndexItem
(
const
Definition
*context,
const
MemberDef
*md,
57
const
DString
§ionAnchor,
const
DString
&title);
58
virtual
void
addIndexFile
(
const
DString
&name);
59
virtual
void
addImageFile
(
const
DString
&name);
60
virtual
void
addStyleSheetFile
(
const
DString
&name);
61
62
private
:
63
struct
Private
;
64
std::unique_ptr<Private>
p
;
65
};
66
67
#endif
/* ECLIPSEHELP_H */
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
EclipseHelp::~EclipseHelp
virtual ~EclipseHelp()
EclipseHelp::decContentsDepth
virtual void decContentsDepth()
Decrease the level of content hierarchy.
Definition
eclipsehelp.cpp:135
EclipseHelp::addContentsItem
virtual 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 &nameAsHtml)
Add an item to the content.
Definition
eclipsehelp.cpp:162
EclipseHelp::addStyleSheetFile
virtual void addStyleSheetFile(const DString &name)
Definition
eclipsehelp.cpp:229
EclipseHelp::p
std::unique_ptr< Private > p
Definition
eclipsehelp.h:64
EclipseHelp::EclipseHelp
EclipseHelp()
Definition
eclipsehelp.cpp:59
EclipseHelp::finalize
virtual void finalize()
Finish generation of the Eclipse specific help files.
Definition
eclipsehelp.cpp:96
EclipseHelp::incContentsDepth
virtual void incContentsDepth()
Increase the level of content hierarchy.
Definition
eclipsehelp.cpp:124
EclipseHelp::addIndexItem
virtual void addIndexItem(const Definition *context, const MemberDef *md, const DString §ionAnchor, const DString &title)
Definition
eclipsehelp.cpp:213
EclipseHelp::addImageFile
virtual void addImageFile(const DString &name)
Definition
eclipsehelp.cpp:225
EclipseHelp::addIndexFile
virtual void addIndexFile(const DString &name)
Definition
eclipsehelp.cpp:221
EclipseHelp::initialize
virtual void initialize()
Initialize the Eclipse generator.
Definition
eclipsehelp.cpp:68
IndexIntf
Abstract interface for index generators.
Definition
indexlist.h:34
MemberDef
A model of a class/file/namespace member symbol.
Definition
memberdef.h:45
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
EclipseHelp::Private
Definition
eclipsehelp.cpp:24
src
eclipsehelp.h
Generated by
1.19.0