this post was submitted on 23 Sep 2023
10 points (91.7% liked)

Programming

17398 readers
106 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 1 year ago
MODERATORS
 

Hello everyone, I've recently picked up doxygen and have been trying to document an old project, nevertheless, I have some class's method and I want to refer in the docs to another class's method and a data member of the same class

Here's the method:

void App::start() { for (unsigned i = 0; i < currentScene->gameObjects.size(); ++i) { currentScene->gameObjects[i]->start(); } timeSinceStart.restart(); }

I want to have a reference to GameObject::start and App::timeSinceStart in App::start doc block

(Sorry not in monospace, my Lemmy client doesn't seem to support it and I don't know the syntax here if one present)

top 2 comments
sorted by: hot top controversial new old
[–] glad_cat@lemmy.sdf.org 2 points 1 year ago (1 children)

If they are part of the same project, it’s pretty much a standard feature. You can link anything.

I’m on mobile but it seems to be this: https://www.doxygen.nl/manual/autolink.html

[–] Red1C3@lemmy.world 1 points 1 year ago

This is exactly what I needed, thanks a lot