<?xml version='1.0' encoding='ISO-8859-1' standalone='yes'?>
<doxygen version="1.2.14">
  <compounddef id="misc_8h" kind="file">
    <compoundname>misc.h</compoundname>
    <includes id="classes_8h" local="yes">classes.h</includes>
    <includes id="DefaultTraits_8h" local="yes">DefaultTraits.h</includes>
    <includedby id="Attribute_8h" local="yes">Attribute.h</includedby>
    <includedby id="Node_8h" local="yes">Node.h</includedby>
    <includedby id="AttrMap_8h" local="yes">AttrMap.h</includedby>
    <includedby id="Comment_8h" local="yes">Comment.h</includedby>
    <includedby id="Document_8h" local="yes">Document.h</includedby>
    <includedby id="DOM__Exception_8h" local="yes">DOM_Exception.h</includedby>
    <includedby id="SAX__Parser_8h" local="yes">SAX_Parser.h</includedby>
    <includedby id="Tokenizer_8h" local="yes">Tokenizer.h</includedby>
    <includedby id="XMLToken_8h" local="yes">XMLToken.h</includedby>
    <includedby id="SAX__EventHandler_8h" local="yes">SAX_EventHandler.h</includedby>
    <includedby id="Element_8h" local="yes">Element.h</includedby>
    <includedby id="Functions_8h" local="yes">Functions.h</includedby>
    <includedby id="MiX_8h" local="yes">MiX.h</includedby>
    <includedby id="ParsingException_8h" local="yes">ParsingException.h</includedby>
    <includedby id="Text_8h" local="yes">Text.h</includedby>
    <incdepgraph>
      <node id="223">
        <label>DefaultTraits.h</label>
        <link id="DefaultTraits_8h"/>
        <childnode id="220" relation="public-inheritance">
        </childnode>
      </node>
      <node id="222">
        <label>string</label>
      </node>
      <node id="220">
        <label>classes.h</label>
        <link id="classes_8h"/>
        <childnode id="221" relation="public-inheritance">
        </childnode>
        <childnode id="222" relation="public-inheritance">
        </childnode>
      </node>
      <node id="219">
        <label>misc.h</label>
        <link id="misc.h"/>
        <childnode id="220" relation="public-inheritance">
        </childnode>
        <childnode id="223" relation="public-inheritance">
        </childnode>
      </node>
      <node id="221">
        <label>config.h</label>
        <link id="config_8h"/>
      </node>
    </incdepgraph>
    <invincdepgraph>
      <node id="233">
        <label>AttrMap.h</label>
        <link id="AttrMap_8h"/>
        <childnode id="234" relation="public-inheritance">
        </childnode>
        <childnode id="235" relation="public-inheritance">
        </childnode>
      </node>
      <node id="236">
        <label>DOM_Parser.h</label>
        <link id="DOM__Parser_8h"/>
        <childnode id="226" relation="public-inheritance">
        </childnode>
      </node>
      <node id="240">
        <label>XMLToken.h</label>
        <link id="XMLToken_8h"/>
        <childnode id="239" relation="public-inheritance">
        </childnode>
      </node>
      <node id="241">
        <label>Functions.h</label>
        <link id="Functions_8h"/>
      </node>
      <node id="239">
        <label>Tokenizer.h</label>
        <link id="Tokenizer_8h"/>
        <childnode id="235" relation="public-inheritance">
        </childnode>
        <childnode id="234" relation="public-inheritance">
        </childnode>
        <childnode id="226" relation="public-inheritance">
        </childnode>
      </node>
      <node id="231">
        <label>NodeContainer.h</label>
        <link id="NodeContainer_8h"/>
        <childnode id="232" relation="public-inheritance">
        </childnode>
        <childnode id="226" relation="public-inheritance">
        </childnode>
      </node>
      <node id="229">
        <label>Value.h</label>
        <link id="Value_8h"/>
        <childnode id="225" relation="public-inheritance">
        </childnode>
        <childnode id="230" relation="public-inheritance">
        </childnode>
        <childnode id="226" relation="public-inheritance">
        </childnode>
      </node>
      <node id="243">
        <label>Text.h</label>
        <link id="Text_8h"/>
        <childnode id="226" relation="public-inheritance">
        </childnode>
      </node>
      <node id="235">
        <label>SAX_Parser.h</label>
        <link id="SAX__Parser_8h"/>
        <childnode id="236" relation="public-inheritance">
        </childnode>
        <childnode id="226" relation="public-inheritance">
        </childnode>
      </node>
      <node id="242">
        <label>ParsingException.h</label>
        <link id="ParsingException_8h"/>
        <childnode id="226" relation="public-inheritance">
        </childnode>
      </node>
      <node id="226">
        <label>MiX.h</label>
        <link id="MiX_8h"/>
      </node>
      <node id="238">
        <label>DOM_Exception.h</label>
        <link id="DOM__Exception_8h"/>
        <childnode id="226" relation="public-inheritance">
        </childnode>
      </node>
      <node id="224">
        <label>misc.h</label>
        <link id="misc.h"/>
        <childnode id="225" relation="public-inheritance">
        </childnode>
        <childnode id="227" relation="public-inheritance">
        </childnode>
        <childnode id="233" relation="public-inheritance">
        </childnode>
        <childnode id="230" relation="public-inheritance">
        </childnode>
        <childnode id="237" relation="public-inheritance">
        </childnode>
        <childnode id="238" relation="public-inheritance">
        </childnode>
        <childnode id="235" relation="public-inheritance">
        </childnode>
        <childnode id="239" relation="public-inheritance">
        </childnode>
        <childnode id="240" relation="public-inheritance">
        </childnode>
        <childnode id="234" relation="public-inheritance">
        </childnode>
        <childnode id="232" relation="public-inheritance">
        </childnode>
        <childnode id="241" relation="public-inheritance">
        </childnode>
        <childnode id="226" relation="public-inheritance">
        </childnode>
        <childnode id="242" relation="public-inheritance">
        </childnode>
        <childnode id="243" relation="public-inheritance">
        </childnode>
      </node>
      <node id="227">
        <label>Node.h</label>
        <link id="Node_8h"/>
        <childnode id="228" relation="public-inheritance">
        </childnode>
        <childnode id="229" relation="public-inheritance">
        </childnode>
        <childnode id="231" relation="public-inheritance">
        </childnode>
        <childnode id="226" relation="public-inheritance">
        </childnode>
      </node>
      <node id="237">
        <label>Document.h</label>
        <link id="Document_8h"/>
        <childnode id="226" relation="public-inheritance">
        </childnode>
      </node>
      <node id="225">
        <label>Attribute.h</label>
        <link id="Attribute_8h"/>
        <childnode id="226" relation="public-inheritance">
        </childnode>
      </node>
      <node id="228">
        <label>NamedNode.h</label>
        <link id="NamedNode_8h"/>
        <childnode id="225" relation="public-inheritance">
        </childnode>
        <childnode id="226" relation="public-inheritance">
        </childnode>
      </node>
      <node id="234">
        <label>SAX_EventHandler.h</label>
        <link id="SAX__EventHandler_8h"/>
        <childnode id="235" relation="public-inheritance">
        </childnode>
      </node>
      <node id="232">
        <label>Element.h</label>
        <link id="Element_8h"/>
        <childnode id="226" relation="public-inheritance">
        </childnode>
      </node>
      <node id="230">
        <label>Comment.h</label>
        <link id="Comment_8h"/>
        <childnode id="226" relation="public-inheritance">
        </childnode>
      </node>
    </invincdepgraph>
    <innernamespace refid="namespaceMiX">MiX</innernamespace>
      <sectiondef kind="define">
      <memberdef kind="define" id="misc_8h_1a0" virt="normal" prot="public">
        <name>MiX_Template_Typedef</name>
        <param><defname>C</defname></param>
        <param><defname>T</defname></param>
        <param><defname>X</defname></param>
        <initializer>typedef C char_type; \
    typedef T char_traits_type; \
    typedef X xml_traits_type; \
    typedef Node&lt;C,T,X&gt; node_type; \
    typedef NodeContainer&lt;C,T,X&gt; nodecontainer_type; \
    typedef NamedNode&lt;C,T,X&gt; namednode_type; \
    typedef Value&lt;C,T,X&gt; value_type; \
    typedef Document&lt;C,T,X&gt; document_type; \
    typedef Element&lt;C,T,X&gt; element_type; \
    typedef Attribute&lt;C,T,X&gt; attribute_type; \
    typedef Text&lt;C,T,X&gt; text_type; \
    typedef Comment&lt;C,T,X&gt; comment_type; \
    typedef AttrMap&lt;C,T,X&gt; attrmap_type; \
    typedef XMLString&lt;C,T,X&gt; string_type; \
    typedef NodeList&lt;C,T,X&gt; nodelist_type; \
    typedef DOM_Exception&lt;C,T,X&gt; dom_exception_type</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <location file="/home/yotaro/prog/MiX-0.5.0/src/MiX/misc.h" line="79" bodystart="64" bodyend="-1"/>
      </memberdef>
      </sectiondef>
    <briefdescription>
    </briefdescription>
    <detaileddescription>
    </detaileddescription>
    <programlisting>
