Subject: Why Cross references are not generated for My sample file? - msg#00040
List: text.doxygen.general
Dear doxygen users,
I have a problem. Please help me.
Why the cross referecne for m_pLeaf->Test() is not generated for my sample.
---- Cut here. ----
class CLeaf; typedef CLeaf *PCLeaf;
class CLeaf {
int m_A;
public:
CLeaf(int a) { m_A = a; }
void Test();
};
class CNode {
PCLeaf m_pLeaf;
public:
CNode(PCLeaf &p1) { m_pLeaf = p1; }
void Problem(void);
};
int main()
{
CLeaf *p1 = new CLeaf(100);
CNode *p = new CNode(p1);
p1->Test(); // OK: Cross reference for Test() will be OK.
p->Problem(); // OK: Cross reference for Problem() will be OK.
return 0;
}
void CNode::Problem(void)
{
m_pLeaf->Test(); // NG: There will be no cross reference for Test().
}
void CLeaf::Test()
{
}
---- Cut here. ----
doxygen version : 1.4.1
System : Windows 2000 SP4 (Japanese)
------
I'm sorry in poor English.
F. Miyawaki. (Japanese)
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....
http://www.thinkgeek.com/sfshirt
Was this page helpful?
Thread at a glance:
Previous Message by Date:
click to view message preview
Re: Duplicating method documentation on file documentation page
If you want non-member functions documented in the file docs, you have to
document the file. (@file)
However, it sounds like you want class member functions documentation
duplicated in the file docs. If that is the case, I'm not sure that it's
currently possible.
Erik
On Mon January 17 2005 12:26 pm, Dan Gass wrote:
> I searched the configuration file documentation and the mailing list
> and cannot find information on how to get documentation for methods in
> a .cpp file to show up in the documentation of the file in which it
> was defined. It seems the method docs only get included in the class
> documentation for which it is a part of. Is there an easy way for it
> to appear in both without having to put in Doxygen markup everywhere?
>
> Thanks,
> Dan Gass
>
>
> -------------------------------------------------------
> The SF.Net email is sponsored by: Beat the post-holiday blues
> Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
> It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
> _______________________________________________
> Doxygen-users mailing list
> Doxygen-users@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/doxygen-users
--
*******************************************
Dr. Erik Zeek
Postdoctoral Research Associate
Department of Physics and Astronomy
The University of Georgia
Athens, GA 30602-2451
Tel: 706-542-7293
Email: mailto:zeekec@xxxxxxxxxxxxxxxxx
Html: http://www.physast.uga.edu/~zeekec
*******************************************
Against stupidity the very gods
Themselves contend in vain.
- Johann Christoph Friedrich von Schiller (1801)
*******************************************
pgpcchGVVEBNN.pgp
Description: signature
Next Message by Date:
click to view message preview
Doxygen compared to Natural Docs
All,
I'm looking for a documentation system (for C and C++ source code) and
came across Doxygen and Natural Docs.
Did someone of you ever compared these two procucts and can tell me some
pro and cons?
What I've seen so far: The comments Natural Docs parses are somewhat
more "clean" in my opinion. Furthermore the resulting output looks a
little bit more professional. But as far as I've seen Natural Docs is
not able to produce these nice call graphs...
Thank you for any comments,
Michael
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
Previous Message by Thread:
click to view message preview
Duplicating method documentation on file documentation page
I searched the configuration file documentation and the mailing list
and cannot find information on how to get documentation for methods in
a .cpp file to show up in the documentation of the file in which it
was defined. It seems the method docs only get included in the class
documentation for which it is a part of. Is there an easy way for it
to appear in both without having to put in Doxygen markup everywhere?
Thanks,
Dan Gass
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
Next Message by Thread:
click to view message preview
Doxygen compared to Natural Docs
All,
I'm looking for a documentation system (for C and C++ source code) and
came across Doxygen and Natural Docs.
Did someone of you ever compared these two procucts and can tell me some
pro and cons?
What I've seen so far: The comments Natural Docs parses are somewhat
more "clean" in my opinion. Furthermore the resulting output looks a
little bit more professional. But as far as I've seen Natural Docs is
not able to produce these nice call graphs...
Thank you for any comments,
Michael
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt