Hi to all,

I'm generating QuickBook with doxygen reference but I'm getting some problems with duplicate classes defined inside namespaces. For example, if I have the following header:

#ifndef _DUMMY_HPP_
#define _DUMMY_HPP_

namespace boost
{
namespace shmem
{

/*!Dummy class*/
class dummy
{
   /*!dummy_func() function*/
   void dummy_func();
};

}
}

/*!Dummy class*/
class extern_dummy
{
   /*!dummy_func() function*/
   void extern_dummy_func();
};

#endif

I get the following reference index in Quickbook (formatting omitted):

Reference

Header <boost/shmem/dummy.hpp>

class dummy;
class extern_dummy;namespace boost {
  namespace shmem {
    class dummy;
  }
}

"class dummy" is duplicated (one inside of namespaces and another one outside it) and two description files are created. However, for extern_dummy, is written correctly outside the namespace and only one file is created.


Note also that the line:

   class extern_dummy;namespace boost {

has not a newline to separate classes inside and outside namespaces. The Jamfile.v2 to create this documentation is:

project boost/shmem/doc ;

import boostbook : boostbook ;
using quickbook ;
import doxygen : doxygen ;

boostbook shmem
:
   shmem.xml
   shmem.doxygen
:
   <xsl:param>boost.root=../../../..
;

doxygen shmem.doxygen
:
   [ glob ../../../boost/shmem/dummy.hpp ]
;




I've generated doxygen documentation with doxywizard in windows and I don't see any duplication. Is this related with BoostBook or Quickbook or it's just Doxygen?

And another question, is direct cpp inclusion still planned for Quickbook? It's a feature I'm waiting since I started with QuickBook, but I don't know if it is still in development.

Thanks and regards,

Ion




-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Boost-docs mailing list
[email protected]
Unsubscribe and other administrative requests: 
https://lists.sourceforge.net/lists/listinfo/boost-docs

Reply via email to