<linenumber line="1"/><codeline><highlight class="comment">// -*- mode: c++ -*-</highlight></codeline>
<linenumber line="2"/><codeline><highlight class="preprocessor">#ifndef MiX_MISC_H_</highlight></codeline>
<linenumber line="3"/><codeline><highlight class="preprocessor"></highlight><highlight class="preprocessor">#define MiX_MISC_H_</highlight></codeline>
<linenumber line="4"/><codeline><highlight class="preprocessor"></highlight></codeline>
<linenumber line="5"/><codeline><highlight class="comment">// Adlib/misc.h</highlight></codeline>
<linenumber line="6"/><codeline><highlight class="comment">// (C) Copyright KUBO,Yotaro.</highlight></codeline>
<linenumber line="7"/><codeline><highlight class="comment">// [バージョン履歴]</highlight></codeline>
<linenumber line="8"/><codeline><highlight class="comment">// 0.4.7</highlight></codeline>
<linenumber line="9"/><codeline><highlight class="comment">//   - 前バージョンのテンプレートパラメータの改悪を元に戻す</highlight></codeline>
<linenumber line="10"/><codeline><highlight class="comment">//   - IncludeGuardマクロ名の変更]</highlight></codeline>
<linenumber line="11"/><codeline></codeline>
<linenumber line="12"/><codeline></codeline>
<linenumber line="17"/><codeline><highlight class="preprocessor">#include &quot;<ref refid="classes_8h" kindref="compound">classes.h</ref>&quot;</highlight></codeline>
<linenumber line="18"/><codeline></codeline>
<linenumber line="19"/><codeline><highlight class="preprocessor">#include &quot;<ref refid="DefaultTraits_8h" kindref="compound">DefaultTraits.h</ref>&quot;</highlight></codeline>
<linenumber line="20"/><codeline></codeline>
<linenumber line="21"/><codeline><highlight class="keyword">namespace </highlight>MiX{</codeline>
<linenumber line="28"/><codeline>  <highlight class="keyword">enum</highlight> <ref refid="namespaceMiX_1a37" kindref="member">NodeType</ref>{</codeline>
<linenumber line="29"/><codeline>    <ref refid="namespaceMiX_1a37a0" kindref="member">Node_Document</ref> = 0x40,</codeline>
<linenumber line="30"/><codeline>    <ref refid="namespaceMiX_1a37a1" kindref="member">Node_Element</ref> = 0x60,</codeline>
<linenumber line="31"/><codeline>    <ref refid="namespaceMiX_1a37a2" kindref="member">Node_Attribute</ref> = 0x30,</codeline>
<linenumber line="32"/><codeline>    <ref refid="namespaceMiX_1a37a3" kindref="member">Node_Text</ref> = 0x10,</codeline>
<linenumber line="33"/><codeline>    <ref refid="namespaceMiX_1a37a4" kindref="member">Node_Comment</ref> = 0x11,</codeline>
<linenumber line="34"/><codeline>    <highlight class="comment">//以下の値は実際のノードには使用されない。</highlight></codeline>
<linenumber line="35"/><codeline>    <ref refid="namespaceMiX_1a37a5" kindref="member">Node_NodeContainer</ref> = 0x40,</codeline>
<linenumber line="36"/><codeline>    <ref refid="namespaceMiX_1a37a6" kindref="member">Node_NamedNode</ref> = 0x20,</codeline>
<linenumber line="37"/><codeline>    <ref refid="namespaceMiX_1a37a7" kindref="member">Node_Value</ref> = 0x10,</codeline>
<linenumber line="38"/><codeline>  };</codeline>
<linenumber line="39"/><codeline>  </codeline>
<linenumber line="41"/><codeline>  <highlight class="keyword">enum</highlight> <ref refid="namespaceMiX_1a38" kindref="member">ErrorType</ref>{</codeline>
<linenumber line="42"/><codeline>    <highlight class="comment">// for ParsingException</highlight></codeline>
<linenumber line="43"/><codeline>    <ref refid="namespaceMiX_1a38a8" kindref="member">UnexpectedToken</ref> = 0,</codeline>
<linenumber line="44"/><codeline>    <ref refid="namespaceMiX_1a38a9" kindref="member">XMLDeclarationNotFound</ref>,</codeline>
<linenumber line="45"/><codeline>    <ref refid="namespaceMiX_1a38a10" kindref="member">InternalError</ref>,</codeline>
<linenumber line="46"/><codeline>    <ref refid="namespaceMiX_1a38a11" kindref="member">UnexpectedEOD</ref>,</codeline>
<linenumber line="47"/><codeline>    <ref refid="namespaceMiX_1a38a12" kindref="member">InvalidHandler</ref>,</codeline>
<linenumber line="48"/><codeline>    <ref refid="namespaceMiX_1a38a13" kindref="member">InvalidDeclaration</ref>,</codeline>
<linenumber line="49"/><codeline>    <ref refid="namespaceMiX_1a38a14" kindref="member">MismatchTag</ref>,</codeline>
<linenumber line="50"/><codeline>    <highlight class="comment">// for DomException</highlight></codeline>
<linenumber line="51"/><codeline>    <ref refid="namespaceMiX_1a38a15" kindref="member">NullException</ref>,</codeline>
<linenumber line="52"/><codeline>    <ref refid="namespaceMiX_1a38a16" kindref="member">NodeNotFound</ref>,</codeline>
<linenumber line="53"/><codeline>    <ref refid="namespaceMiX_1a38a17" kindref="member">NodeDuplication</ref>,</codeline>
<linenumber line="54"/><codeline>    <ref refid="namespaceMiX_1a38a18" kindref="member">InvalidNodeFound</ref></codeline>
<linenumber line="55"/><codeline>  };</codeline>
<linenumber line="56"/><codeline></codeline>
<linenumber line="58"/><codeline>  <highlight class="keyword">template</highlight>&lt;<highlight class="keyword">class</highlight> <highlight class="keywordtype">char</highlight>T,<highlight class="keyword">class</highlight> traitsT&gt;</codeline>
<linenumber line="59"/><codeline>  <highlight class="keywordtype">void</highlight> <ref refid="namespaceMiX_1a35" kindref="member">insertIndent</ref>(<highlight class="keywordtype">int</highlight> i,XMLString&lt;charT,traitsT&gt;&amp; str,charT c){</codeline>
<linenumber line="60"/><codeline>    <highlight class="keywordflow">for</highlight>(<highlight class="keywordtype">int</highlight> j=0;j&lt;i;j++) str+=c;</codeline>
<linenumber line="61"/><codeline>  }</codeline>
<linenumber line="62"/><codeline></codeline>
<linenumber line="63"/><codeline></codeline>
<linenumber line="64" refid="misc_8h_1a0" kindref="member"/><codeline><highlight class="preprocessor">#define MiX_Template_Typedef(C,T,X) typedef C char_type; \</highlight></codeline>
<linenumber line="65"/><codeline><highlight class="preprocessor">    typedef T char_traits_type; \</highlight></codeline>
<linenumber line="66"/><codeline><highlight class="preprocessor">    typedef X xml_traits_type; \</highlight></codeline>
<linenumber line="67"/><codeline><highlight class="preprocessor">    typedef Node&lt;C,T,X&gt; node_type; \</highlight></codeline>
<linenumber line="68"/><codeline><highlight class="preprocessor">    typedef NodeContainer&lt;C,T,X&gt; nodecontainer_type; \</highlight></codeline>
<linenumber line="69"/><codeline><highlight class="preprocessor">    typedef NamedNode&lt;C,T,X&gt; namednode_type; \</highlight></codeline>
<linenumber line="70"/><codeline><highlight class="preprocessor">    typedef Value&lt;C,T,X&gt; value_type; \</highlight></codeline>
<linenumber line="71"/><codeline><highlight class="preprocessor">    typedef Document&lt;C,T,X&gt; document_type; \</highlight></codeline>
<linenumber line="72"/><codeline><highlight class="preprocessor">    typedef Element&lt;C,T,X&gt; element_type; \</highlight></codeline>
<linenumber line="73"/><codeline><highlight class="preprocessor">    typedef Attribute&lt;C,T,X&gt; attribute_type; \</highlight></codeline>
<linenumber line="74"/><codeline><highlight class="preprocessor">    typedef Text&lt;C,T,X&gt; text_type; \</highlight></codeline>
<linenumber line="75"/><codeline><highlight class="preprocessor">    typedef Comment&lt;C,T,X&gt; comment_type; \</highlight></codeline>
<linenumber line="76"/><codeline><highlight class="preprocessor">    typedef AttrMap&lt;C,T,X&gt; attrmap_type; \</highlight></codeline>
<linenumber line="77"/><codeline><highlight class="preprocessor">    typedef XMLString&lt;C,T,X&gt; string_type; \</highlight></codeline>
<linenumber line="78"/><codeline><highlight class="preprocessor">    typedef NodeList&lt;C,T,X&gt; nodelist_type; \</highlight></codeline>
<linenumber line="79"/><codeline><highlight class="preprocessor">    typedef DOM_Exception&lt;C,T,X&gt; dom_exception_type</highlight></codeline>
<linenumber line="80"/><codeline><highlight class="preprocessor"></highlight>}</codeline>
<linenumber line="81"/><codeline></codeline>
<linenumber line="82"/><codeline><highlight class="preprocessor">#endif</highlight></codeline>
    </programlisting>
    <location file="/home/yotaro/prog/MiX-0.5.0/src/MiX/misc.h"/>
  </compounddef>
</doxygen>
