Doxygen
Toggle main menu visibility
Loading...
Searching...
No Matches
pre.h
Go to the documentation of this file.
1
/******************************************************************************
2
*
3
* Copyright (C) 1997-2026 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 PRE_H
17
#define PRE_H
18
19
#include <memory>
20
#include <string>
21
22
#include "
construct.h
"
23
24
class
DString
;
25
26
class
Preprocessor
27
{
28
public
:
29
Preprocessor
();
30
~Preprocessor
();
31
NON_COPYABLE
(
Preprocessor
)
32
33
void
processFile
(
const
DString
&fileName,
const
std::string &input,std::string &output);
34
void
addSearchDir
(
const
DString
&dir);
35
private
:
36
struct
Private
;
37
std::unique_ptr<Private>
p
;
38
};
39
40
#endif
DString
A String class for use with Doxygen wrapping std::string and adding some additional functionality off...
Definition
dstring.h:88
Preprocessor::processFile
void processFile(const DString &fileName, const std::string &input, std::string &output)
Definition
pre.l:4302
Preprocessor::Preprocessor
Preprocessor()
Definition
pre.l:4291
Preprocessor::addSearchDir
void addSearchDir(const DString &dir)
Definition
pre.l:4284
Preprocessor::p
std::unique_ptr< Private > p
Definition
pre.h:37
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
Preprocessor::Private
Definition
pre.l:4279
src
pre.h
Generated by
1.19.0