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
20
#include "
construct.h
"
21
22
class
Definition
;
23
class
OutputCodeList
;
24
25
//! Class that manages the tooltips for a source file
26
class
TooltipManager
27
{
28
public
:
29
TooltipManager
();
30
~TooltipManager
();
31
NON_COPYABLE
(
TooltipManager
)
32
33
/** add a tooltip for a given symbol definition */
34
void
addTooltip
(
const
Definition
*d);
35
36
/** write the list of all collected tooltip to the given outputs */
37
void
writeTooltips
(
OutputCodeList
&ol);
38
39
private
:
40
class
Private
;
41
std::unique_ptr<Private>
p
;
42
};
43
44
#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:162
TooltipManager::Private
Definition
tooltip.cpp:36
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:88
TooltipManager::p
std::unique_ptr< Private > p
Definition
tooltip.h:41
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.19.0