Doxygen没有看到(链接?)评论

时间:2012-11-15 18:42:44

标签: doxygen

正如您在下面看到的,我在使用Doxygen时遇到了一些问题,没有正确地链接我的评论。它似乎很少这样做,因为我的所有注释都具有相同的结构,但是这些注意到了这个错误。

您可以告诉我,我的'.h'文件中声明了我的函数,并在我的'.cpp'文件中定义。

关于如何解决这个问题的任何想法?我有100多个功能,这三个似乎引起了问题,而不是其他问题。不知道为什么,或者如何解决这个问题。有什么想法吗?

DebugDataLoggingClass.cpp:46: warning: documented function `void RetrievalRig::DebugDataLoggingClass::AddEntryToCSV' was not declared or defined.

DebugDataLoggingClass.cpp:55: warning: documented function `void RetrievalRig::DebugDataLoggingClass::AddEntryToCSV' was not declared or defined.

RetrievalRigClass.cpp:416: warning: documented function `void RetrievalRig::RetrievalRigClass::DebugClosedHandler' was not declared or defined.

DebugDataLoggingClass.h:22: warning: Member DebugDataLoggingClass::AddEntryToCSV(System::String^ Name, double Value) (function) of class RetrievalRig::DebugDataLoggingClass is not documented.

DebugDataLoggingClass.h:23: warning: Member DebugDataLoggingClass::AddEntryToCSV(System::DateTime Date) (function) of class RetrievalRig::DebugDataLoggingClass is not documented.

RetrievalRigClass.h:188: warning: Member RetrievalRigClass::DebugClosedHandler(Object^ sender, System::Windows::Forms::FormClosedEventArgs^ e) (function) of class RetrievalRig::RetrievalRigClass is not documented.
编辑:在没有触摸代码10天后,我今天回来工作,发现原来6个错误中只有4个仍然存在。它抱怨的函数具有相同的名称,但传递给它们的参数不同。 Doxygen不支持这个,还是我需要使用某种显式语法?关闭互联网寻找答案......

EDIT2:添加了代码

/**
 * The values in the CSV file must be formatted appropriately. This method
 * accomplishes this for a set of a string and double. this is used for all
 * values in the datarecord.
 * @param Name  The name of the value to be written to the file
 * @param Value The current value to be written to the file
 */
void DebugDataLoggingClass::AddEntryToCSV(System::String^ Name, double Value){
    this->DataFileWriter->WriteLine(Name+","+Value);
}

/**
 * The values in the CSV file must be formatted properly, this method 
 * accomplishes this for a set consisting of a string and date. this is used
 * for the timestamp of each datarecord.
 * @param Date [description]
 */
void DebugDataLoggingClass::AddEntryToCSV(System::DateTime Date){
    this->DataFileWriter->WriteLine("Time ,"+Date);
}

0 个答案:

没有答案