<?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[typ der basisklasse dynamisch herausfinden]]></title><description><![CDATA[<p>hi leute,<br />
ich habe folgende frage: wenn ich eine klasse habe, wie kann ich dann die basisklasse dynamisch herausfinden?</p>
<p>den eigenen typ habe ich mit RTTI herausgefunden:</p>
<p>typeid(&lt;mein typ&gt;).name();</p>
<p>wie ich aber auf die basisklasse zugriff habe, weiß ich nicht. irgendwo muss doch diese typinformation auch zu finden sein, oder?</p>
<p>lg s</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/142172/typ-der-basisklasse-dynamisch-herausfinden</link><generator>RSS for Node</generator><lastBuildDate>Tue, 01 Sep 2026 21:13:41 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/142172.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 28 Mar 2006 12:10:11 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to typ der basisklasse dynamisch herausfinden on Tue, 28 Mar 2006 12:10:11 GMT]]></title><description><![CDATA[<p>hi leute,<br />
ich habe folgende frage: wenn ich eine klasse habe, wie kann ich dann die basisklasse dynamisch herausfinden?</p>
<p>den eigenen typ habe ich mit RTTI herausgefunden:</p>
<p>typeid(&lt;mein typ&gt;).name();</p>
<p>wie ich aber auf die basisklasse zugriff habe, weiß ich nicht. irgendwo muss doch diese typinformation auch zu finden sein, oder?</p>
<p>lg s</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1025460</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1025460</guid><dc:creator><![CDATA[steininger]]></dc:creator><pubDate>Tue, 28 Mar 2006 12:10:11 GMT</pubDate></item><item><title><![CDATA[Reply to typ der basisklasse dynamisch herausfinden on Tue, 28 Mar 2006 13:25:54 GMT]]></title><description><![CDATA[<p>Das geht IMHO in C++ nicht. Wofür sollte das notwendig sein?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1025530</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1025530</guid><dc:creator><![CDATA[LordJaxom]]></dc:creator><pubDate>Tue, 28 Mar 2006 13:25:54 GMT</pubDate></item><item><title><![CDATA[Reply to typ der basisklasse dynamisch herausfinden on Tue, 28 Mar 2006 13:33:01 GMT]]></title><description><![CDATA[<p>Wenn du an solch einen Punkt gekommen bist, hast du in deinem Projekt einen Designfehler begangen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1025541</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1025541</guid><dc:creator><![CDATA[BigBoomer]]></dc:creator><pubDate>Tue, 28 Mar 2006 13:33:01 GMT</pubDate></item><item><title><![CDATA[Reply to typ der basisklasse dynamisch herausfinden on Tue, 28 Mar 2006 14:22:59 GMT]]></title><description><![CDATA[<p>oder dein programmierprofessor will dir mit der hausübung ordentlich eine reinwürgen</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1025596</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1025596</guid><dc:creator><![CDATA[steininger]]></dc:creator><pubDate>Tue, 28 Mar 2006 14:22:59 GMT</pubDate></item><item><title><![CDATA[Reply to typ der basisklasse dynamisch herausfinden on Tue, 28 Mar 2006 17:44:06 GMT]]></title><description><![CDATA[<p>Wenn bekannt ist, was eine Basisklasse sein <em>könnte</em>, kannst du es mit vielen dynamic_casts machen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1025757</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1025757</guid><dc:creator><![CDATA[.filmor]]></dc:creator><pubDate>Tue, 28 Mar 2006 17:44:06 GMT</pubDate></item><item><title><![CDATA[Reply to typ der basisklasse dynamisch herausfinden on Fri, 31 Mar 2006 08:58:43 GMT]]></title><description><![CDATA[<p>ja, an das dachte ich auch schon. leider ist _nichts_ bekannt. ich müsste das folglich irgendwo auslesen, so wie den eigenen typ mit typeid oder so</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1027744</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1027744</guid><dc:creator><![CDATA[steininger]]></dc:creator><pubDate>Fri, 31 Mar 2006 08:58:43 GMT</pubDate></item><item><title><![CDATA[Reply to typ der basisklasse dynamisch herausfinden on Fri, 31 Mar 2006 09:03:57 GMT]]></title><description><![CDATA[<p>Verrate doch bitte mal, wozu du glaubst, das zu brauchen, und was du mit diesem Typ dann anstellen willst.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1027749</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1027749</guid><dc:creator><![CDATA[MFK]]></dc:creator><pubDate>Fri, 31 Mar 2006 09:03:57 GMT</pubDate></item><item><title><![CDATA[Reply to typ der basisklasse dynamisch herausfinden on Fri, 31 Mar 2006 09:21:44 GMT]]></title><description><![CDATA[<p>Wenn _nichts_ bekannt ist ist auch _nichts_ rauszukriegen. Jede Lösung würde auf Implementationsdetails eines bestimmten Compilers basieren. Das ist die Antwort die Du Deinem Prof geben kannst <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1027765</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1027765</guid><dc:creator><![CDATA[LordJaxom]]></dc:creator><pubDate>Fri, 31 Mar 2006 09:21:44 GMT</pubDate></item></channel></rss>