以下に示すように、Doxygenがコメントを正しくリンクしないという問題が発生しています。私はすべて同じ構造のコメントを持っているので、これは散発的に行われているようですが、これらのコメントは一貫してこのエラーをスローします。
'.h'ファイルで関数が宣言され、'.cpp'ファイルで定義されていることがわかる場合があります。
これをどのように解決できるかについてのアイデアはありますか?私は100以上の機能を持っていますが、これら3つが問題を引き起こしているようですが、他の機能はありません。理由、またはこれを解決する方法がわかりません。何か案は?
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);
}