You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to document a C++ code using Sphinx, breathe and doxygen. The pdf doc generated in doxygen is coming correctly for virtual functions, but the pdf document generated using Sphinx(using doxygen xml) is just showing
void functioname()
instead of
virtual void functionname().
what is the doxygen directive for documenting overlaoded functions? I am getting error even after adding the arguments.
The text was updated successfully, but these errors were encountered:
Can you check if this problem also occurs with HTML output? Is it pure virtual or just virtual? If I check https://breathe.readthedocs.io/en/latest/doxygen.html the testMeToo doesn't show up properly with the virtual prefix too. Could be this needs to be added in Breathe or in Sphinx C/C++ domain. I do see some logic for adding virtual in breathe/renderer/sphinxrenderer.py, not entirely sure at this point.
//! A pure virtual member./*! \sa testMe() \param c1 the first argument. \param c2 the second argument.*/virtualvoidtestMeToo(char c1,char c2) = 0;
Should be possible, but the syntax can be a bit finicky. cannot reference overloaded/class members #5 (comment) I remember seeing some other posts with examples in the issue tracker, but I cannot find them easily currently. Can you share function declaration?
The first point was just resolved thanks to #628. Since I never received a reply to the second point I will assume that is resolved too as it seems somewhat support-y.
I tried to document a C++ code using Sphinx, breathe and doxygen. The pdf doc generated in doxygen is coming correctly for virtual functions, but the pdf document generated using Sphinx(using doxygen xml) is just showing
void functioname()
instead of
virtual void functionname().
what is the doxygen directive for documenting overlaoded functions? I am getting error even after adding the arguments.
The text was updated successfully, but these errors were encountered: