Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
doxygen-1.8.11
src
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 "
index.h
"
28
#include "
ftextstream.h
"
29
30
/* -- forward declarations */
31
class
QFile
;
32
class
Definition
;
33
34
/** Generator for Eclipse help files.
35
*
36
* This class generates the Eclipse specific help files.
37
* These files can be used to generate a help plugin readable
38
* by the Eclipse IDE.
39
*/
40
class
EclipseHelp
:
public
IndexIntf
41
{
42
public
:
43
EclipseHelp
();
44
virtual
~EclipseHelp
();
45
46
/* -- index interface */
47
virtual
void
initialize
();
48
virtual
void
finalize
();
49
virtual
void
incContentsDepth
();
50
virtual
void
decContentsDepth
();
51
virtual
void
addContentsItem
(
bool
isDir,
const
char
*
name
,
const
char
*ref,
52
const
char
*
file
,
const
char
*anchor,
bool
separateIndex,
bool
addToNavIndex,
53
Definition
*def);
54
virtual
void
addIndexItem
(
Definition
*context,
MemberDef
*
md
,
55
const
char
*sectionAnchor,
const
char
*
title
);
56
virtual
void
addIndexFile
(
const
char
*name);
57
virtual
void
addImageFile
(
const
char
*name);
58
virtual
void
addStyleSheetFile
(
const
char
*name);
59
60
private
:
61
int
m_depth
;
62
bool
m_endtag
;
63
int
m_openTags
;
64
65
QFile
*
m_tocfile
;
66
FTextStream
m_tocstream
;
67
QCString
m_pathprefix
;
68
69
/* -- avoid copying */
70
EclipseHelp
(
const
EclipseHelp
&);
71
EclipseHelp
&
operator =
(
const
EclipseHelp
&);
72
73
/* -- formatting helpers */
74
void
indent
();
75
void
closedTag
();
76
void
openedTag
();
77
};
78
79
#endif
/* ECLIPSEHELP_H */
name
static QCString name
Definition:
declinfo.cpp:673
EclipseHelp::openedTag
void openedTag()
Definition:
eclipsehelp.cpp:48
EclipseHelp::addIndexFile
virtual void addIndexFile(const char *name)
Definition:
eclipsehelp.cpp:226
EclipseHelp::m_depth
int m_depth
Definition:
eclipsehelp.h:61
EclipseHelp::addImageFile
virtual void addImageFile(const char *name)
Definition:
eclipsehelp.cpp:230
Definition
Definition:
definition.h:92
index.h
MemberDef
Definition:
memberdef.h:43
EclipseHelp::m_pathprefix
QCString m_pathprefix
Definition:
eclipsehelp.h:67
FTextStream
Simplified and optimized version of QTextStream.
Definition:
ftextstream.h:11
EclipseHelp::finalize
virtual void finalize()
Finish generation of the Eclipse specific help files.
Definition:
eclipsehelp.cpp:101
EclipseHelp::indent
void indent()
Definition:
eclipsehelp.cpp:30
EclipseHelp::m_tocstream
FTextStream m_tocstream
Definition:
eclipsehelp.h:66
EclipseHelp::addStyleSheetFile
virtual void addStyleSheetFile(const char *name)
Definition:
eclipsehelp.cpp:234
cache_state.file
file
Definition:
cache_state.py:421
EclipseHelp::~EclipseHelp
virtual ~EclipseHelp()
Definition:
eclipsehelp.cpp:26
EclipseHelp::m_tocfile
QFile * m_tocfile
Definition:
eclipsehelp.h:65
EclipseHelp::operator=
EclipseHelp & operator=(const EclipseHelp &)
ftextstream.h
wirecell.gen.test.plot_impactzipper.title
title
Definition:
plot_impactzipper.py:90
EclipseHelp::m_openTags
int m_openTags
Definition:
eclipsehelp.h:63
EclipseHelp::m_endtag
bool m_endtag
Definition:
eclipsehelp.h:62
EclipseHelp
Definition:
eclipsehelp.h:40
QFile
The QFile class is an I/O device that operates on files.
Definition:
qfile.h:50
python.root_metadata.md
md
Definition:
root_metadata.py:196
IndexIntf
Abstract interface for index generators.
Definition:
index.h:30
EclipseHelp::closedTag
void closedTag()
Definition:
eclipsehelp.cpp:39
EclipseHelp::initialize
virtual void initialize()
Initialize the Eclipse generator.
Definition:
eclipsehelp.cpp:64
EclipseHelp::addContentsItem
virtual void addContentsItem(bool isDir, const char *name, const char *ref, const char *file, const char *anchor, bool separateIndex, bool addToNavIndex, Definition *def)
Add an item to the content.
Definition:
eclipsehelp.cpp:169
EclipseHelp::incContentsDepth
virtual void incContentsDepth()
Increase the level of content hierarchy.
Definition:
eclipsehelp.cpp:132
EclipseHelp::EclipseHelp
EclipseHelp()
Definition:
eclipsehelp.cpp:22
EclipseHelp::addIndexItem
virtual void addIndexItem(Definition *context, MemberDef *md, const char *sectionAnchor, const char *title)
Definition:
eclipsehelp.cpp:218
QCString
Definition:
qcstring.h:131
EclipseHelp::decContentsDepth
virtual void decContentsDepth()
Decrease the level of content hierarchy.
Definition:
eclipsehelp.cpp:143
Generated by
1.8.11