无法从源代码生成 doxygen chm/html 输出
Cannot generate doxygen chm/html output from source code
我无法从Doxygen 1.8.6生成chm/html输出。我想生成下面给出的 cpp 文件中列出的方法说明。我已经将该文件包含在 INPUT 标签的 doxygen 配置文件中。我只想让我的输出显示 cpp 文件中的方法。还有一个头文件 .h,其中包含以下内容:
API.h
extern "C"
{
#include "..IncludeAPIDef.h"
AFX_MIRASTER_API MIRASIO_ReturnCode MIRASIO_ConvertOperation(
const wchar_t* InputFilePath, const wchar_t* OutputFilePath,
const wchar_t* DstDriverString, MIRASIO_CompressionType CompressionType,
unsigned int CompressionLevel, bool MaintainOverview,
unsigned int srcField, unsigned int srcEvent,unsigned int srcBand,
unsigned int nProgressTrackerHandle = InvalidTracker);
原料药.cpp
/**
*
* @brief Convert operation (Old). Converts a specified file to MRR format.
*
*
* param[in] InputFilePath Full path to the input file.
* param[in] OutputFilePath Full path to the output file.
* param[in] DstDriverString Driver to use to create the output file.
* param[in] CompressionType Type of compression.
* param[in] CompressionLevel Level of the compression.
* param[in] MaintainOverview True to maintain overview.
* param[in] srcField Source field index to resample (when source file is of MRR raster type).
* param[in] srcEvent Source event type.
* param[in] srcBand Band of the source file.
* param[in] nProgressTrackerHandle Progress tracker handle.
*
* @return <code>MIRASIO_ReturnCode</code>.
*/
MIRASIO_ReturnCode MIRASIO_ConvertOperation (
const wchar_t* InputFilePath, const wchar_t* OutputFilePath,
const wchar_t* DstDriverString, MIRASIO_CompressionType CompressionType,
unsigned int CompressionLevel, bool MaintainOverview, unsigned int srcField,
unsigned int srcEvent, unsigned int srcBand, unsigned int nProgressTrackerHandle)
{
return RasterOperationsContainer::AcquireProcessingOperation()->ConvertOperation(
InputFilePath,OutputFilePath, DstDriverString,CompressionType,
CompressionLevel, MaintainOverview, srcField, srcEvent, srcBand,
nProgressTrackerHandle);
}
如何为 cpp 文件中列出的方法生成文档?我需要在 doxygen 配置文件中更改哪些参数?
检查以下参数:
INPUT = api.h API.cpp
# To generate HTML output
GENERATE_HTML = YES
# Where HTML docs will be put
HTML_OUTPUT = html
# If set to YES doxygen generates three additional HTML index files:
# index.hhp, index.hhc, and index.hhk
# The index.hhp is a project file that can be read by Microsoft's HTML Help
# Workshop. The HTML Help Workshop contains a compiler that can convert all
# HTML output generated by doxygen into a single compiled HTML file (.chm)
GENERATE_HTMLHELP = YES
相关文章:
- 简单的 HTML 验证器
- 如何在 html 页面中插入 cgi 应用程序的输出?
- 在 C++ 中编写解析器来解析给定的 HTML 实体
- 使用 ReadTheOrg 将识字程序导出为 HTML 时保留源块的内容
- 当我使用 QDomDocument 解析 html 数据时,如何保留 "?
- 如何使用 libcurl 在本地 IP 上获取 HTML?
- 通过 c++ 中的套接字发送 html
- 如何使用utf-8编码在Qt5 WebEngineView中加载HTML页面?
- C++ libcurl - 无法从 URL 检索整个 html 内容
- 使用 C++ std::sregex_token_iterator 提取 HTML 注释
- 检查HTML 5视频元素是否正在获取帧
- 如何使用PHP将上传到本地主机的一个html文件重定向到磁盘上的另一个html文档
- Flex/Bison标记为HTML程序
- 如何在C++中正确地将我的语言字符输出到HTML文件中
- 使用 Lamda 从 QWebEngineView 中的 QWebEnginePage 获取 HTML
- 根据 C++ 中生成的随机数的值生成 Html RGB 值
- 正则表达式忽略 HTML 注释
- qprint 和 QTextDocument 中的表格边距使用 html 作为输入
- 如何从 doxygen 创建的 html 更改回代码
- 无法从源代码生成 doxygen chm/html 输出