Doxygen
Loading...
Searching...
No Matches
commentcnv.h
Go to the documentation of this file.
1/*****************************************************************************
2 *
3 *
4 *
5 * Copyright (C) 1997-2015 by Dimitri van Heesch.
6 *
7 * Permission to use, copy, modify, and distribute this software and its
8 * documentation under the terms of the GNU General Public License is hereby
9 * granted. No representations are made about the suitability of this software
10 * for any purpose. It is provided "as is" without express or implied warranty.
11 * See the GNU General Public License for more details.
12 *
13 * Documents produced by Doxygen are derivative works derived from the
14 * input used in their production; they are not affected by this license.
15 *
16 */
17
18#ifndef COMMENTCNV_H
19#define COMMENTCNV_H
20
21#include <string>
22
23/** @file
24 * @brief First pass comment processing.
25 */
26
27/** Converts the comments in a file.
28 * @param inBuf input buffer holding the file content.
29 * @param outBuf output buffer to which the results after conversion are written to.
30 * @param fn the name of the file from which the comments originate.
31 *
32 * The following is converted:
33 * - C++ style multiline doxygen comments are converted to C style doxygen comments.
34 * - conditional sections are processed.
35 * - aliases are expanded.
36 */
37void convertCppComments(const std::string &inBuf,std::string &outBuf,
38 const std::string &fn);
39
40#endif
41
void convertCppComments(const std::string &inBuf, std::string &outBuf, const std::string &fn)
Converts the comments in a file.