jason-fox/fox.jason.passthrough.doxygen

Classes without namespace are ignored

Closed this issue · 2 comments

hcw70 commented

Defining a class in the global namespace / without a namespace causes that to be ignored:


#include <QObject>

class FlashTimerAdapter : public QObject
{
    Q_OBJECT
public:
    using QObject::QObject;
};

will not be part of the output after preprocessing, see preprocess.xsl:

  <xsl:template match="/">
  	<root>
      <xsl:for-each select="doxygen/compounddef[@kind='namespace' and innerclass]">
  ...
  </xsl:template>

since it is not part of a "compounddef" of kind namespace.
So references to that class (i.e. in return types) stay unresolved and render to the link text (from PDF output):

public dd/da3/class_flash_timer_adapter timer() const
Gets the flash timer used for icon flash sync between peer nodes.
Returns:
FlashTimerAdapter *
hcw70 commented

Would be fixed by 3d30a6a

Completed. Closing.