Doxygen
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 */
31class DString;
32class Definition;
33class 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 */
41class EclipseHelp final : public IndexIntf
42{
43 public:
45 virtual ~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 &sectionAnchor,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 */
A String class for use with Doxygen wrapping std::string and adding some additional functionality off...
Definition dstring.h:88
The common base class of all entity definitions found in the sources.
Definition definition.h:77
virtual ~EclipseHelp()
virtual void decContentsDepth()
Decrease the level of content hierarchy.
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.
virtual void addStyleSheetFile(const DString &name)
std::unique_ptr< Private > p
Definition eclipsehelp.h:64
virtual void finalize()
Finish generation of the Eclipse specific help files.
virtual void incContentsDepth()
Increase the level of content hierarchy.
virtual void addIndexItem(const Definition *context, const MemberDef *md, const DString &sectionAnchor, const DString &title)
virtual void addImageFile(const DString &name)
virtual void addIndexFile(const DString &name)
virtual void initialize()
Initialize the Eclipse generator.
Abstract interface for index generators.
Definition indexlist.h:34
A model of a class/file/namespace member symbol.
Definition memberdef.h:45
#define NON_COPYABLE(cls)
Macro to help implementing the rule of 5 for a non-copyable & movable class.
Definition construct.h:37