-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A function cannot be documented as related to two classes. (Origin: bugzilla #124252) #851
Comments
This issue was previously marked 'fixed but not released', |
In 1.8.15 this is only fixed in one particular case, and does not work at all for macros: classA.hpp: class classA
{
public:
void oneFunction();
} classB.hpp: class classB
{
public:
void anotherFunction();
} related.hpp //! @relates classA classB
void related();
//! @relates classA
//! @relates classB
void related2();
//! @relatedalso classA classB
void relatedAlso();
//! @relatedalso classA
//! @relatedalso classB
void relatedAlso2();
//! @relates classA
//! @relatedalso classB
void relatedRelatedAlso();
//! @relatedalso classA
//! @related classA
void relatedAlsoRelated();
//! @relates classA classB
#define RELATED_MACRO related()
//! @relates classA
//! @relates classB
#define RELATED_MACRO_2 related2();
//! @relatedalso classA classB
#define RELATED_ALSO relatedAlso();
//! @relatedalso classA
//! @relatedalso classB
#define RELATED_ALSO_2 relatedAlso2();
//! @relates classA
//! @relatedalso classB
#define RELATED_RELATED_ALSO relatedRelatedAlso();
//! @relatedalso classA
//! @related classA
#define RELATED_ALSO_RELATED relatedAlsoRelated(); The only one that works is If the syntax has to be |
Can you please attach a, small, self contained example (source+configuration file in a tar or zip) that allows us to reproduce the problem? |
I think that in the documentation a small part is missing, the restriction regarding that just one and only one
The construct:
Regarding the defines according what I see |
Attached: doxygen_issue_851.zip
I don't entirely follow. Isn't the ticket specifically to allow relating a function to more than one class? What would the correct syntax be? Or is this not implemented?
Oh whoops, of course that worked. Bad example on my part. That was supposed to test |
Indeed looks like the issue is to implement the possibility of multiple The problem of multiple |
++ This is a very important feature. Otherwise I can't see a way to list all the functions that interact with a type on that type's documentation page. (C API docs) |
I think the change made to fix this has introduced a regression for testcase: |
status NEW severity normal in component general for ---
Reported in version 1.3.x on platform Other
Assigned to: Dimitri van Heesch
Original attachment names and IDs:
On 2003-10-09 22:48:09 +0000, bjackson@ah.ddiglobal.com wrote:
On 2003-10-09 22:48:59 +0000, bjackson@ah.ddiglobal.com wrote:
On 2003-10-09 22:52:48 +0000, bjackson@ah.ddiglobal.com wrote:
On 2018-06-16 12:49:59 +0000, albert wrote:
On 2018-06-16 17:12:55 +0000, albert wrote:
The text was updated successfully, but these errors were encountered: