Doxygen
Loading...
Searching...
No Matches
docvisitor.h
Go to the documentation of this file.
1
/******************************************************************************
2
*
3
* Copyright (C) 1997-2021 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
#ifndef DOCVISITOR_H
17
#define DOCVISITOR_H
18
19
#include <memory>
20
21
#include "
qcstring.h
"
22
#include "
construct.h
"
23
24
class
CodeParserInterface
;
25
26
/*! @brief Helper base class for functionality shared by all visitors
27
*/
28
class
DocVisitor
29
{
30
struct
Private
;
31
std::unique_ptr<Private>
m_p
;
32
public
:
33
DocVisitor
();
34
virtual
~DocVisitor
();
35
NON_COPYABLE
(
DocVisitor
)
36
CodeParserInterface
&
getCodeParser
(
const
QCString
&langExt);
37
void
pushHidden
(
bool
hide);
38
bool
popHidden
();
39
};
40
41
42
43
#endif
CodeParserInterface
Abstract interface for code parsers.
Definition
parserintf.h:83
DocVisitor::getCodeParser
CodeParserInterface & getCodeParser(const QCString &langExt)
Definition
docvisitor.cpp:40
DocVisitor::~DocVisitor
virtual ~DocVisitor()
Definition
docvisitor.cpp:36
DocVisitor::pushHidden
void pushHidden(bool hide)
Definition
docvisitor.cpp:56
DocVisitor::m_p
std::unique_ptr< Private > m_p
Definition
docvisitor.h:31
DocVisitor::DocVisitor
DocVisitor()
Definition
docvisitor.cpp:32
DocVisitor::popHidden
bool popHidden()
Definition
docvisitor.cpp:61
QCString
This is an alternative implementation of QCString.
Definition
qcstring.h:101
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
qcstring.h
DocVisitor::Private
Definition
docvisitor.cpp:26
src
docvisitor.h
Generated by
1.13.0