<?xml version='1.0' encoding='ISO-8859-1' standalone='yes'?>
<doxygen version="1.2.14">
  <compounddef id="Element_8h" kind="file">
    <compoundname>Element.h</compoundname>
    <includes id="classes_8h" local="yes">classes.h</includes>
    <includes id="misc_8h" local="yes">misc.h</includes>
    <includes id="NodeContainer_8h" local="yes">NodeContainer.h</includes>
    <includes local="yes">extern/noncopyable.hpp</includes>
    <includes local="yes">Element.cpp</includes>
    <includedby id="MiX_8h" local="yes">MiX.h</includedby>
    <incdepgraph>
      <node id="199">
        <label>list</label>
      </node>
      <node id="204">
        <label>NodeContainer.cpp</label>
      </node>
      <node id="198">
        <label>NodeList.h</label>
        <link id="NodeList_8h"/>
        <childnode id="192" relation="public-inheritance">
        </childnode>
        <childnode id="199" relation="public-inheritance">
        </childnode>
      </node>
      <node id="201">
        <label>DefaultXMLTraits.h</label>
        <link id="DefaultXMLTraits_8h"/>
        <childnode id="194" relation="public-inheritance">
        </childnode>
        <childnode id="193" relation="public-inheritance">
        </childnode>
        <childnode id="202" relation="public-inheritance">
        </childnode>
      </node>
      <node id="196">
        <label>DefaultTraits.h</label>
        <link id="DefaultTraits_8h"/>
        <childnode id="192" relation="public-inheritance">
        </childnode>
      </node>
      <node id="194">
        <label>string</label>
      </node>
      <node id="197">
        <label>NodeContainer.h</label>
        <link id="NodeContainer_8h"/>
        <childnode id="198" relation="public-inheritance">
        </childnode>
        <childnode id="200" relation="public-inheritance">
        </childnode>
        <childnode id="204" relation="public-inheritance">
        </childnode>
      </node>
      <node id="206">
        <label>Element.cpp</label>
      </node>
      <node id="192">
        <label>classes.h</label>
        <link id="classes_8h"/>
        <childnode id="193" relation="public-inheritance">
        </childnode>
        <childnode id="194" relation="public-inheritance">
        </childnode>
      </node>
      <node id="202">
        <label>DefaultXMLTraits.cpp</label>
      </node>
      <node id="195">
        <label>misc.h</label>
        <link id="misc_8h"/>
        <childnode id="192" relation="public-inheritance">
        </childnode>
        <childnode id="196" relation="public-inheritance">
        </childnode>
      </node>
      <node id="200">
        <label>Node.h</label>
        <link id="Node_8h"/>
        <childnode id="192" relation="public-inheritance">
        </childnode>
        <childnode id="195" relation="public-inheritance">
        </childnode>
        <childnode id="201" relation="public-inheritance">
        </childnode>
        <childnode id="203" relation="public-inheritance">
        </childnode>
      </node>
      <node id="205">
        <label>extern/noncopyable.hpp</label>
      </node>
      <node id="203">
        <label>Node.cpp</label>
      </node>
      <node id="193">
        <label>config.h</label>
        <link id="config_8h"/>
      </node>
      <node id="191">
        <label>Element.h</label>
        <link id="Element.h"/>
        <childnode id="192" relation="public-inheritance">
        </childnode>
        <childnode id="195" relation="public-inheritance">
        </childnode>
        <childnode id="197" relation="public-inheritance">
        </childnode>
        <childnode id="205" relation="public-inheritance">
        </childnode>
        <childnode id="206" relation="public-inheritance">
        </childnode>
      </node>
    </incdepgraph>
    <invincdepgraph>
      <node id="208">
        <label>MiX.h</label>
        <link id="MiX_8h"/>
      </node>
      <node id="207">
        <label>Element.h</label>
        <link id="Element.h"/>
        <childnode id="208" relation="public-inheritance">
        </childnode>
      </node>
    </invincdepgraph>
    <innernamespace refid="namespaceMiX">MiX</innernamespace>
    <briefdescription>
    </briefdescription>
    <detaileddescription>
    </detaileddescription>
    <programlisting>
