Doxygen
Loading...
Searching...
No Matches
commentcnv.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 COMMENTCNV_H
17#define COMMENTCNV_H
18
19#include <string>
20
21/** @file
22 * @brief First pass comment processing.
23 */
24
25/** Converts the comments in a file.
26 * @param inBuf input buffer holding the file content.
27 * @param outBuf output buffer to which the results after conversion are written to.
28 * @param fn the name of the file from which the comments originate.
29 *
30 * The following is converted:
31 * - C++ style multiline doxygen comments are converted to C style doxygen comments.
32 * - conditional sections are processed.
33 * - aliases are expanded.
34 */
35void convertCppComments(const std::string &inBuf,std::string &outBuf,
36 const std::string &fn);
37
38#endif
39
void convertCppComments(const std::string &inBuf, std::string &outBuf, const std::string &fn)
Converts the comments in a file.