Doxygen
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
21class Definition;
22class OutputCodeList;
23
24//! Class that manages the tooltips for a source file
26{
27 public:
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 */
37
38 private:
39 class Private;
40 std::unique_ptr<Private> p;
41};
42
43#endif
The common base class of all entity definitions found in the sources.
Definition definition.h:76
Class representing a list of different code generators.
Definition outputlist.h:164
void addTooltip(const Definition *d)
add a tooltip for a given symbol definition
Definition tooltip.cpp:56
void writeTooltips(OutputCodeList &ol)
write the list of all collected tooltip to the given outputs
Definition tooltip.cpp:89
std::unique_ptr< Private > p
Definition tooltip.h:40
#define NON_COPYABLE(cls)
Macro to help implementing the rule of 5 for a non-copyable & movable class.
Definition construct.h:37