2014-02-25 65 views
0

我无法从Doxygen 1.8.6生成chm/html输出。我想要生成下面给出的cpp文件中列出的方法描述。我已将该文件包含在INPUT标记中的doxygen配置文件中。我希望我的输出显示cpp文件中的方法。还有以下配置的头文件.H:无法从源代码生成doxygen chm/html输出

API.h

extern "C" 
{ 
    #include "..\Include\APIDef.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); 

API.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配置文件中更改哪些参数?

回答

0

检查这些参数:

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