Sophie

Sophie

distrib > Fedora > 13 > i386 > by-pkgid > eebc325dc36bd6e3b09b9b45133e42f8 > files > 1881

HippoDraw-devel-docs-1.21.1-10.fc13.i686.rpm

<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>HippoDraw Class Library</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
<link rel="shortcut icon" href="hippoApp.ico">
</head><body>
<!-- Generated by Doxygen 1.6.2 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li><a href="dirs.html"><span>Directories</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
      <li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="dir_64d98773e28ad3a986be8bc9397e242e.html">qtxml</a>
  </div>
</div>
<div class="contents">
<h1>QtXmlNode.cxx</h1><a href="QtXmlNode_8cxx.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 
<a name="l00012"></a>00012 <span class="preprocessor">#include &quot;<a class="code" href="QtXmlNode_8h.html" title="hippodraw::QtXmlNode class interface">QtXmlNode.h</a>&quot;</span>
<a name="l00013"></a>00013 
<a name="l00014"></a>00014 <span class="preprocessor">#include &lt;cassert&gt;</span>
<a name="l00015"></a>00015 
<a name="l00016"></a>00016 <span class="keyword">using namespace </span>hippodraw;
<a name="l00017"></a>00017 
<a name="l00018"></a>00018 QtXmlNode::
<a name="l00019"></a><a class="code" href="classhippodraw_1_1QtXmlNode.html#a7a0318b12a8860979c63fc66197b1519">00019</a> QtXmlNode ( <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1QtXmlNode.html" title="An XML element using the Qt XML module.">QtXmlNode</a> &amp; )
<a name="l00020"></a>00020   : <a class="code" href="classhippodraw_1_1XmlNode.html" title="A pure virtual base class of XML node wrappers.">XmlNode</a> ()
<a name="l00021"></a>00021 {
<a name="l00022"></a>00022 }
<a name="l00023"></a>00023 
<a name="l00024"></a>00024 <a class="code" href="classhippodraw_1_1QtXmlNode.html#a4bd9ebe382836328706592dead0d76fa" title="The default constructor.">QtXmlNode::</a>
<a name="l00025"></a><a class="code" href="classhippodraw_1_1QtXmlNode.html#a4bd9ebe382836328706592dead0d76fa">00025</a> <a class="code" href="classhippodraw_1_1QtXmlNode.html#a4bd9ebe382836328706592dead0d76fa" title="The default constructor.">QtXmlNode</a> ()
<a name="l00026"></a>00026 {
<a name="l00027"></a>00027 }
<a name="l00028"></a>00028 
<a name="l00029"></a>00029 <a class="code" href="classhippodraw_1_1QtXmlNode.html#a25846ec41adbfb561c2dc789bc926bfc" title="The destructor.">QtXmlNode::</a>
<a name="l00030"></a><a class="code" href="classhippodraw_1_1QtXmlNode.html#a25846ec41adbfb561c2dc789bc926bfc">00030</a> <a class="code" href="classhippodraw_1_1QtXmlNode.html#a25846ec41adbfb561c2dc789bc926bfc" title="The destructor.">~QtXmlNode</a> ()
<a name="l00031"></a>00031 {
<a name="l00032"></a>00032 }
<a name="l00033"></a>00033 
<a name="l00034"></a><a class="code" href="classhippodraw_1_1QtXmlNode.html#a52f8c3c54ebd2a7275b144047b557900">00034</a> <span class="keywordtype">void</span> <a class="code" href="classhippodraw_1_1QtXmlNode.html#a52f8c3c54ebd2a7275b144047b557900" title="Appends a child element to the element.">QtXmlNode::appendChild</a> ( <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1XmlNode.html" title="A pure virtual base class of XML node wrappers.">XmlNode</a> &amp; child )
<a name="l00035"></a>00035 {
<a name="l00036"></a>00036   <span class="keywordflow">try</span> {
<a name="l00037"></a>00037     <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1QtXmlNode.html" title="An XML element using the Qt XML module.">QtXmlNode</a> &amp; qtelem 
<a name="l00038"></a>00038       = dynamic_cast &lt; <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1QtXmlNode.html" title="An XML element using the Qt XML module.">QtXmlNode</a> &amp; &gt; ( child );
<a name="l00039"></a>00039     <a class="code" href="classhippodraw_1_1QtXmlNode.html#a19e4ffb1a3a4244a61e5d0db7f604d78" title="The DOM node wrapped by this object.">m_node</a>.<a class="codeRef" doxygen="qt.tag:http://doc.trolltech.com/3.3/" href="http://doc.trolltech.com/3.3/qdomnode.html#appendChild">appendChild</a> ( qtelem.<a class="code" href="classhippodraw_1_1QtXmlNode.html#a19e4ffb1a3a4244a61e5d0db7f604d78" title="The DOM node wrapped by this object.">m_node</a> );
<a name="l00040"></a>00040   }
<a name="l00041"></a>00041   <span class="keywordflow">catch</span> ( ... ) {
<a name="l00042"></a>00042     assert ( <span class="keyword">false</span> );
<a name="l00043"></a>00043   }
<a name="l00044"></a>00044 }
</pre></div></div>
<hr size="1"><address style="align: right;"><small>
Generated for HippoDraw Class Library by <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0>
</a> </small></address>
</body>
</html>