<linenumber line="1"/><codeline><highlight class="comment">// -*- mode: c++ -*-</highlight></codeline>
<linenumber line="2"/><codeline></codeline>
<linenumber line="3"/><codeline><highlight class="preprocessor">#ifndef MiX_ELEMENT_H_</highlight></codeline>
<linenumber line="4"/><codeline><highlight class="preprocessor"></highlight><highlight class="preprocessor">#define MiX_ELEMENT_H_</highlight></codeline>
<linenumber line="5"/><codeline><highlight class="preprocessor"></highlight></codeline>
<linenumber line="6"/><codeline><highlight class="preprocessor">#include &quot;<ref refid="classes_8h" kindref="compound">classes.h</ref>&quot;</highlight></codeline>
<linenumber line="7"/><codeline><highlight class="preprocessor">#include &quot;<ref refid="misc_8h" kindref="compound">misc.h</ref>&quot;</highlight></codeline>
<linenumber line="8"/><codeline><highlight class="preprocessor">#include &quot;<ref refid="NodeContainer_8h" kindref="compound">NodeContainer.h</ref>&quot;</highlight></codeline>
<linenumber line="9"/><codeline><highlight class="preprocessor">#include &quot;extern/noncopyable.hpp&quot;</highlight></codeline>
<linenumber line="10"/><codeline></codeline>
<linenumber line="11"/><codeline><highlight class="keyword">namespace </highlight>MiX{</codeline>
<linenumber line="12"/><codeline></codeline>
<linenumber line="13"/><codeline>  <highlight class="keyword">template</highlight> &lt;<highlight class="keyword">class</highlight> <highlight class="keywordtype">char</highlight>T,<highlight class="keyword">class</highlight> <highlight class="keywordtype">char</highlight>_traits,<highlight class="keyword">class</highlight> xml_traits&gt;</codeline>
<linenumber line="14" refid="classMiX_1_1Element" kindref="compound"/><codeline>  <highlight class="keyword">class </highlight>Element </codeline>
<linenumber line="15"/><codeline>    : boost::noncopyable,</codeline>
<linenumber line="16"/><codeline>      <highlight class="keyword">public</highlight> NodeContainer&lt;charT,char_traits,xml_traits&gt;, </codeline>
<linenumber line="17"/><codeline>      <highlight class="keyword">public</highlight> NamedNode&lt;charT,char_traits,xml_traits&gt;{</codeline>
<linenumber line="18"/><codeline>  <highlight class="keyword">public</highlight>:</codeline>
<linenumber line="19"/><codeline>    <ref refid="classMiX_1_1Element_1a0" kindref="member">MiX_Template_Typedef</ref>(charT,char_traits,xml_traits);</codeline>
<linenumber line="20" refid="classMiX_1_1Element_1s0" kindref="member"/><codeline>    <highlight class="keyword">typedef</highlight> Element&lt;charT,char_traits,xml_traits&gt; <ref refid="classMiX_1_1Element_1s0" kindref="member">this_type</ref>;</codeline>
<linenumber line="21" refid="classMiX_1_1Element_1s1" kindref="member"/><codeline>    <highlight class="keyword">typedef</highlight> <highlight class="keyword">typename</highlight> nodelist_type::iterator <ref refid="classMiX_1_1Element_1s1" kindref="member">nodelist_iter</ref>; </codeline>
<linenumber line="22"/><codeline>  <highlight class="keyword">private</highlight>:</codeline>
<linenumber line="23"/><codeline>    <highlight class="keyword">const</highlight> <highlight class="keyword">static</highlight> <highlight class="keyword">typename</highlight> nodelist_type::iterator dmy_it;</codeline>
<linenumber line="24"/><codeline>  <highlight class="keyword">protected</highlight>:</codeline>
<linenumber line="34" refid="classMiX_1_1Element_1b0" kindref="member"/><codeline>    <ref refid="classMiX_1_1Element_1b0" kindref="member">Element</ref>(<highlight class="keyword">const</highlight> string_type&amp; name)</codeline>
<linenumber line="35"/><codeline>      : <ref refid="classMiX_1_1NodeContainer_1b2" kindref="member">NodeContainer</ref>&lt;charT,char_traits,xml_traits&gt;(),</codeline>
<linenumber line="36"/><codeline>	<ref refid="classMiX_1_1NamedNode_1b0" kindref="member">NamedNode</ref>&lt;charT,char_traits,xml_traits&gt;(name){ };</codeline>
<linenumber line="37"/><codeline>  <highlight class="keyword">public</highlight>:</codeline>
<linenumber line="39" refid="classMiX_1_1Element_1a1" kindref="member"/><codeline>    <highlight class="keyword">virtual</highlight> <ref refid="classMiX_1_1Element_1a1" kindref="member">~Element</ref>()<highlight class="keywordflow">throw</highlight>(){ };</codeline>
<linenumber line="41" refid="classMiX_1_1Element_1a2" kindref="member"/><codeline>    <highlight class="keyword">virtual</highlight> <ref refid="namespaceMiX_1a37" kindref="member">NodeType</ref> <ref refid="classMiX_1_1Element_1a2" kindref="member">getType</ref>()<highlight class="keyword">const</highlight>{ <highlight class="keywordflow">return</highlight> <ref refid="namespaceMiX_1a37a1" kindref="member">Node_Element</ref>; };</codeline>
<linenumber line="47" refid="classMiX_1_1Element_1d0" kindref="member"/><codeline>    <highlight class="keyword">static</highlight> <ref refid="namespaceMiX_1a37" kindref="member">NodeType</ref> <ref refid="classMiX_1_1Element_1d0" kindref="member">type</ref>(){ <highlight class="keywordflow">return</highlight> <ref refid="namespaceMiX_1a37a1" kindref="member">Node_Element</ref>; };</codeline>
<linenumber line="54" refid="classMiX_1_1Element_1a3" kindref="member"/><codeline>    this_type&amp; <ref refid="classMiX_1_1Element_1a3" kindref="member">operator() </ref>(<highlight class="keyword">const</highlight> string_type&amp; name,<highlight class="keywordtype">int</highlight> index=0){</codeline>
<linenumber line="55"/><codeline>      <highlight class="keywordflow">return</highlight> <ref refid="classMiX_1_1NodeContainer_1a8" kindref="member">getElement</ref>(name,index);</codeline>
<linenumber line="56"/><codeline>    };</codeline>
<linenumber line="57" refid="classMiX_1_1Element_1a4" kindref="member"/><codeline>    this_type&amp; <ref refid="classMiX_1_1Element_1a3" kindref="member">operator() </ref>(<highlight class="keyword">const</highlight> string_type&amp; name,<highlight class="keyword">const</highlight> string_type&amp; ns,<highlight class="keywordtype">int</highlight> index=0){</codeline>
<linenumber line="58"/><codeline>      <highlight class="keywordflow">return</highlight> <ref refid="classMiX_1_1NodeContainer_1a8" kindref="member">getElement</ref>(name,ns,index);</codeline>
<linenumber line="59"/><codeline>    };</codeline>
<linenumber line="66" refid="classMiX_1_1Element_1a5" kindref="member"/><codeline>    attribute_type&amp; <ref refid="classMiX_1_1Element_1a5" kindref="member">operator[] </ref>(<highlight class="keyword">const</highlight> string_type&amp; name){</codeline>
<linenumber line="67"/><codeline>      <highlight class="keywordflow">return</highlight> <ref refid="classMiX_1_1NodeContainer_1a6" kindref="member">getAttribute</ref>(name);</codeline>
<linenumber line="68"/><codeline>    };</codeline>
<linenumber line="69" refid="classMiX_1_1Element_1a6" kindref="member"/><codeline>    attribute_type&amp; <ref refid="classMiX_1_1Element_1a5" kindref="member">operator[] </ref>(std::pair&lt;string_type,string_type&gt; p){</codeline>
<linenumber line="70"/><codeline>      <highlight class="keywordflow">return</highlight> <ref refid="classMiX_1_1NodeContainer_1a6" kindref="member">getAttribute</ref>(p.first,p.second);</codeline>
<linenumber line="71"/><codeline>    };</codeline>
<linenumber line="77"/><codeline>    <highlight class="keyword">virtual</highlight> string_type <ref refid="classMiX_1_1Element_1a7" kindref="member">toString</ref>(<highlight class="keywordtype">bool</highlight> is_indent=<highlight class="keyword">false</highlight>,<highlight class="keywordtype">int</highlight> indent_off=0)<highlight class="keyword">const</highlight>;</codeline>
<linenumber line="78"/><codeline></codeline>
<linenumber line="80"/><codeline>    string_type <ref refid="classMiX_1_1Element_1a8" kindref="member">getText</ref>()<highlight class="keyword">const</highlight>;</codeline>
<linenumber line="81"/><codeline></codeline>
<linenumber line="83"/><codeline>    <highlight class="keywordtype">void</highlight> <ref refid="classMiX_1_1Element_1a9" kindref="member">setText</ref>(<highlight class="keyword">const</highlight> XMLString&lt;charT,char_traits,xml_traits&gt;&amp; s);</codeline>
<linenumber line="84"/><codeline></codeline>
<linenumber line="85"/><codeline>    string_type <ref refid="classMiX_1_1Element_1a10" kindref="member">getFullName</ref>() <highlight class="keyword">const</highlight>;</codeline>
<linenumber line="92"/><codeline>    node_type&amp; <ref refid="classMiX_1_1Element_1a11" kindref="member">clone</ref>(<ref refid="classMiX_1_1Node_1s2" kindref="member">nodecontainer_type</ref>&amp; parent,<highlight class="keyword">const</highlight> <ref refid="classMiX_1_1Element_1s1" kindref="member">nodelist_iter</ref>&amp; it = dmy_it) <highlight class="keyword">const</highlight>;</codeline>
<linenumber line="100" refid="classMiX_1_1Element_1d1" kindref="member"/><codeline>    <highlight class="keyword">static</highlight> this_type&amp; <ref refid="classMiX_1_1Element_1d1" kindref="member">create</ref>(<highlight class="keyword">const</highlight> string_type&amp; name,this_type&amp; parent,<highlight class="keyword">const</highlight> <highlight class="keyword">typename</highlight> nodelist_type::iterator&amp; it = dmy_it)</codeline>
<linenumber line="101"/><codeline>      { <highlight class="keywordflow">return</highlight> this_type::create(name,string_type(),parent,it); }</codeline>
<linenumber line="110"/><codeline>    <highlight class="keyword">static</highlight> this_type&amp; <ref refid="classMiX_1_1Element_1d1" kindref="member">create</ref>(<highlight class="keyword">const</highlight> string_type&amp; name,<highlight class="keyword">const</highlight> string_type&amp; ns,this_type&amp; parent,<highlight class="keyword">const</highlight> <highlight class="keyword">typename</highlight> nodelist_type::iterator&amp; it = dmy_it);</codeline>
<linenumber line="111"/><codeline></codeline>
<linenumber line="112" refid="classMiX_1_1Element_1l0" kindref="member"/><codeline>    <highlight class="keyword">friend</highlight> <highlight class="keyword">class </highlight>DOM_Parser&lt;charT,char_traits,xml_traits&gt;;</codeline>
<linenumber line="113" refid="classMiX_1_1Element_1l1" kindref="member"/><codeline>    <highlight class="keyword">friend</highlight> <highlight class="keyword">class </highlight>Document&lt;charT,char_traits,xml_traits&gt;;</codeline>
<linenumber line="114"/><codeline>  };</codeline>
<linenumber line="115"/><codeline>}</codeline>
<linenumber line="116"/><codeline></codeline>
<linenumber line="117"/><codeline><highlight class="preprocessor">#ifndef MiX_ELEMENT_CPP_</highlight></codeline>
<linenumber line="118"/><codeline><highlight class="preprocessor"></highlight><highlight class="preprocessor">#include &quot;Element.cpp&quot;</highlight></codeline>
<linenumber line="119"/><codeline><highlight class="preprocessor">#endif</highlight></codeline>
<linenumber line="120"/><codeline><highlight class="preprocessor"></highlight></codeline>
<linenumber line="121"/><codeline><highlight class="preprocessor">#endif</highlight></codeline>
    </programlisting>
    <location file="/home/yotaro/prog/MiX-0.5.0/src/MiX/Element.h"/>
  </compounddef>
</doxygen>
