<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[[doxygen] Doku für C structs]]></title><description><![CDATA[<p>Hallo</p>
<p>ich hab einige C Structs, die ich dokumentieren will. Also hab ich meine Header Files so angepasst, dass doxygen die Doku erzeugt. Das Problem ist, dass ich neben den Members der Structs keine Doxygen Kommentare haben will, weil sie recht lang sind</p>
<pre><code class="language-cpp">struct abc
{
   int a; ///&lt; bla bla bla bla ...... bla bla
   int b; ///&lt; bla bla ...
}
</code></pre>
<p>Das will ich nicht, weil es recht lang werden kann und dann wird der Code unlesbar. Man kann aber mit doxygen die Doku anderswo anlegen:</p>
<pre><code class="language-cpp">/**
 * \breif bla bla bla
 *
 * \var a bla bla bla
 * \var b bla bla bla
 */
struct abc
{
   int a;
   int b;
}
</code></pre>
<p>Ich dachte, ich könnte so etwas schaffen, aber ich bekomme folgendes:</p>
<pre><code>src/include/gtkreminder/gr_message.h:-1: Warning: documented function `uid The UID of the user ...
...
src/include/gtkreminder/gr_message.h:75: Warning: Member uid (variable) of class gr_message_c is not documented.
</code></pre>
<p>Hab mir die ganze Sektion &quot;Special Commands&quot; durchgelesen aber ich finde kein passendes Command für C structs. Kann ich das überhaupt oder muss ich den Dokublock im Struct haben? (was ich letztendlich nicht will)</p>
<p>Gruss<br />
Pablo</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/197809/doxygen-doku-für-c-structs</link><generator>RSS for Node</generator><lastBuildDate>Tue, 30 Jun 2026 00:57:57 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/197809.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 14 Nov 2007 23:25:26 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [doxygen] Doku für C structs on Wed, 14 Nov 2007 23:38:07 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>ich hab einige C Structs, die ich dokumentieren will. Also hab ich meine Header Files so angepasst, dass doxygen die Doku erzeugt. Das Problem ist, dass ich neben den Members der Structs keine Doxygen Kommentare haben will, weil sie recht lang sind</p>
<pre><code class="language-cpp">struct abc
{
   int a; ///&lt; bla bla bla bla ...... bla bla
   int b; ///&lt; bla bla ...
}
</code></pre>
<p>Das will ich nicht, weil es recht lang werden kann und dann wird der Code unlesbar. Man kann aber mit doxygen die Doku anderswo anlegen:</p>
<pre><code class="language-cpp">/**
 * \breif bla bla bla
 *
 * \var a bla bla bla
 * \var b bla bla bla
 */
struct abc
{
   int a;
   int b;
}
</code></pre>
<p>Ich dachte, ich könnte so etwas schaffen, aber ich bekomme folgendes:</p>
<pre><code>src/include/gtkreminder/gr_message.h:-1: Warning: documented function `uid The UID of the user ...
...
src/include/gtkreminder/gr_message.h:75: Warning: Member uid (variable) of class gr_message_c is not documented.
</code></pre>
<p>Hab mir die ganze Sektion &quot;Special Commands&quot; durchgelesen aber ich finde kein passendes Command für C structs. Kann ich das überhaupt oder muss ich den Dokublock im Struct haben? (was ich letztendlich nicht will)</p>
<p>Gruss<br />
Pablo</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1403420</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1403420</guid><dc:creator><![CDATA[supertux]]></dc:creator><pubDate>Wed, 14 Nov 2007 23:38:07 GMT</pubDate></item><item><title><![CDATA[Reply to [doxygen] Doku für C structs on Thu, 15 Nov 2007 07:10:54 GMT]]></title><description><![CDATA[<p><a href="http://www.selflinux.org/selflinux/html/doxygen01.html" rel="nofollow">Das hier</a> ist einer der ersten Links, die Google ausgespuckt hat - hilft der?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1403447</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1403447</guid><dc:creator><![CDATA[CStoll]]></dc:creator><pubDate>Thu, 15 Nov 2007 07:10:54 GMT</pubDate></item><item><title><![CDATA[Reply to [doxygen] Doku für C structs on Thu, 15 Nov 2007 13:26:58 GMT]]></title><description><![CDATA[<p>nein, weil in der Doku der Doxygen Seite dasselbe (und noch mehr) steht. Ich finde überall, dass \var für eine Variable steht aber doxygen meint immer, die Funktion wäre nicht vorhanden. <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f615.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--confused_face"
      title=":confused:"
      alt="😕"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1403651</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1403651</guid><dc:creator><![CDATA[supertux]]></dc:creator><pubDate>Thu, 15 Nov 2007 13:26:58 GMT</pubDate></item><item><title><![CDATA[Reply to [doxygen] Doku für C structs on Thu, 15 Nov 2007 13:40:53 GMT]]></title><description><![CDATA[<p>Dieser Thread wurde von Moderator/in <a href="http://www.c-plusplus.net/forum/profile-var-mode-is-viewprofile-and-u-is-1819.html" rel="nofollow">rüdiger</a> aus dem Forum <a href="http://www.c-plusplus.net/forum/viewforum-var-f-is-5.html" rel="nofollow">Linux/Unix</a> in das Forum <a href="http://www.c-plusplus.net/forum/viewforum-var-f-is-8.html" rel="nofollow">Rund um die Programmierung</a> verschoben.</p>
<p>Im Zweifelsfall bitte auch folgende Hinweise beachten:<br />
<a href="http://www.c-plusplus.net/forum/viewtopic-var-t-is-39405.html" rel="nofollow">C/C++ Forum :: FAQ - Sonstiges :: Wohin mit meiner Frage?</a></p>
<p><em>Dieses Posting wurde automatisch erzeugt.</em></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1403657</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1403657</guid><dc:creator><![CDATA[C++ Forumbot]]></dc:creator><pubDate>Thu, 15 Nov 2007 13:40:53 GMT</pubDate></item></channel></rss>