Doxygen
Toggle main menu visibility
Loading...
Searching...
No Matches
eclipsehelp.h
Go to the documentation of this file.
1
/******************************************************************************
2
*
3
*
4
*
5
* Copyright (C) 1997-2015 by Dimitri van Heesch.
6
*
7
* Permission to use, copy, modify, and distribute this software and its
8
* documentation under the terms of the GNU General Public License is hereby
9
* granted. No representations are made about the suitability of this software
10
* for any purpose. It is provided "as is" without express or implied warranty.
11
* See the GNU General Public License for more details.
12
*
13
* Documents produced by Doxygen are derivative works derived from the
14
* input used in their production; they are not affected by this license.
15
*
16
*/
17
/*
18
* eclipsehelp.h
19
*
20
* Created on: 7.11.2009
21
* Author: ondrej
22
*/
23
24
#ifndef ECLIPSEHELP_H
25
#define ECLIPSEHELP_H
26
27
#include <memory>
28
29
#include "
qcstring.h
"
30
#include "
construct.h
"
31
#include "
indexlist.h
"
32
33
/* -- forward declarations */
34
class
Definition
;
35
class
MemberDef
;
36
37
/** Generator for Eclipse help files.
38
*
39
* This class generates the Eclipse specific help files.
40
* These files can be used to generate a help plugin readable
41
* by the Eclipse IDE.
42
*/
43
class
EclipseHelp
:
public
IndexIntf
44
{
45
public
:
46
EclipseHelp
();
47
virtual
~EclipseHelp
();
48
NON_COPYABLE
(
EclipseHelp
)
49
50
/* -- index interface */
51
virtual
void
initialize
();
52
virtual
void
finalize
();
53
virtual
void
incContentsDepth
();
54
virtual
void
decContentsDepth
();
55
virtual
void
addContentsItem
(
bool
isDir,
const
QCString
&name,
const
QCString
&ref,
56
const
QCString
&file,
const
QCString
&anchor,
bool
separateIndex,
bool
addToNavIndex,
57
const
Definition
*def,
const
QCString
&nameAsHtml);
58
virtual
void
addIndexItem
(
const
Definition
*context,
const
MemberDef
*md,
59
const
QCString
§ionAnchor,
const
QCString
&title);
60
virtual
void
addIndexFile
(
const
QCString
&name);
61
virtual
void
addImageFile
(
const
QCString
&name);
62
virtual
void
addStyleSheetFile
(
const
QCString
&name);
63
64
private
:
65
struct
Private
;
66
std::unique_ptr<Private>
p
;
67
};
68
69
#endif
/* ECLIPSEHELP_H */
Definition
The common base class of all entity definitions found in the sources.
Definition
definition.h:77
EclipseHelp::~EclipseHelp
virtual ~EclipseHelp()
EclipseHelp::addIndexFile
virtual void addIndexFile(const QCString &name)
Definition
eclipsehelp.cpp:221
EclipseHelp::addStyleSheetFile
virtual void addStyleSheetFile(const QCString &name)
Definition
eclipsehelp.cpp:229
EclipseHelp::decContentsDepth
virtual void decContentsDepth()
Decrease the level of content hierarchy.
Definition
eclipsehelp.cpp:135
EclipseHelp::p
std::unique_ptr< Private > p
Definition
eclipsehelp.h:66
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 QCString §ionAnchor, const QCString &title)
Definition
eclipsehelp.cpp:213
EclipseHelp::addContentsItem
virtual 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)
Add an item to the content.
Definition
eclipsehelp.cpp:162
EclipseHelp::addImageFile
virtual void addImageFile(const QCString &name)
Definition
eclipsehelp.cpp:225
EclipseHelp::initialize
virtual void initialize()
Initialize the Eclipse generator.
Definition
eclipsehelp.cpp:68
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
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
EclipseHelp::Private
Definition
eclipsehelp.cpp:24
src
eclipsehelp.h
Generated by
1.17.0