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
25
26/*! @brief Helper base class for functionality shared by all visitors
27 */
29{
30 struct Private;
31 std::unique_ptr<Private> m_p;
32 public:
33 DocVisitor();
34 virtual ~DocVisitor();
36 CodeParserInterface &getCodeParser(const QCString &langExt);
37 void pushHidden(bool hide);
38 bool popHidden();
39};
40
41
42
43#endif
Abstract interface for code parsers.
Definition parserintf.h:83
CodeParserInterface & getCodeParser(const QCString &langExt)
virtual ~DocVisitor()
void pushHidden(bool hide)
std::unique_ptr< Private > m_p
Definition docvisitor.h:31
bool popHidden()
#define NON_COPYABLE(cls)
Macro to help implementing the rule of 5 for a non-copyable & movable class.
Definition construct.h:37