call graph problems

Lorenz <[email protected]>
Newsgroups gmane.text.doxygen.general
Organization not your business
Message-ID <[email protected]>
Hi all,

I have a problem with call graph generation in a Cpp project.

I some cases calls to methodes of the same class are not reflected in
the graph.

In the example below, call(er) graphs for method1/2, method 5/6 and
method7/8 are generated, but not for method3/4 and method9/10.


I would like to provide the complete example (including doxyfile and
the generated html), but I don't seem to be able to attach it to my
message (at least not when posting via gmane.org).

So here is at least the sample source code:

===== doxytest.h =====

namespace doxytest
{

  //! test class for doxygen experiments
  //
  class doxytest1
  {
    public:
      void method1 (void);
      void method2 (void);
      void method3 (void);
      void method4 (void);
      void method5 (void);
      void method6 (void);
      void method7 (void);
      void method8 (void);
      void method9 (void);
      void method10 (void);
  };

} //namepspace

===== doxytest.cpp =====

#include "doxytest.h"

void doxytest::doxytest1::method1 (void)
{
  method2();
}

void doxytest::doxytest1::method2 (void)
{
}

void doxytest::doxytest1::method3 (void)
{
  method4();
}

void doxytest::doxytest1::method4 (void)
{
}

namespace doxytest
{
  void doxytest1::method5 (void)
  {
    method6();
  }

  void doxytest1::method6 (void)
  {
  }
}

void doxytest::doxytest1::method7 (void)
{
  method8();
}

void doxytest::doxytest1::method8 (void)
{
}

void doxytest::doxytest1::method9 (void)
{
  method10();
}

void doxytest::doxytest1::method10 (void)
{
}
namespace doxytest
{

==========


------------------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.