Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r83733 - trunk/libs/geometry/doc/src/docutils/tools/doxygen_xml2qbk
From: adam.wulkiewicz_at_[hidden]
Date: 2013-04-02 21:04:05


Author: awulkiew
Date: 2013-04-02 21:04:05 EDT (Tue, 02 Apr 2013)
New Revision: 83733
URL: http://svn.boost.org/trac/boost/changeset/83733

Log:
doxygen_xml2qbk: fixed errors made for default output in the early version of new tool.
Text files modified:
   trunk/libs/geometry/doc/src/docutils/tools/doxygen_xml2qbk/quickbook_output.hpp | 26 ++++++--------------------
   1 files changed, 6 insertions(+), 20 deletions(-)

Modified: trunk/libs/geometry/doc/src/docutils/tools/doxygen_xml2qbk/quickbook_output.hpp
==============================================================================
--- trunk/libs/geometry/doc/src/docutils/tools/doxygen_xml2qbk/quickbook_output.hpp (original)
+++ trunk/libs/geometry/doc/src/docutils/tools/doxygen_xml2qbk/quickbook_output.hpp 2013-04-02 21:04:05 EDT (Tue, 02 Apr 2013)
@@ -67,10 +67,6 @@
         BOOST_FOREACH(parameter const& p, parameters)
         {
             out << (first ? "" : ", ") << p.fulltype;
-
- if ( !p.default_value.empty() )
- out << " = " << p.default_value;
-
             first = false;
         }
         out << ">" << std::endl;
@@ -569,22 +565,12 @@
 
         BOOST_FOREACH(parameter const& p, cos.template_parameters)
         {
- out << "[[``";
- if ( p.fulltype.find("typename") == 0 )
- out << p.fulltype.substr(8);
- else if ( p.fulltype.find("class") == 0 )
- out << p.fulltype.substr(5);
- else
- out << p.fulltype;
-
- out << "``]";
-
- if (has_default && !p.default_value.empty())
- out << "[``" << p.default_value << "``]";
- else
- out << "[]";
-
- out << " [" << p.brief_description << "]]" << std::endl;
+ out << "[[" << p.fulltype;
+ if (has_default)
+ {
+ out << "] [" << p.default_value;
+ }
+ out << "] [" << p.brief_description << "]]" << std::endl;
         }
         out << "]" << std::endl
             << std::endl;


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk