Doxygen
Loading...
Searching...
No Matches
devnullgen.h
Go to the documentation of this file.
1
2/******************************************************************************
3 *
4 * Copyright (C) 1997-2023 by Dimitri van Heesch.
5 *
6 * Permission to use, copy, modify, and distribute this software and its
7 * documentation under the terms of the GNU General Public License is hereby
8 * granted. No representations are made about the suitability of this software
9 * for any purpose. It is provided "as is" without express or implied warranty.
10 * See the GNU General Public License for more details.
11 *
12 */
13
14#ifndef DEVNULLGEN_H
15#define DEVNULLGEN_H
16
17#include "outputgen.h"
18
19/** Class implementing OutputCodeIntf by throwing away everything. */
21{
22 public:
23 OutputType type() const override { return OutputType::Null; }
24 std::unique_ptr<OutputCodeIntf> clone() override { return std::make_unique<DevNullCodeGenerator>(*this); }
25 void codify(const QCString &) override {}
26 void stripCodeComments(bool) override {}
27 void startSpecialComment() override {}
28 void endSpecialComment() override {}
29 void setStripIndentAmount(size_t) override {}
31 const QCString &,const QCString &,
32 const QCString &,const QCString &,
33 const QCString &) override {}
34 void writeTooltip(const QCString &, const DocLinkInfo &, const QCString &,
35 const QCString &, const SourceLinkInfo &, const SourceLinkInfo &
36 ) override {}
37 void writeLineNumber(const QCString &,const QCString &,
38 const QCString &,int,bool) override {}
39 void startCodeLine(int) override {}
40 void endCodeLine() override {}
41 void startFontClass(const QCString &) override {}
42 void endFontClass() override {}
43 void writeCodeAnchor(const QCString &) override {}
44 void startCodeFragment(const QCString &) override {}
45 void endCodeFragment(const QCString &) override {}
46 void startFold(int,const QCString &,const QCString &) override {}
47 void endFold() override {}
48};
49
50#endif // DEVNULLGEN_H
Class implementing OutputCodeIntf by throwing away everything.
Definition devnullgen.h:21
void writeCodeAnchor(const QCString &) override
Definition devnullgen.h:43
void endCodeFragment(const QCString &) override
Definition devnullgen.h:45
void writeLineNumber(const QCString &, const QCString &, const QCString &, int, bool) override
Definition devnullgen.h:37
void startFold(int, const QCString &, const QCString &) override
Definition devnullgen.h:46
void writeTooltip(const QCString &, const DocLinkInfo &, const QCString &, const QCString &, const SourceLinkInfo &, const SourceLinkInfo &) override
Definition devnullgen.h:34
void codify(const QCString &) override
Definition devnullgen.h:25
void writeCodeLink(CodeSymbolType, const QCString &, const QCString &, const QCString &, const QCString &, const QCString &) override
Definition devnullgen.h:30
void startCodeFragment(const QCString &) override
Definition devnullgen.h:44
OutputType type() const override
Definition devnullgen.h:23
void endSpecialComment() override
Definition devnullgen.h:28
void stripCodeComments(bool) override
Definition devnullgen.h:26
void endFontClass() override
Definition devnullgen.h:42
void endFold() override
Definition devnullgen.h:47
void startFontClass(const QCString &) override
Definition devnullgen.h:41
std::unique_ptr< OutputCodeIntf > clone() override
Definition devnullgen.h:24
void startSpecialComment() override
Definition devnullgen.h:27
void setStripIndentAmount(size_t) override
Definition devnullgen.h:29
void endCodeLine() override
Definition devnullgen.h:40
void startCodeLine(int) override
Definition devnullgen.h:39
OutputCodeIntf()=default
This is an alternative implementation of QCString.
Definition qcstring.h:101
OutputType
Definition outputgen.h:59
CodeSymbolType
Definition types.h:319