Doxygen
Loading...
Searching...
No Matches
codefragment.h
Go to the documentation of this file.
1/******************************************************************************
2 *
3 * Copyright (C) 1997-2023 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 CODEFRAGMENT_H
17#define CODEFRAGMENT_H
18
19#include <memory>
20
21#include "qcstring.h"
22#include "construct.h"
23
24class OutputCodeList;
25class Definition;
26class MemberDef;
27class FileDef;
28
30{
31 public:
33 void parseCodeFragment(OutputCodeList &codeOutList,
34 const QCString &fileName, // -> input
35 const QCString &blockId,
36 const QCString &scopeName,
37 bool showLineNumbers,
38 bool trimLeft,
39 bool stripCodeComments
40 );
41 private:
45
46 struct Private;
47 std::unique_ptr<Private> p;
48};
49
50#endif
void parseCodeFragment(OutputCodeList &codeOutList, const QCString &fileName, const QCString &blockId, const QCString &scopeName, bool showLineNumbers, bool trimLeft, bool stripCodeComments)
static CodeFragmentManager & instance()
std::unique_ptr< Private > p
The common base class of all entity definitions found in the sources.
Definition definition.h:76
A model of a file symbol.
Definition filedef.h:99
A model of a class/file/namespace member symbol.
Definition memberdef.h:48
Class representing a list of different code generators.
Definition outputlist.h:164
#define NON_COPYABLE(cls)
Macro to help implementing the rule of 5 for a non-copyable & movable class.
Definition construct.h:37