From ac88feebb752cadbeb1903832f18b75e71d706b8 Mon Sep 17 00:00:00 2001 From: Benoit Jacob Date: Mon, 2 Jun 2008 19:29:23 +0000 Subject: [PATCH] work around Doxygen bug triggered by r814874, which caused many classes to disappear from the docs. --- Eigen/Core | 3 +++ doc/Doxyfile.in | 3 ++- doc/Mainpage.dox | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Eigen/Core b/Eigen/Core index 0e5f82c63..3666e0713 100644 --- a/Eigen/Core +++ b/Eigen/Core @@ -28,7 +28,10 @@ namespace Eigen { #include "src/Core/Functors.h" #include "src/Core/MatrixBase.h" #include "src/Core/Coeffs.h" +#ifndef EIGEN_PARSED_BY_DOXYGEN // work around Doxygen bug triggered by Assign.h r814874 + // at least confirmed with Doxygen 1.5.5 and 1.5.6 #include "src/Core/Assign.h" +#endif #include "src/Core/MatrixStorage.h" #include "src/Core/NestByValue.h" #include "src/Core/Flagged.h" diff --git a/doc/Doxyfile.in b/doc/Doxyfile.in index d700e7e0d..26f43944a 100644 --- a/doc/Doxyfile.in +++ b/doc/Doxyfile.in @@ -1174,7 +1174,8 @@ INCLUDE_FILE_PATTERNS = # undefined via #undef or recursively expanded use the := operator # instead of the = operator. -PREDEFINED = EIGEN_EMPTY_STRUCT +PREDEFINED = EIGEN_EMPTY_STRUCT \ + EIGEN_PARSED_BY_DOXYGEN # If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then # this tag can be used to specify a list of macro names that should be expanded. diff --git a/doc/Mainpage.dox b/doc/Mainpage.dox index f54882fc9..ce869371b 100644 --- a/doc/Mainpage.dox +++ b/doc/Mainpage.dox @@ -12,4 +12,4 @@ The many other classes are typically return types for MatrixBase methods. */ -} \ No newline at end of file +}