[PPL-devel] [GIT] ppl/ppl(master): Use Doxygen command \class for declared-but-undefined class templates.

Enea Zaffanella zaffanella at cs.unipr.it
Sat Mar 31 10:09:02 CEST 2012


Module: ppl/ppl
Branch: master
Commit: 1d37ea40c80791ea38ac3223bc800da6487e7330
URL:    http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=commit;h=1d37ea40c80791ea38ac3223bc800da6487e7330

Author: Enea Zaffanella <zaffanella at cs.unipr.it>
Date:   Sat Mar 31 10:08:05 2012 +0200

Use Doxygen command \class for declared-but-undefined class templates.

---

 src/Concrete_Expression.types.hh |   34 +++++++++++++++++++++++++++-------
 1 files changed, 27 insertions(+), 7 deletions(-)

diff --git a/src/Concrete_Expression.types.hh b/src/Concrete_Expression.types.hh
index 999ff41..ecf9fde 100644
--- a/src/Concrete_Expression.types.hh
+++ b/src/Concrete_Expression.types.hh
@@ -15,31 +15,51 @@ PURPOSE. */
 
 namespace Parma_Polyhedra_Library {
 
-//! The base class of all concrete expressions.
+/*
+  NOTE: Doxygen seems to ignore documentation blocks attached to
+  template class declarations that are not provided with a definition.
+  This justifies (here below) the explicit use of Doxygen command \class.
+*/
+
+/*! \brief \class Parma_Polyhedra_Library::Concrete_Expression
+  The base class of all concrete expressions.
+*/
 template <typename Target>
 class Concrete_Expression;
 
-//! A binary operator applied to two concrete expressions.
+/*! \brief \class Parma_Polyhedra_Library::Binary_Operator
+  A binary operator applied to two concrete expressions.
+*/
 template <typename Target>
 class Binary_Operator;
 
-//! A unary operator applied to one concrete expression.
+/*! \brief \class Parma_Polyhedra_Library::Unary_Operator
+  A unary operator applied to one concrete expression.
+*/
 template <typename Target>
 class Unary_Operator;
 
-//! A cast operator converting one concrete expression to some type.
+/*! \brief \class Parma_Polyhedra_Library::Cast_Operator
+  A cast operator converting one concrete expression to some type.
+*/
 template <typename Target>
 class Cast_Operator;
 
-//! An integer constant concrete expression.
+/*! \brief \class Parma_Polyhedra_Library::Integer_Constant
+  An integer constant concrete expression.
+*/
 template <typename Target>
 class Integer_Constant;
 
-//! A floating-point constant concrete expression.
+/*! \brief \class Parma_Polyhedra_Library::Floating_Point_Constant
+  A floating-point constant concrete expression.
+*/
 template <typename Target>
 class Floating_Point_Constant;
 
-//! A concrete expression representing a reference to some approximable.
+/*! \brief \class Parma_Polyhedra_Library::Approximable_Reference
+  A concrete expression representing a reference to some approximable.
+*/
 template <typename Target>
 class Approximable_Reference;
 




More information about the PPL-devel mailing list