Doxygen
Toggle main menu visibility
Loading...
Searching...
No Matches
tooltip.h
Go to the documentation of this file.
1
/******************************************************************************
2
*
3
* Copyright (C) 1997-2020 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
#ifndef TOOLTIP_H
16
#define TOOLTIP_H
17
18
#include <memory>
19
#include "
construct.h
"
20
21
class
Definition
;
22
class
OutputCodeList
;
23
24
//! Class that manages the tooltips for a source file
25
class
TooltipManager
26
{
27
public
:
28
TooltipManager
();
29
~TooltipManager
();
30
NON_COPYABLE
(
TooltipManager
)
31
32
/** add a tooltip for a given symbol definition */
33
void
addTooltip
(
const
Definition
*d);
34
35
/** write the list of all collected tooltip to the given outputs */
36
void
writeTooltips
(
OutputCodeList
&ol);
37
38
private
:
39
class
Private
;
40
std::unique_ptr<Private>
p
;
41
};
42
43
#endif
Definition
The common base class of all entity definitions found in the sources.
Definition
definition.h:77
OutputCodeList
Class representing a list of different code generators.
Definition
outputlist.h:165
TooltipManager::Private
Definition
tooltip.cpp:36
TooltipManager::~TooltipManager
~TooltipManager()
Definition
tooltip.cpp:45
TooltipManager::addTooltip
void addTooltip(const Definition *d)
add a tooltip for a given symbol definition
Definition
tooltip.cpp:56
TooltipManager::writeTooltips
void writeTooltips(OutputCodeList &ol)
write the list of all collected tooltip to the given outputs
Definition
tooltip.cpp:89
TooltipManager::p
std::unique_ptr< Private > p
Definition
tooltip.h:40
TooltipManager::TooltipManager
TooltipManager()
Definition
tooltip.cpp:41
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
src
tooltip.h
Generated by
1.17.0